Home
last modified time | relevance | path

Searched refs:tail (Results 51 - 75 of 2250) sorted by relevance

12345678910>>...90

/kernel/linux/linux-5.10/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()
266 struct vidtv_psi_table_pat_program *tail = NULL; vidtv_channel_pat_prog_cat_into_new() local
317 struct vidtv_psi_table_pmt_stream *tail = NULL; vidtv_channel_pmt_match_sections() local
[all...]
/kernel/linux/linux-6.6/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()
266 struct vidtv_psi_table_pat_program *tail = NULL; vidtv_channel_pat_prog_cat_into_new() local
317 struct vidtv_psi_table_pmt_stream *tail = NULL; vidtv_channel_pmt_match_sections() local
[all...]
/third_party/skia/src/opts/
H A DSkRasterPipeline_opts.h143 SI void load2(const uint16_t* ptr, size_t tail, U16* r, U16* g) { in load2() argument
147 SI void store2(uint16_t* ptr, size_t tail, U16 r, U16 g) { in store2() argument
151 SI void load3(const uint16_t* ptr, size_t tail, U16* r, U16* g, U16* b) { in load3() argument
156 SI void load4(const uint16_t* ptr, size_t tail, U16* r, U16* g, U16* b, U16* a) { in load4() argument
162 SI void store4(uint16_t* ptr, size_t tail, U16 r, U16 g, U16 b, U16 a) { in store4() argument
169 SI void load2(const float* ptr, size_t tail, F* r, F* g) { in load2() argument
173 SI void store2(float* ptr, size_t tail, F r, F g) { in store2() argument
177 SI void load4(const float* ptr, size_t tail, F* r, F* g, F* b, F* a) { in load4() argument
183 SI void store4(float* ptr, size_t tail, F r, F g, F b, F a) { in store4() argument
242 SI void load2(const uint16_t* ptr, size_t tail, U1
1074 size_t dx, dy, tail; global() member
1154 load(const T* src, size_t tail) load() argument
[all...]
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Dinternal.h966 * timeout, sorted by timeout (earliest at the tail, most recently
967 * used connection at the head). MHD can just look at the tail of
970 * moved back to the tail of the list.
980 * sorted by timeout (earliest timeout at the tail).
1311 * Insert an element at the head of a DLL. Assumes that head, tail and
1315 * @param tail pointer to the tail of the DLL
1318 #define DLL_insert(head,tail,element) do { \
1323 if ((tail) == NULL) \
1324 (tail)
[all...]
/kernel/linux/linux-5.10/include/drm/
H A Dspsc_queue.h43 atomic_long_t tail; member
51 atomic_long_set(&queue->tail, (long)&queue->head); in spsc_queue_init()
67 struct spsc_node **tail; in spsc_queue_push() local
73 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next); in spsc_queue_push()
74 WRITE_ONCE(*tail, node); in spsc_queue_push()
85 return tail == &queue->head; in spsc_queue_push()
107 if (atomic_long_cmpxchg(&queue->tail, in spsc_queue_pop()
109 /* Updating tail failed wait for new next to appear */ in spsc_queue_pop()
/kernel/linux/linux-6.6/include/drm/
H A Dspsc_queue.h43 atomic_long_t tail; member
51 atomic_long_set(&queue->tail, (long)&queue->head); in spsc_queue_init()
67 struct spsc_node **tail; in spsc_queue_push() local
73 tail = (struct spsc_node **)atomic_long_xchg(&queue->tail, (long)&node->next); in spsc_queue_push()
74 WRITE_ONCE(*tail, node); in spsc_queue_push()
85 return tail == &queue->head; in spsc_queue_push()
107 if (atomic_long_cmpxchg(&queue->tail, in spsc_queue_pop()
109 /* Updating tail failed wait for new next to appear */ in spsc_queue_pop()
/kernel/linux/linux-5.10/net/sched/
H A Dsch_choke.c68 unsigned int tail; member
78 return (q->tail - q->head) & q->tab_mask; in choke_len()
98 if (q->head == q->tail) in choke_zap_head_holes()
103 /* Move tail pointer backwards to reuse holes */
107 q->tail = (q->tail - 1) & q->tab_mask; in choke_zap_tail_holes()
108 if (q->head == q->tail) in choke_zap_tail_holes()
110 } while (q->tab[q->tail] == NULL); in choke_zap_tail_holes()
124 if (idx == q->tail) in choke_drop_by_idx()
178 * Will return NULL if queue is empty (q->head == q->tail)
381 unsigned int oqlen = sch->q.qlen, tail = 0; choke_change() local
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_choke.c67 unsigned int tail; member
77 return (q->tail - q->head) & q->tab_mask; in choke_len()
97 if (q->head == q->tail) in choke_zap_head_holes()
102 /* Move tail pointer backwards to reuse holes */
106 q->tail = (q->tail - 1) & q->tab_mask; in choke_zap_tail_holes()
107 if (q->head == q->tail) in choke_zap_tail_holes()
109 } while (q->tab[q->tail] == NULL); in choke_zap_tail_holes()
123 if (idx == q->tail) in choke_drop_by_idx()
177 * Will return NULL if queue is empty (q->head == q->tail)
380 unsigned int oqlen = sch->q.qlen, tail = 0; choke_change() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_ring.h54 atomic_t prod_tail; /* Producer tail. */
89 const __u32 tail = atomic_read(&r->prod_tail); in pvrdma_idx_ring_has_space() local
92 if (pvrdma_idx_valid(tail, max_elems) && in pvrdma_idx_ring_has_space()
94 *out_tail = tail & (max_elems - 1); in pvrdma_idx_ring_has_space()
95 return tail != (head ^ max_elems); in pvrdma_idx_ring_has_space()
103 const __u32 tail = atomic_read(&r->prod_tail); in pvrdma_idx_ring_has_data() local
106 if (pvrdma_idx_valid(tail, max_elems) && in pvrdma_idx_ring_has_data()
109 return tail != head; in pvrdma_idx_ring_has_data()
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_ring.h54 atomic_t prod_tail; /* Producer tail. */
89 const __u32 tail = atomic_read(&r->prod_tail); in pvrdma_idx_ring_has_space() local
92 if (pvrdma_idx_valid(tail, max_elems) && in pvrdma_idx_ring_has_space()
94 *out_tail = tail & (max_elems - 1); in pvrdma_idx_ring_has_space()
95 return tail != (head ^ max_elems); in pvrdma_idx_ring_has_space()
103 const __u32 tail = atomic_read(&r->prod_tail); in pvrdma_idx_ring_has_data() local
106 if (pvrdma_idx_valid(tail, max_elems) && in pvrdma_idx_ring_has_data()
109 return tail != head; in pvrdma_idx_ring_has_data()
/third_party/libwebsockets/lib/system/smd/
H A Dsmd.c104 lwsl_info(" peer %d: %p: tail: %p, filt 0x%x\n", in lws_smd_dump()
105 n++, pr, pr->tail, pr->_class_filter); in lws_smd_dump()
173 if (xpr->tail == msg) { in _lws_smd_msg_destroy()
175 "we are about to destroy as tail", xpr, msg); in _lws_smd_msg_destroy()
236 * Any peer with no active tail needs to check our class to see if we in _lws_smd_msg_send()
237 * should become his tail in _lws_smd_msg_send()
244 !pr->tail && _lws_smd_msg_peer_interested_in_msg(pr, msg)) { in _lws_smd_msg_send()
245 pr->tail = msg; in _lws_smd_msg_send()
246 /* tail message has to actually be of interest to the peer */ in _lws_smd_msg_send()
247 assert(!pr->tail || (p in _lws_smd_msg_send()
495 lws_dll2_t *tail = &pr->tail->list; _lws_smd_msg_next_matching_filter() local
[all...]
/kernel/linux/linux-5.10/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 in _shift_data_left_tail()
357 struct kvec *tail = buf->tail; _shift_data_right_tail() local
522 struct kvec *head, *tail; xdr_shrink_bufhead() local
867 struct kvec *tail = buf->tail; xdr_truncate_encode() local
[all...]
/kernel/linux/linux-5.10/kernel/rcu/
H A Drcu_segcblist.c21 rclp->tail = &rclp->head; in rcu_cblist_init()
30 *rclp->tail = rhp; in rcu_cblist_enqueue()
31 rclp->tail = &rhp->next; in rcu_cblist_enqueue()
49 drclp->tail = srclp->tail; in rcu_cblist_flush_enqueue()
51 drclp->tail = &drclp->head; in rcu_cblist_flush_enqueue()
58 srclp->tail = &rhp->next; in rcu_cblist_flush_enqueue()
77 rclp->tail = &rclp->head; in rcu_cblist_dequeue()
310 *rclp->tail = rsclp->head; in rcu_segcblist_extract_done_cbs()
313 rclp->tail in rcu_segcblist_extract_done_cbs()
[all...]
/third_party/rust/crates/clap/src/
H A Dmacros.rs205 $($tail:tt)*
220 @arg (arg) $($tail)*
228 $($tail:tt)*
243 @arg (arg) $($tail)*
251 $($tail:tt)*
262 @arg (arg) $($tail)*
270 $($tail:tt)*
281 @arg (arg) $($tail)*
289 $($tail:tt)*
308 @arg (arg) $($tail)*
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dpipe_fs_i.h40 * @tail: The point of buffer consumption
62 unsigned int tail; member
146 * @tail: The pipe ring tail pointer
148 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty() argument
150 return head == tail; in pipe_empty()
156 * @tail: The pipe ring tail pointer
158 static inline unsigned int pipe_occupancy(unsigned int head, unsigned int tail) in pipe_occupancy() argument
160 return head - tail; in pipe_occupancy()
169 pipe_full(unsigned int head, unsigned int tail, unsigned int limit) pipe_full() argument
181 pipe_space_for_user(unsigned int head, unsigned int tail, struct pipe_inode_info *pipe) pipe_space_for_user() argument
[all...]
/kernel/linux/linux-6.6/net/sunrpc/
H A Dxdr.c179 const struct kvec *tail = xdr->tail; in xdr_buf_to_bvec() local
204 if (tail->iov_len) { in xdr_buf_to_bvec()
205 bvec_set_virt(bvec, tail->iov_base, tail->iov_len); in xdr_buf_to_bvec()
231 struct kvec *tail = xdr->tail; in xdr_inline_pages() local
241 tail->iov_base = buf + offset; in xdr_inline_pages()
242 tail->iov_len = buflen - offset; in xdr_inline_pages()
501 xdr_buf_iov_zero(buf->tail, pgbas in xdr_buf_pages_zero()
561 struct kvec *tail = buf->tail; xdr_buf_try_expand() local
588 const struct kvec *tail = buf->tail; xdr_buf_tail_copy_right() local
602 const struct kvec *tail = buf->tail; xdr_buf_pages_copy_right() local
636 const struct kvec *tail = buf->tail; xdr_buf_head_copy_right() local
682 const struct kvec *tail = buf->tail; xdr_buf_tail_shift_right() local
727 const struct kvec *tail = buf->tail; xdr_buf_tail_copy_left() local
1189 struct kvec *tail = buf->tail; xdr_truncate_encode() local
1294 struct kvec *tail = buf->tail; xdr_write_pages() local
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_scene.h100 struct cmd_block *tail; member
323 struct cmd_block *tail = bin->tail; in lp_scene_bin_command() local
329 if (tail == NULL || tail->count == CMD_BLOCK_MAX) { in lp_scene_bin_command()
330 tail = lp_scene_new_cmd_block(scene, bin); in lp_scene_bin_command()
331 if (!tail) { in lp_scene_bin_command()
334 assert(tail->count == 0); in lp_scene_bin_command()
338 unsigned i = tail->count; in lp_scene_bin_command()
339 tail in lp_scene_bin_command()
[all...]
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/
H A Dprotocol_lws_minimal.c36 uint32_t tail; member
62 * At least one guy with the oldest tail has lagged too far, filling in cull_lagging_clients()
70 if ((*ppss)->tail == oldest_tail) { in cull_lagging_clients()
115 &((*ppss)->tail)); in cull_lagging_clients()
132 struct per_session_data__minimal, &old_pss->tail, (size_t)(before - most), in cull_lagging_clients()
133 vhd->pss_list, tail, pss_list); in cull_lagging_clients()
187 pss->tail = lws_ring_get_oldest_tail(vhd->ring); in callback_minimal()
201 pmsg = lws_ring_get_element(vhd->ring, &pss->tail); in callback_minimal()
216 &pss->tail, /* tail o in callback_minimal()
[all...]
/third_party/skia/third_party/externals/freetype/builds/atari/
H A Ddeflinejoiner.awk90 tail, removed_length, k )
92 tail = substr( logical_line, pos )
93 sub( /^[ \t]+/, " ", tail )
94 removed_length = length( logical_line ) - pos - length( tail ) + 1
95 logical_line = substr( logical_line, 0, pos - 1 ) tail
121 tail = substr( logical_line, pos + removed_length )
122 logical_line = substr( logical_line, 0, pos - 1 ) tail
132 tail, paren_depth, junk, i, j, k, l )
136 tail = logical_line
137 sub( /^[ \t]*#[ \t]*define[ \t]+[0-9A-Za-z_]+/, "", tail )
[all...]
/kernel/linux/linux-5.10/net/rxrpc/
H A Dcall_accept.c47 unsigned int head, tail, call_head, call_tail; in rxrpc_service_prealloc_one() local
71 tail = READ_ONCE(b->peer_backlog_tail); in rxrpc_service_prealloc_one()
72 if (CIRC_CNT(head, tail, size) < max) { in rxrpc_service_prealloc_one()
82 tail = READ_ONCE(b->conn_backlog_tail); in rxrpc_service_prealloc_one()
83 if (CIRC_CNT(head, tail, size) < max) { in rxrpc_service_prealloc_one()
184 unsigned int size = RXRPC_BACKLOG_MAX, head, tail; in rxrpc_discard_prealloc() local
197 tail = b->peer_backlog_tail; in rxrpc_discard_prealloc()
198 while (CIRC_CNT(head, tail, size) > 0) { in rxrpc_discard_prealloc()
199 struct rxrpc_peer *peer = b->peer_backlog[tail]; in rxrpc_discard_prealloc()
202 tail in rxrpc_discard_prealloc()
[all...]
/kernel/linux/linux-6.6/net/rxrpc/
H A Dcall_accept.c46 unsigned int head, tail, call_head, call_tail; in rxrpc_service_prealloc_one() local
70 tail = READ_ONCE(b->peer_backlog_tail); in rxrpc_service_prealloc_one()
71 if (CIRC_CNT(head, tail, size) < max) { in rxrpc_service_prealloc_one()
83 tail = READ_ONCE(b->conn_backlog_tail); in rxrpc_service_prealloc_one()
84 if (CIRC_CNT(head, tail, size) < max) { in rxrpc_service_prealloc_one()
182 unsigned int size = RXRPC_BACKLOG_MAX, head, tail; in rxrpc_discard_prealloc() local
195 tail = b->peer_backlog_tail; in rxrpc_discard_prealloc()
196 while (CIRC_CNT(head, tail, size) > 0) { in rxrpc_discard_prealloc()
197 struct rxrpc_peer *peer = b->peer_backlog[tail]; in rxrpc_discard_prealloc()
200 tail in rxrpc_discard_prealloc()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
H A Dsrq.c179 u32 sz, size, n, head, tail; in rvt_modify_srq() local
211 * validate head and tail pointer values and compute in rvt_modify_srq()
217 tail = RDMA_READ_UAPI_ATOMIC(owq->tail); in rvt_modify_srq()
221 tail = okwq->tail; in rvt_modify_srq()
223 if (head >= srq->rq.size || tail >= srq->rq.size) { in rvt_modify_srq()
228 if (n < tail) in rvt_modify_srq()
229 n += srq->rq.size - tail; in rvt_modify_srq()
231 n -= tail; in rvt_modify_srq()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/
H A Dsrq.c137 u32 sz, size, n, head, tail; in rvt_modify_srq() local
169 * validate head and tail pointer values and compute in rvt_modify_srq()
175 tail = RDMA_READ_UAPI_ATOMIC(owq->tail); in rvt_modify_srq()
179 tail = okwq->tail; in rvt_modify_srq()
181 if (head >= srq->rq.size || tail >= srq->rq.size) { in rvt_modify_srq()
186 if (n < tail) in rvt_modify_srq()
187 n += srq->rq.size - tail; in rvt_modify_srq()
189 n -= tail; in rvt_modify_srq()
[all...]
/kernel/linux/linux-5.10/fs/
H A Dsplice.c186 unsigned int tail = pipe->tail; in splice_to_pipe() local
200 while (!pipe_full(head, tail, pipe->max_usage)) { in splice_to_pipe()
233 unsigned int tail = pipe->tail; in add_to_pipe() local
240 } else if (pipe_full(head, tail, pipe->max_usage)) { in add_to_pipe()
361 pipe_occupancy(pipe->head, pipe->tail) > 1) in pipe_to_sendpage()
400 unsigned int tail = pipe->tail; in splice_from_pipe_feed() local
404 while (!pipe_empty(head, tail)) { in splice_from_pipe_feed()
448 unsigned int tail = pipe->tail; eat_empty_buffer() local
640 unsigned int head, tail, mask; iter_file_splice_write() local
[all...]
/third_party/curl/lib/
H A Dbufq.c246 q->tail = NULL; in Curl_bufq_free()
259 q->tail = NULL; in Curl_bufq_reset()
276 if(q->tail) in Curl_bufq_space()
277 space += chunk_space(q->tail); in Curl_bufq_space()
298 if(!q->tail || q->spare) in Curl_bufq_is_full()
304 /* we have no spares and cannot make more, is the tail full? */ in Curl_bufq_is_full()
305 return chunk_is_full(q->tail); in Curl_bufq_is_full()
345 if(q->tail == chunk) in prune_head()
346 q->tail = q->head; in prune_head()
370 if(q->tail in get_non_full_tail()
391 struct buf_chunk *tail; Curl_bufq_write() local
579 struct buf_chunk *tail = NULL; Curl_bufq_sipn() local
[all...]

Completed in 27 milliseconds

12345678910>>...90