/kernel/linux/linux-6.6/net/tipc/ |
H A D | msg.c | 121 * out: head buf after successful complete reassembly, otherwise NULL 126 struct sk_buff *head = *headbuf; in tipc_buf_append() local 143 if (unlikely(head)) in tipc_buf_append() 151 head = *headbuf = frag; in tipc_buf_append() 152 TIPC_SKB_CB(head)->tail = NULL; in tipc_buf_append() 156 if (!head) in tipc_buf_append() 159 if (skb_try_coalesce(head, frag, &headstolen, &delta)) { in tipc_buf_append() 162 tail = TIPC_SKB_CB(head)->tail; in tipc_buf_append() 163 if (!skb_has_frag_list(head)) in tipc_buf_append() 164 skb_shinfo(head) in tipc_buf_append() 764 struct sk_buff *head = NULL; tipc_msg_reassemble() local [all...] |
/kernel/linux/linux-6.6/arch/arm64/include/uapi/asm/ |
H A D | sigcontext.h | 78 struct _aarch64_ctx head; member 97 struct _aarch64_ctx head; member 130 struct _aarch64_ctx head; member 139 struct _aarch64_ctx head; member 151 struct _aarch64_ctx head; member 158 struct _aarch64_ctx head; member 166 struct _aarch64_ctx head; member 200 * sve_context.head.size >= 204 * If sve_context.head.size < 292 * za_context.head [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | basenv50.c | 25 #include "head.h" 43 int head, ret = -ENOSYS; in nv50_disp_base_new_() local 49 "pushbuf %016llx head %d\n", in nv50_disp_base_new_() 50 args->v0.version, args->v0.pushbuf, args->v0.head); in nv50_disp_base_new_() 51 if (!nvkm_head_find(&disp->base, args->v0.head)) in nv50_disp_base_new_() 54 head = args->v0.head; in nv50_disp_base_new_() 58 return nv50_disp_dmac_new_(func, mthd, disp, chid + head, in nv50_disp_base_new_() 59 head, push, oclass, pobject); in nv50_disp_base_new_()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-set-digest.hh | 119 head.init (); in init() 125 head.add (g); in add() 131 head.add_range (a, b); in add_range() 138 head.add_array (array, count, stride); in add_array() 146 head.add_sorted_array (array, count, stride); in add_sorted_array() 155 return head.may_have (g) && tail.may_have (g); in may_have() 159 head_t head; member
|
/kernel/linux/linux-5.10/drivers/iio/buffer/ |
H A D | industrialio-hw-consumer.c | 19 * @buffers: hardware buffers list head. 28 struct list_head head; member 58 list_for_each_entry(buf, &hwc->buffers, head) { in iio_hw_consumer_get_buffer() 72 list_add_tail(&buf->head, &hwc->buffers); in iio_hw_consumer_get_buffer() 116 list_for_each_entry(buf, &hwc->buffers, head) in iio_hw_consumer_alloc() 134 list_for_each_entry_safe(buf, n, &hwc->buffers, head) in iio_hw_consumer_free() 186 list_for_each_entry(buf, &hwc->buffers, head) { in iio_hw_consumer_enable() 195 list_for_each_entry_continue_reverse(buf, &hwc->buffers, head) in iio_hw_consumer_enable() 209 list_for_each_entry(buf, &hwc->buffers, head) in iio_hw_consumer_disable()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | svcauth.c | 69 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate() 170 struct hlist_head *head; in auth_domain_lookup() local 172 head = &auth_domain_table[hash_str(name, DN_HASHBITS)]; in auth_domain_lookup() 176 hlist_for_each_entry(hp, head, hash) { in auth_domain_lookup() 184 hlist_add_head_rcu(&new->hash, head); in auth_domain_lookup() 193 struct hlist_head *head; in auth_domain_find() local 195 head = &auth_domain_table[hash_str(name, DN_HASHBITS)]; in auth_domain_find() 198 hlist_for_each_entry_rcu(hp, head, hash) { in auth_domain_find()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | nfs_page.h | 54 struct nfs_page *wb_head; /* head pointer for req list */ 147 extern int nfs_page_group_lock_subrequests(struct nfs_page *head); 148 extern void nfs_join_page_group(struct nfs_page *head, 170 * @head: head of list into which to insert the request. 173 nfs_list_add_request(struct nfs_page *req, struct list_head *head) in nfs_list_add_request() argument 175 list_add_tail(&req->wb_list, head); in nfs_list_add_request() 181 * @head: head of list into which to insert the request. 184 nfs_list_move_request(struct nfs_page *req, struct list_head *head) in nfs_list_move_request() argument 202 nfs_list_entry(struct list_head *head) nfs_list_entry() argument [all...] |
H A D | posix-timers.h | 66 * @head: timerqueue head on which this timer is queued 68 * @elist: List head for the expiry list 74 struct timerqueue_head *head; member 81 static inline bool cpu_timer_enqueue(struct timerqueue_head *head, in cpu_timer_enqueue() argument 84 ctmr->head = head; in cpu_timer_enqueue() 85 return timerqueue_add(head, &ctmr->node); in cpu_timer_enqueue() 90 if (ctmr->head) { in cpu_timer_dequeue() 91 timerqueue_del(ctmr->head, in cpu_timer_dequeue() [all...] |
/kernel/linux/linux-5.10/sound/isa/msnd/ |
H A D | msnd_midi.c | 108 u16 head, tail, size; in snd_msndmidi_input_read() local 111 head = readw(mpu->dev->MIDQ + JQS_wHead); in snd_msndmidi_input_read() 114 if (head > size || tail > size) in snd_msndmidi_input_read() 116 while (head != tail) { in snd_msndmidi_input_read() 117 unsigned char val = readw(pwMIDQData + 2 * head); in snd_msndmidi_input_read() 121 if (++head > size) in snd_msndmidi_input_read() 122 head = 0; in snd_msndmidi_input_read() 123 writew(head, mpu->dev->MIDQ + JQS_wHead); in snd_msndmidi_input_read()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | posix-timers.h | 65 * @head: timerqueue head on which this timer is queued 67 * @elist: List head for the expiry list 73 struct timerqueue_head *head; member 80 static inline bool cpu_timer_enqueue(struct timerqueue_head *head, in cpu_timer_enqueue() argument 83 ctmr->head = head; in cpu_timer_enqueue() 84 return timerqueue_add(head, &ctmr->node); in cpu_timer_enqueue() 89 return !!ctmr->head; in cpu_timer_queued() 95 timerqueue_del(ctmr->head, in cpu_timer_dequeue() [all...] |
/kernel/linux/linux-6.6/drivers/iio/buffer/ |
H A D | industrialio-hw-consumer.c | 19 * @buffers: hardware buffers list head. 28 struct list_head head; member 57 list_for_each_entry(buf, &hwc->buffers, head) { in iio_hw_consumer_get_buffer() 72 list_add_tail(&buf->head, &hwc->buffers); in iio_hw_consumer_get_buffer() 116 list_for_each_entry(buf, &hwc->buffers, head) in iio_hw_consumer_alloc() 134 list_for_each_entry_safe(buf, n, &hwc->buffers, head) in iio_hw_consumer_free() 183 list_for_each_entry(buf, &hwc->buffers, head) { in iio_hw_consumer_enable() 192 list_for_each_entry_continue_reverse(buf, &hwc->buffers, head) in iio_hw_consumer_enable() 206 list_for_each_entry(buf, &hwc->buffers, head) in iio_hw_consumer_disable()
|
/kernel/linux/linux-6.6/sound/isa/msnd/ |
H A D | msnd_midi.c | 108 u16 head, tail, size; in snd_msndmidi_input_read() local 111 head = readw(mpu->dev->MIDQ + JQS_wHead); in snd_msndmidi_input_read() 114 if (head > size || tail > size) in snd_msndmidi_input_read() 116 while (head != tail) { in snd_msndmidi_input_read() 117 unsigned char val = readw(pwMIDQData + 2 * head); in snd_msndmidi_input_read() 121 if (++head > size) in snd_msndmidi_input_read() 122 head = 0; in snd_msndmidi_input_read() 123 writew(head, mpu->dev->MIDQ + JQS_wHead); in snd_msndmidi_input_read()
|
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | dxil_internal.h | 72 struct list_head head; member 90 struct list_head head; member 100 struct list_head head; member 116 struct list_head head; member 252 struct list_head head; member 265 struct list_head head; member 289 struct list_head head; member 297 struct list_head head; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
H A D | sun3lance.c | 105 /* Get the address of a packet buffer corresponding to a given buffer head */ 106 #define PKTBUF_ADDR(head) (void *)((unsigned long)(MEM) | (head)->base) 520 struct lance_tx_head *head; in lance_start_xmit() local 614 head = &(MEM->tx_head[entry]); in lance_start_xmit() 624 // head->length = -len; in lance_start_xmit() 625 head->length = (-len) | 0xf000; in lance_start_xmit() 626 head->misc = 0; in lance_start_xmit() 628 skb_copy_from_linear_data(skb, PKTBUF_ADDR(head), skb->len); in lance_start_xmit() 630 memset(PKTBUF_ADDR(head) in lance_start_xmit() 692 struct lance_tx_head *head = &(MEM->tx_head[old_tx]); lance_interrupt() local 778 struct lance_rx_head *head = &(MEM->rx_head[entry]); lance_rx() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_fsmap.c | 157 struct xfs_fsmap_head *head; member 236 rec = &info->fsmap_recs[info->head->fmh_entries++]; in xfs_getfsmap_format() 271 if (info->head->fmh_count == 0) { in xfs_getfsmap_helper() 272 if (info->head->fmh_entries == UINT_MAX) in xfs_getfsmap_helper() 276 info->head->fmh_entries++; in xfs_getfsmap_helper() 281 info->head->fmh_entries++; in xfs_getfsmap_helper() 295 if (info->head->fmh_entries >= info->head->fmh_count) in xfs_getfsmap_helper() 311 if (info->head->fmh_entries >= info->head in xfs_getfsmap_helper() 826 xfs_getfsmap( struct xfs_mount *mp, struct xfs_fsmap_head *head, struct fsmap *fsmap_recs) xfs_getfsmap() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/ |
H A D | sun3lance.c | 105 /* Get the address of a packet buffer corresponding to a given buffer head */ 106 #define PKTBUF_ADDR(head) (void *)((unsigned long)(MEM) | (head)->base) 514 struct lance_tx_head *head; in lance_start_xmit() local 608 head = &(MEM->tx_head[entry]); in lance_start_xmit() 618 // head->length = -len; in lance_start_xmit() 619 head->length = (-len) | 0xf000; in lance_start_xmit() 620 head->misc = 0; in lance_start_xmit() 622 skb_copy_from_linear_data(skb, PKTBUF_ADDR(head), skb->len); in lance_start_xmit() 624 memset(PKTBUF_ADDR(head) in lance_start_xmit() 686 struct lance_tx_head *head = &(MEM->tx_head[old_tx]); lance_interrupt() local 772 struct lance_rx_head *head = &(MEM->rx_head[entry]); lance_rx() local [all...] |
/kernel/linux/linux-5.10/net/kcm/ |
H A D | kcmsock.c | 219 static void requeue_rx_msgs(struct kcm_mux *mux, struct sk_buff_head *head) in requeue_rx_msgs() argument 224 while ((skb = skb_dequeue(head))) { in requeue_rx_msgs() 253 struct sk_buff *head) in reserve_rx_kcm() 273 psock->ready_rx_msg = head; in reserve_rx_kcm() 582 struct sk_buff *skb, *head; in kcm_write_msgs() local 605 head = skb_peek(&sk->sk_write_queue); in kcm_write_msgs() 606 txm = kcm_tx_msg(head); in kcm_write_msgs() 628 skb = head; in kcm_write_msgs() 629 txm = kcm_tx_msg(head); in kcm_write_msgs() 694 if (skb == head) { in kcm_write_msgs() 252 reserve_rx_kcm(struct kcm_psock *psock, struct sk_buff *head) reserve_rx_kcm() argument 766 struct sk_buff *skb = NULL, *head = NULL; kcm_sendpage() local 907 struct sk_buff *skb = NULL, *head = NULL; kcm_sendmsg() local 1300 struct list_head *head; init_kcm_sock() local 1341 struct list_head *head; kcm_attach() local [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | write.c | 181 * nfs_folio_find_private_request - find head request associated with a folio 186 * returns matching head request with reference held, or NULL if not found. 226 * nfs_folio_find_head_request - find head request associated with a folio 229 * returns matching head request with reference held, or NULL if not found. 244 struct nfs_page *req, *head; in nfs_folio_find_and_lock_request() local 251 head = nfs_page_group_lock_head(req); in nfs_folio_find_and_lock_request() 252 if (head != req) in nfs_folio_find_and_lock_request() 254 if (IS_ERR(head)) in nfs_folio_find_and_lock_request() 255 return head; in nfs_folio_find_and_lock_request() 256 ret = nfs_cancel_remove_inode(head, inod in nfs_folio_find_and_lock_request() 336 nfs_page_group_search_locked(struct nfs_page *head, unsigned int page_offset) nfs_page_group_search_locked() argument 506 nfs_join_page_group(struct nfs_page *head, struct nfs_commit_info *cinfo, struct inode *inode) nfs_join_page_group() argument 569 struct nfs_page *head; nfs_lock_and_join_requests() local 1440 nfs_async_write_error(struct list_head *head, int error) nfs_async_write_error() argument 1727 nfs_get_lwb(struct list_head *head) nfs_get_lwb() argument 1742 nfs_init_commit(struct nfs_commit_data *data, struct list_head *head, struct pnfs_layout_segment *lseg, struct nfs_commit_info *cinfo) nfs_init_commit() argument 1812 nfs_commit_list(struct inode *inode, struct list_head *head, int how, struct nfs_commit_info *cinfo) nfs_commit_list() argument 1925 nfs_generic_commit_list(struct inode *inode, struct list_head *head, int how, struct nfs_commit_info *cinfo) nfs_generic_commit_list() argument [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | hashtab.c | 79 struct hlist_nulls_head head; member 141 INIT_HLIST_NULLS_HEAD(&htab->buckets[i].head, i); in htab_init_buckets() 630 return &__select_bucket(htab, hash)->head; in select_bucket() 634 static struct htab_elem *lookup_elem_raw(struct hlist_nulls_head *head, u32 hash, in lookup_elem_raw() argument 640 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in lookup_elem_raw() 651 static struct htab_elem *lookup_nulls_elem_raw(struct hlist_nulls_head *head, in lookup_nulls_elem_raw() argument 659 hlist_nulls_for_each_entry_rcu(l, n, head, hash_node) in lookup_nulls_elem_raw() 677 struct hlist_nulls_head *head; in __htab_map_lookup_elem() local 688 head = select_bucket(htab, hash); in __htab_map_lookup_elem() 690 l = lookup_nulls_elem_raw(head, has in __htab_map_lookup_elem() 803 struct hlist_nulls_head *head; htab_lru_map_delete_node() local 834 struct hlist_nulls_head *head; htab_map_get_next_key() local 1098 struct hlist_nulls_head *head; htab_map_update_elem() local 1201 struct hlist_nulls_head *head; htab_lru_map_update_elem() local 1270 struct hlist_nulls_head *head; __htab_percpu_map_update_elem() local 1325 struct hlist_nulls_head *head; __htab_lru_percpu_map_update_elem() local 1406 struct hlist_nulls_head *head; htab_map_delete_elem() local 1442 struct hlist_nulls_head *head; htab_lru_map_delete_elem() local 1484 struct hlist_nulls_head *head = select_bucket(htab, i); delete_all_elements() local 1502 struct hlist_nulls_head *head = select_bucket(htab, i); htab_free_malloced_timers() local 1589 struct hlist_nulls_head *head; __htab_map_lookup_and_delete_elem() local 1694 struct hlist_nulls_head *head; __htab_map_lookup_and_delete_batch() local 1990 struct hlist_nulls_head *head; bpf_hash_map_seq_find_next() local 2164 struct hlist_nulls_head *head; bpf_for_each_hash_elem() local 2481 struct hlist_nulls_head *head; fd_htab_map_free() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | delayed-ref.c | 72 * btrfs_delayed_refs_rsv_release - release a ref head's reservation. 76 * This drops the delayed ref head's count from the delayed refs rsv and frees 276 /* insert a new ref to head ref rbtree */ 356 * Find a head entry based on bytenr. This returns the delayed ref head if it 394 struct btrfs_delayed_ref_head *head) in btrfs_delayed_ref_lock() 397 if (mutex_trylock(&head->mutex)) in btrfs_delayed_ref_lock() 400 refcount_inc(&head->refs); in btrfs_delayed_ref_lock() 403 mutex_lock(&head->mutex); in btrfs_delayed_ref_lock() 405 if (RB_EMPTY_NODE(&head in btrfs_delayed_ref_lock() 393 btrfs_delayed_ref_lock(struct btrfs_delayed_ref_root *delayed_refs, struct btrfs_delayed_ref_head *head) btrfs_delayed_ref_lock() argument 414 drop_delayed_ref(struct btrfs_trans_handle *trans, struct btrfs_delayed_ref_root *delayed_refs, struct btrfs_delayed_ref_head *head, struct btrfs_delayed_ref_node *ref) drop_delayed_ref() argument 429 merge_ref(struct btrfs_trans_handle *trans, struct btrfs_delayed_ref_root *delayed_refs, struct btrfs_delayed_ref_head *head, struct btrfs_delayed_ref_node *ref, u64 seq) merge_ref() argument 476 btrfs_merge_delayed_refs(struct btrfs_trans_handle *trans, struct btrfs_delayed_ref_root *delayed_refs, struct btrfs_delayed_ref_head *head) btrfs_merge_delayed_refs() argument 540 struct btrfs_delayed_ref_head *head; btrfs_select_ref_head() local 574 btrfs_delete_ref_head(struct btrfs_delayed_ref_root *delayed_refs, struct btrfs_delayed_ref_head *head) btrfs_delete_ref_head() argument [all...] |
/kernel/linux/linux-5.10/sound/core/seq/ |
H A D | seq_prioq.c | 51 f->head = NULL; in snd_seq_prioq_new() 165 cur = f->head; /* cursor */ in snd_seq_prioq_cell_in() 193 if (f->head == cur) /* this is the first cell, set head to it */ in snd_seq_prioq_cell_in() 194 f->head = cell; in snd_seq_prioq_cell_in() 224 cell = f->head; in snd_seq_prioq_cell_out() 228 f->head = cell->next; in snd_seq_prioq_cell_out() 284 cell = f->head; in snd_seq_prioq_leave() 289 if (cell == f->head) { in snd_seq_prioq_leave() 290 f->head in snd_seq_prioq_leave() [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | queue_stack_maps.c | 19 u32 head, tail; member 32 return qs->head == qs->tail; in queue_stack_map_is_empty() 37 u32 head = qs->head + 1; in queue_stack_map_is_full() local 39 if (unlikely(head >= qs->size)) in queue_stack_map_is_full() 40 head = 0; in queue_stack_map_is_full() 42 return head == qs->tail; in queue_stack_map_is_full() 162 index = qs->head - 1; in __stack_map_get() 170 qs->head = index; in __stack_map_get() 236 dst = &qs->elements[qs->head * q in queue_stack_map_push_elem() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/ |
H A D | outp.c | 29 nvif_outp_dp_mst_vcpi(struct nvif_outp *outp, int head, in nvif_outp_dp_mst_vcpi() argument 36 args.head = head; in nvif_outp_dp_mst_vcpi() 44 "[DP_MST_VCPI head:%d start_slot:%02x num_slots:%02x pbn:%04x aligned_pbn:%04x]", in nvif_outp_dp_mst_vcpi() 45 args.head, args.start_slot, args.num_slots, args.pbn, args.aligned_pbn); in nvif_outp_dp_mst_vcpi() 72 nvif_outp_hda_eld(struct nvif_outp *outp, int head, void *data, u32 size) in nvif_outp_hda_eld() argument 84 args.mthd.head = head; in nvif_outp_hda_eld() 88 NVIF_ERRON(ret, &outp->object, "[HDA_ELD head:%d size:%d]", head, siz in nvif_outp_hda_eld() 166 nvif_outp_acquire_tmds(struct nvif_outp *outp, int head, bool hdmi, u8 max_ac_packet, u8 rekey, u8 scdc, bool hda) nvif_outp_acquire_tmds() argument [all...] |
/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_prioq.c | 51 f->head = NULL; in snd_seq_prioq_new() 165 cur = f->head; /* cursor */ in snd_seq_prioq_cell_in() 193 if (f->head == cur) /* this is the first cell, set head to it */ in snd_seq_prioq_cell_in() 194 f->head = cell; in snd_seq_prioq_cell_in() 224 cell = f->head; in snd_seq_prioq_cell_out() 228 f->head = cell->next; in snd_seq_prioq_cell_out() 284 cell = f->head; in snd_seq_prioq_leave() 289 if (cell == f->head) { in snd_seq_prioq_leave() 290 f->head in snd_seq_prioq_leave() [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_ctx.c | 33 BN_POOL_ITEM *head, *current, *tail; member 85 BN_POOL_ITEM *item = ctx->pool.head; in ctxdbg() 162 BN_POOL_ITEM *pool = ctx->pool.head; in BN_CTX_free() 296 p->head = p->current = p->tail = NULL; in BN_POOL_init() 305 while (p->head) { in BN_POOL_finish() 306 for (loop = 0, bn = p->head->vals; loop++ < BN_CTX_POOL_SIZE; bn++) in BN_POOL_finish() 309 p->current = p->head->next; in BN_POOL_finish() 310 OPENSSL_free(p->head); in BN_POOL_finish() 311 p->head = p->current; in BN_POOL_finish() 337 if (p->head in BN_POOL_get() [all...] |