Home
last modified time | relevance | path

Searched full:tail (Results 1 – 25 of 2416) sorted by relevance

12345678910>>...97

/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Ddebug_private.h30 return (debug_data_ptr->head == debug_data_ptr->tail); in is_debug_buffer_empty()
56 if (remote_tail > debug_data_ptr->tail) { in debug_synch_queue()
57 size_t delta = remote_tail - debug_data_ptr->tail; in debug_synch_queue()
60 debug_data_ptr->tail * sizeof(uint32_t), in debug_synch_queue()
61 (void *)&debug_data_ptr->buf[debug_data_ptr->tail], delta * sizeof(uint32_t)); in debug_synch_queue()
62 } else if (remote_tail < debug_data_ptr->tail) { in debug_synch_queue()
63 size_t delta = DEBUG_BUF_SIZE - debug_data_ptr->tail; in debug_synch_queue()
66 debug_data_ptr->tail * sizeof(uint32_t), in debug_synch_queue()
67 (void *)&debug_data_ptr->buf[debug_data_ptr->tail], delta * sizeof(uint32_t)); in debug_synch_queue()
72 debug_data_ptr->tail = remote_tail; in debug_synch_queue()
[all …]
/OK3568_Linux_fs/u-boot/lib/
H A Dmembuff.c17 /* set mb->head and mb->tail so the buffers look empty */ in membuff_purge()
19 mb->tail = mb->start; in membuff_purge()
37 * if head is ahead of tail, we can write from head until the end of in membuff_putrawflex()
40 if (mb->head >= mb->tail) { in membuff_putrawflex()
51 * if the tail isn't at start of the buffer, then we can in membuff_putrawflex()
54 if ((maxlen < 0 || len < maxlen) && mb->tail != mb->start) { in membuff_putrawflex()
60 /* otherwise now we can write until head almost reaches tail */ in membuff_putrawflex()
63 len = mb->tail - mb->head - 1; in membuff_putrawflex()
107 * in this case head is ahead of tail, so we must return data between in membuff_getraw()
108 *'tail' and 'head' in membuff_getraw()
[all …]
H A Dlist_sort.c25 struct list_head head, *tail = &head; in merge() local
30 tail->next = a; in merge()
33 tail->next = b; in merge()
36 tail = tail->next; in merge()
38 tail->next = a?:b; in merge()
55 struct list_head *tail = head; in merge_and_restore_back_links() local
60 tail->next = a; in merge_and_restore_back_links()
61 a->prev = tail; in merge_and_restore_back_links()
64 tail->next = b; in merge_and_restore_back_links()
65 b->prev = tail; in merge_and_restore_back_links()
[all …]
/OK3568_Linux_fs/kernel/drivers/rpmsg/
H A Dqcom_glink_smem.c39 __le32 *tail; member
55 u32 tail; in glink_smem_rx_avail() local
71 tail = le32_to_cpu(*pipe->tail); in glink_smem_rx_avail()
73 if (head < tail) in glink_smem_rx_avail()
74 return pipe->native.length - tail + head; in glink_smem_rx_avail()
76 return head - tail; in glink_smem_rx_avail()
84 u32 tail; in glink_smem_rx_peak() local
86 tail = le32_to_cpu(*pipe->tail); in glink_smem_rx_peak()
87 tail += offset; in glink_smem_rx_peak()
88 if (tail >= pipe->native.length) in glink_smem_rx_peak()
[all …]
H A Dqcom_glink_rpm.c50 void __iomem *tail; member
60 unsigned int tail; in glink_rpm_rx_avail() local
63 tail = readl(pipe->tail); in glink_rpm_rx_avail()
65 if (head < tail) in glink_rpm_rx_avail()
66 return pipe->native.length - tail + head; in glink_rpm_rx_avail()
68 return head - tail; in glink_rpm_rx_avail()
75 unsigned int tail; in glink_rpm_rx_peak() local
78 tail = readl(pipe->tail); in glink_rpm_rx_peak()
79 tail += offset; in glink_rpm_rx_peak()
80 if (tail >= pipe->native.length) in glink_rpm_rx_peak()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/set/aux_/
H A Diterator.hpp30 template< typename Set, typename Tail > struct s_iter;
32 template< typename Set, typename Tail > struct s_iter_get
34 has_key< Set,typename Tail::item_type_ >
35 , identity< s_iter<Set,Tail> >
36 , next< s_iter<Set,Tail> >
41 template< typename Set, typename Tail > struct s_iter_impl
43 typedef Tail tail_;
45 typedef typename Tail::item_type_ type;
48 typedef typename s_iter_get< Set,typename Tail::base >::type next;
54 template< typename Set, typename Tail >
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dperf_callchain.c20 * next frame tail.
23 user_backtrace(struct frame_tail __user *tail, in user_backtrace() argument
31 if (!access_ok(tail, sizeof(buftail))) in user_backtrace()
35 err = __copy_from_user_inatomic(&buftail, tail, sizeof(buftail)); in user_backtrace()
49 if (tail >= buftail.fp) in user_backtrace()
71 compat_user_backtrace(struct compat_frame_tail __user *tail, in compat_user_backtrace() argument
78 if (!access_ok(tail, sizeof(buftail))) in compat_user_backtrace()
82 err = __copy_from_user_inatomic(&buftail, tail, sizeof(buftail)); in compat_user_backtrace()
94 if (tail + 1 >= (struct compat_frame_tail __user *) in compat_user_backtrace()
116 struct frame_tail __user *tail; in perf_callchain_user() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_mbx.c17 fifo->tail = 0; in fm10k_fifo_init()
28 return fifo->tail - fifo->head; in fm10k_fifo_used()
39 return fifo->size + fifo->head - fifo->tail; in fm10k_fifo_unused()
50 return fifo->head == fifo->tail; in fm10k_fifo_empty()
66 * fm10k_fifo_tail_offset - returns indices of tail with given offset
68 * @offset: offset to add to tail
70 * This function returns the indices into the FIFO based on tail + offset
74 return (fifo->tail + offset) & (fifo->size - 1); in fm10k_fifo_tail_offset()
120 fifo->head = fifo->tail; in fm10k_fifo_drop_all()
124 * fm10k_mbx_index_len - Convert a head/tail index into a length value
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dintel_ring.h27 void intel_ring_reset(struct intel_ring *ring, u32 tail);
90 assert_ring_tail_valid(const struct intel_ring *ring, unsigned int tail) in assert_ring_tail_valid() argument
94 GEM_BUG_ON(!intel_ring_offset_valid(ring, tail)); in assert_ring_tail_valid()
101 * "If the Ring Buffer Head Pointer and the Tail Pointer are on the in assert_ring_tail_valid()
102 * same cacheline, the Head Pointer must not be greater than the Tail in assert_ring_tail_valid()
111 GEM_BUG_ON(cacheline(tail) == cacheline(head) && tail < head); in assert_ring_tail_valid()
116 intel_ring_set_tail(struct intel_ring *ring, unsigned int tail) in intel_ring_set_tail() argument
118 /* Whilst writes to the tail are strictly order, there is no in intel_ring_set_tail()
119 * serialisation between readers and the writers. The tail may be in intel_ring_set_tail()
124 assert_ring_tail_valid(ring, tail); in intel_ring_set_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rdmavt/
H A Dcq.c76 u32 tail; in rvt_cq_enter() local
84 tail = RDMA_READ_UAPI_ATOMIC(u_wc->tail); in rvt_cq_enter()
89 tail = k_wc->tail; in rvt_cq_enter()
103 if (unlikely(next == tail || cq->cq_full)) { in rvt_cq_enter()
225 * Allocate the completion queue entries and head/tail pointers. in rvt_create_cq()
361 RDMA_READ_UAPI_ATOMIC(cq->queue->tail)) in rvt_req_notify_cq()
364 if (cq->kqueue->head != cq->kqueue->tail) in rvt_req_notify_cq()
383 u32 head, tail, n; in rvt_resize_cq() local
422 * Make sure head and tail are sane since they in rvt_resize_cq()
428 tail = RDMA_READ_UAPI_ATOMIC(old_u_wc->tail); in rvt_resize_cq()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/
H A D0001-use-uint32t-for-reply-queue-head-tail-values.patch4 Subject: [PATCH] hw/scsi/megasas: Use uint32_t for reply queue head/tail
23 of the value to access, it is simpler to have the head/tail declared
62 …nt queue_len, uint64_t head, uint64_t tail, uint32_t flags) "queue at 0x%" PRIx64 " len %d head 0x…
63 …nt queue_len, uint32_t head, uint32_t tail, uint32_t flags) "queue at 0x%" PRIx64 " len %d head 0x…
70 …ontext, unsigned int head, unsigned int tail, int busy) "frame 0x%x count %d context 0x%" PRIx64 "…
71 -megasas_qf_update(unsigned int head, unsigned int tail, unsigned int busy) "head 0x%x tail 0x%x bu…
72 …ntext, uint32_t head, uint32_t tail, unsigned int busy) "frame 0x%x count %d context 0x%" PRIx64 "…
73 +megasas_qf_update(uint32_t head, uint32_t tail, unsigned int busy) "head 0x%" PRIx32 " tail 0x%" P…
76 …uint64_t context, unsigned int head, unsigned int tail, int busy) "context 0x%" PRIx64 " head 0x%x…
77 …te(uint64_t context, uint32_t head, uint32_t tail, int busy) "context 0x%" PRIx64 " head 0x%" PRIx…
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dqspinlock.c44 * In particular; where the traditional MCS lock consists of a tail pointer
46 * unlock the next pending (next->locked), we compress both these: {tail,
52 * we can encode the tail by combining the 2-bit nesting level with the cpu
53 * number. With one byte for the lock value and 3 bytes for the tail, only a
111 * We must be able to distinguish between no-tail and the tail at 0:0,
117 u32 tail; in encode_tail() local
119 tail = (cpu + 1) << _Q_TAIL_CPU_OFFSET; in encode_tail()
120 tail |= idx << _Q_TAIL_IDX_OFFSET; /* assume < 4 */ in encode_tail()
122 return tail; in encode_tail()
125 static inline __pure struct mcs_spinlock *decode_tail(u32 tail) in decode_tail() argument
[all …]
/OK3568_Linux_fs/kernel/Documentation/trace/
H A Dring-buffer-design.rst21 tail
191 It is possible that the page swapped is the commit page and the tail page,
196 reader page commit page tail page
227 tail page
253 +---------+ <--- tail pointer
278 +---------+ <--- tail pointer
291 +---------+ <--- tail pointer
302 +---------+ <--(last full commit and tail pointer)
311 The tail page points to the page with the last write (before
314 The tail page is always equal to or after the commit page. It may
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dcirc_buf.h12 int tail; member
16 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument
19 as a completely full buffer has head == tail, which is the same as
21 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument
24 accessing head and tail more than once, so they can change
26 #define CIRC_CNT_TO_END(head,tail,size) \ argument
27 ({int end = (size) - (tail); \
32 #define CIRC_SPACE_TO_END(head,tail,size) \ argument
34 int n = (end + (tail)) & ((size)-1); \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dhnd_pktq.c70 PKTSETLINK(q->tail, p); in BCMFASTPATH()
74 q->tail = p; in BCMFASTPATH()
107 PKTSETLINK(OSL_PHYS_TO_VIRT_ADDR(dq->tail), OSL_VIRT_TO_PHYS_ADDR(sq->head)); in BCMFASTPATH()
113 dq->tail = sq->tail; in BCMFASTPATH()
146 PKTSETLINK(q->tail, p); in BCMFASTPATH()
150 q->tail = p; in BCMFASTPATH()
178 q->tail = p; in BCMPOSTTRAPFASTPATH()
212 q->tail = p; in BCMFASTPATH()
243 q->tail = NULL; in BCMFASTPATH()
279 q->tail = NULL; in BCMFASTPATH()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dhnd_pktq.c70 PKTSETLINK(q->tail, p); in BCMFASTPATH()
74 q->tail = p; in BCMFASTPATH()
107 PKTSETLINK(OSL_PHYS_TO_VIRT_ADDR(dq->tail), OSL_VIRT_TO_PHYS_ADDR(sq->head)); in BCMFASTPATH()
113 dq->tail = sq->tail; in BCMFASTPATH()
146 PKTSETLINK(q->tail, p); in BCMFASTPATH()
150 q->tail = p; in BCMFASTPATH()
178 q->tail = p; in BCMPOSTTRAPFASTPATH()
212 q->tail = p; in BCMFASTPATH()
243 q->tail = NULL; in BCMFASTPATH()
279 q->tail = NULL; in BCMFASTPATH()
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Dlist_sort.c22 struct list_head *head, **tail = &head; in merge() local
27 *tail = a; in merge()
28 tail = &a->next; in merge()
31 *tail = b; in merge()
35 *tail = b; in merge()
36 tail = &b->next; in merge()
39 *tail = a; in merge()
58 struct list_head *tail = head; in merge_final() local
64 tail->next = a; in merge_final()
65 a->prev = tail; in merge_final()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireguard/
H A Dqueueing.c55 queue->head = queue->tail = STUB(queue); in wg_prev_queue_init()
81 struct sk_buff *tail = queue->tail, *next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue() local
83 if (tail == STUB(queue)) { in wg_prev_queue_dequeue()
86 queue->tail = next; in wg_prev_queue_dequeue()
87 tail = next; in wg_prev_queue_dequeue()
91 queue->tail = next; in wg_prev_queue_dequeue()
93 return tail; in wg_prev_queue_dequeue()
95 if (tail != READ_ONCE(queue->head)) in wg_prev_queue_dequeue()
98 next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue()
100 queue->tail = next; in wg_prev_queue_dequeue()
[all …]
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Dxdr.c184 struct kvec *tail = xdr->tail; in xdr_inline_pages() local
194 tail->iov_base = buf + offset; in xdr_inline_pages()
195 tail->iov_len = buflen - offset; in xdr_inline_pages()
197 tail->iov_len -= sizeof(__be32); in xdr_inline_pages()
272 struct kvec *tail = buf->tail; in _shift_data_left_tail() local
274 if (len > tail->iov_len) in _shift_data_left_tail()
275 len = tail->iov_len; in _shift_data_left_tail()
279 (char *)tail->iov_base, in _shift_data_left_tail()
281 tail->iov_len -= len; in _shift_data_left_tail()
283 if (tail->iov_len > 0) in _shift_data_left_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dhnd_pktq.c78 PKTSETLINK(q->tail, p); in pktq_penq()
82 q->tail = p; in pktq_penq()
116 PKTSETLINK(q->tail, p); in spktq_enq()
120 q->tail = p; in spktq_enq()
148 q->tail = p; in pktq_penq_head()
182 q->tail = p; in spktq_enq_head()
213 q->tail = NULL; in pktq_pdeq()
249 q->tail = NULL; in spktq_deq()
284 for (prev = NULL; p != q->tail; p = PKTLINK(p)) in pktq_pdeq_tail()
292 q->tail = prev; in pktq_pdeq_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dhnd_pktq.c78 PKTSETLINK(q->tail, p); in pktq_penq()
82 q->tail = p; in pktq_penq()
116 PKTSETLINK(q->tail, p); in spktq_enq()
120 q->tail = p; in spktq_enq()
148 q->tail = p; in pktq_penq_head()
182 q->tail = p; in spktq_enq_head()
213 q->tail = NULL; in pktq_pdeq()
249 q->tail = NULL; in spktq_deq()
284 for (prev = NULL; p != q->tail; p = PKTLINK(p)) in pktq_pdeq_tail()
292 q->tail = prev; in pktq_pdeq_tail()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dhnd_pktq.c78 PKTSETLINK(q->tail, p); in pktq_penq()
82 q->tail = p; in pktq_penq()
116 PKTSETLINK(q->tail, p); in spktq_enq()
120 q->tail = p; in spktq_enq()
148 q->tail = p; in pktq_penq_head()
182 q->tail = p; in spktq_enq_head()
213 q->tail = NULL; in pktq_pdeq()
249 q->tail = NULL; in spktq_deq()
284 for (prev = NULL; p != q->tail; p = PKTLINK(p)) in pktq_pdeq_tail()
292 q->tail = prev; in pktq_pdeq_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vidtv/
H A Dvidtv_channel.c165 struct vidtv_psi_table_eit_event *tail = NULL; in vidtv_channel_eit_event_cat_into_new() local
182 tail = vidtv_psi_eit_event_init(tail, event_id); in vidtv_channel_eit_event_cat_into_new()
183 if (!tail) { in vidtv_channel_eit_event_cat_into_new()
189 vidtv_psi_desc_assign(&tail->descriptor, desc); in vidtv_channel_eit_event_cat_into_new()
192 head = tail; in vidtv_channel_eit_event_cat_into_new()
211 struct vidtv_psi_table_sdt_service *tail = NULL; in vidtv_channel_sdt_serv_cat_into_new() local
229 tail = vidtv_psi_sdt_service_init(tail, in vidtv_channel_sdt_serv_cat_into_new()
233 if (!tail) in vidtv_channel_sdt_serv_cat_into_new()
239 vidtv_psi_desc_assign(&tail->descriptor, desc); in vidtv_channel_sdt_serv_cat_into_new()
242 head = tail; in vidtv_channel_sdt_serv_cat_into_new()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/
H A DTail-Call-Frames.html17 <title>Debugging with GDB: Tail Call Frames</title>
19 <meta name="description" content="Debugging with GDB: Tail Call Frames">
20 <meta name="keywords" content="Debugging with GDB: Tail Call Frames">
64 <a name="Tail-Call-Frames"></a>
70 <a name="Tail-Call-Frames-1"></a>
71 <h3 class="section">11.2 Tail Call Frames</h3>
72 <a name="index-tail-call-frames_002c-debugging"></a>
78 instead. Such use of a jump instruction is called <em>tail call</em>.
81 function call stack frames that it was tail-called from <code>B</code>. If function
82 <code>A</code> regularly calls function <code>B</code> which tail-calls function <code>C</code>,
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/
H A DTail-Call-Frames.html17 <title>Debugging with GDB: Tail Call Frames</title>
19 <meta name="description" content="Debugging with GDB: Tail Call Frames">
20 <meta name="keywords" content="Debugging with GDB: Tail Call Frames">
64 <a name="Tail-Call-Frames"></a>
70 <a name="Tail-Call-Frames-1"></a>
71 <h3 class="section">11.2 Tail Call Frames</h3>
72 <a name="index-tail-call-frames_002c-debugging"></a>
78 instead. Such use of a jump instruction is called <em>tail call</em>.
81 function call stack frames that it was tail-called from <code>B</code>. If function
82 <code>A</code> regularly calls function <code>B</code> which tail-calls function <code>C</code>,
[all …]

12345678910>>...97