/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | qos_conf.c | 69 struct nfp_police_cfg_head head; member in struct:nfp_police_config 79 struct nfp_police_cfg_head head; member in struct:nfp_police_stats_reply 100 config->head.flags_opts |= cpu_to_be32(NFP_FL_QOS_PPS); 102 config->head.flags_opts |= cpu_to_be32(NFP_FL_QOS_METER); 105 config->head.port = cpu_to_be32(id); 107 config->head.meter_id = cpu_to_be32(id); 337 config->head.flags_opts = cpu_to_be32(NFP_FL_QOS_PPS); 338 config->head.port = cpu_to_be32(netdev_port_id); 357 if (be32_to_cpu(msg->head.flags_opts) & NFP_FL_QOS_METER) 360 netdev_port_id = be32_to_cpu(msg->head 393 struct nfp_police_cfg_head *head; local [all...] |
/linux-master/drivers/nvmem/ |
H A D | rave-sp-eeprom.c | 227 unsigned int head; local 232 head = offset % RAVE_SP_EEPROM_PAGE_SIZE; 242 if (unlikely(head)) { 243 chunk = RAVE_SP_EEPROM_PAGE_SIZE - head; 247 * head to zero to process all the other 250 head = 0;
|
/linux-master/net/netfilter/ |
H A D | nfnetlink_log.c | 108 const struct hlist_head *head; local 111 head = &log->instance_table[instance_hashfn(group_num)]; 112 hlist_for_each_entry_rcu(inst, head, hlist) { 149 static void nfulnl_instance_free_rcu(struct rcu_head *head) argument 152 container_of(head, struct nfulnl_instance, rcu); 595 if (hwhdrp >= skb->head && 844 struct hlist_head *head = &log->instance_table[i]; local 846 hlist_for_each_entry_safe(inst, t2, head, hlist) { 1038 struct hlist_head *head = &log->instance_table[st->bucket]; local 1040 if (!hlist_empty(head)) 1052 struct hlist_head *head; local 1067 struct hlist_node *head; local [all...] |
/linux-master/net/ipv4/ |
H A D | tunnel4.c | 90 #define for_each_tunnel_rcu(head, handler) \ 91 for (handler = rcu_dereference(head); \ 116 struct xfrm_tunnel __rcu *head; local 120 head = (proto == IPPROTO_IPIP) ? tunnel4_handlers : tunnel64_handlers; 122 for_each_tunnel_rcu(head, handler) {
|
/linux-master/net/ipv6/ |
H A D | tunnel6.c | 117 #define for_each_tunnel_rcu(head, handler) \ 118 for (handler = rcu_dereference(head); \ 161 struct xfrm6_tunnel __rcu *head; local 165 head = (proto == IPPROTO_IPV6) ? tunnel6_handlers : tunnel46_handlers; 167 for_each_tunnel_rcu(head, handler) {
|
H A D | tcpv6_offload.c | 17 static void tcp6_check_fraglist_gro(struct list_head *head, struct sk_buff *skb, argument 30 p = tcp_gro_lookup(head, th); 50 struct sk_buff *tcp6_gro_receive(struct list_head *head, struct sk_buff *skb) argument 64 tcp6_check_fraglist_gro(head, skb, th); 66 return tcp_gro_receive(head, skb, th);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_modeset_lock.c | 283 struct drm_modeset_lock, head); 317 WARN_ON(!list_empty(&lock->head)); 318 list_add(&lock->head, &ctx->locked); 369 INIT_LIST_HEAD(&lock->head); 424 list_del_init(&lock->head);
|
/linux-master/fs/erofs/ |
H A D | decompressor_zstd.c | 81 struct z_erofs_zstd *strm, *head = NULL; local 108 strm->next = head; 109 head = strm; 116 for (strm = head; strm; strm = strm->next) { 128 z_erofs_zstd_head = head;
|
/linux-master/include/linux/ |
H A D | rhashtable.h | 416 * rht_for_each_from - iterate over hash chain from given head 418 * @head: the &struct rhash_head to start from 422 #define rht_for_each_from(pos, head, tbl, hash) \ 423 for (pos = head; \ 438 * rht_for_each_entry_from - iterate over hash chain from given head 441 * @head: the &struct rhash_head to start from 446 #define rht_for_each_entry_from(tpos, pos, head, tbl, hash, member) \ 447 for (pos = head; \ 486 * rht_for_each_rcu_from - iterate over rcu hash chain from given head 488 * @head 716 struct rhash_head *head; local [all...] |
/linux-master/kernel/trace/ |
H A D | rethook.c | 35 static void rethook_free_rcu(struct rcu_head *head) argument 37 struct rethook *rh = container_of(head, struct rethook, rcu); 79 static int rethook_fini_pool(struct objpool_head *head, void *context) argument 127 static void free_rethook_node_rcu(struct rcu_head *head) argument 129 struct rethook_node *node = container_of(head, struct rethook_node, rcu);
|
/linux-master/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-tx.c | 143 tx_ring->head--; 181 /* Memory barrier before checking tx_free (head and tail) */ 187 tx_ring->head, tx_ring->tail, 188 tx_ring->head - tx_ring->tail); 221 mcp251xfd_tx_obj_from_skb(priv, tx_obj, skb, tx_ring->head); 225 tx_ring->head++;
|
/linux-master/fs/xfs/ |
H A D | xfs_ioctl.c | 934 struct fsmap_head head; local 941 if (copy_from_user(&head, arg, sizeof(struct fsmap_head))) 943 if (memchr_inv(head.fmh_reserved, 0, sizeof(head.fmh_reserved)) || 944 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, 945 sizeof(head.fmh_keys[0].fmr_reserved)) || 946 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, 947 sizeof(head.fmh_keys[1].fmr_reserved))) 955 count = min_t(unsigned int, head.fmh_count, 959 count = min_t(unsigned int, head [all...] |
/linux-master/fs/btrfs/ |
H A D | extent-tree.c | 92 * the head node for delayed ref is used to store the sum of all the 93 * reference count modifications queued up in the rbtree. the head 104 struct btrfs_delayed_ref_head *head; local 194 head = btrfs_find_delayed_ref_head(delayed_refs, bytenr); 195 if (head) { 196 if (!mutex_trylock(&head->mutex)) { 197 refcount_inc(&head->refs); 206 mutex_lock(&head->mutex); 207 mutex_unlock(&head->mutex); 208 btrfs_put_delayed_ref_head(head); 1607 run_delayed_extent_op(struct btrfs_trans_handle *trans, struct btrfs_delayed_ref_head *head, struct btrfs_delayed_extent_op *extent_op) argument 1783 select_delayed_ref(struct btrfs_delayed_ref_head *head) argument 1806 unselect_delayed_ref_head(struct btrfs_delayed_ref_root *delayed_refs, struct btrfs_delayed_ref_head *head) argument 1816 cleanup_extent_op( struct btrfs_delayed_ref_head *head) argument 1832 run_and_cleanup_extent_op(struct btrfs_trans_handle *trans, struct btrfs_delayed_ref_head *head) argument 1848 btrfs_cleanup_ref_head_accounting(struct btrfs_fs_info *fs_info, struct btrfs_delayed_ref_root *delayed_refs, struct btrfs_delayed_ref_head *head) argument 1877 cleanup_ref_head(struct btrfs_trans_handle *trans, struct btrfs_delayed_ref_head *head, u64 *bytes_released) argument 1937 struct btrfs_delayed_ref_head *head = NULL; local 2258 struct btrfs_delayed_ref_head *head; local 3376 struct btrfs_delayed_ref_head *head; local [all...] |
/linux-master/net/bpf/ |
H A D | test_run.c | 97 /* We put this struct at the head of each page with a context and frame 132 struct xdp_page_head *head = phys_to_virt(page_to_phys(page)); local 145 new_ctx = &head->ctx; 146 frm = head->frame; 147 data = head->data; 157 memcpy(&head->orig_ctx, new_ctx, sizeof(head->orig_ctx)); 222 static bool frame_was_changed(const struct xdp_page_head *head) argument 228 return head->frame->data != head 232 ctx_was_changed(struct xdp_page_head *head) argument 239 reset_ctx(struct xdp_page_head *head) argument 289 struct xdp_page_head *head; local [all...] |
/linux-master/sound/usb/ |
H A D | mixer_us16x08.c | 54 /* default message head, equal to all mixers */ 64 /* default message head, equal to all mixers */ 90 /* default message head, equal to all mixers */ 118 /* default message head, equal to all mixers */ 196 struct snd_usb_audio *chip = elem->head.mixer->chip; 264 struct snd_usb_audio *chip = elem->head.mixer->chip; 281 buf[6] = elem->head.id; 301 struct snd_usb_audio *chip = elem->head.mixer->chip; 308 switch (elem->head.id) { 322 buf[6] = elem->head [all...] |
/linux-master/drivers/misc/sgi-xp/ |
H A D | xpc_uv.c | 874 xpc_init_fifo_uv(struct xpc_fifo_head_uv *head) argument 876 head->first = NULL; 877 head->last = NULL; 878 spin_lock_init(&head->lock); 879 head->n_entries = 0; 883 xpc_get_fifo_entry_uv(struct xpc_fifo_head_uv *head) argument 888 spin_lock_irqsave(&head->lock, irq_flags); 889 first = head->first; 890 if (head->first != NULL) { 891 head 905 xpc_put_fifo_entry_uv(struct xpc_fifo_head_uv *head, struct xpc_fifo_entry_uv *last) argument 922 xpc_n_of_fifo_entries_uv(struct xpc_fifo_head_uv *head) argument [all...] |
/linux-master/tools/testing/selftests/rseq/ |
H A D | param_test.c | 374 struct percpu_list_node *head; member in struct:percpu_list_entry 618 /* Load list->c[cpu].head with single-copy atomicity. */ 619 expect = (intptr_t)RSEQ_READ_ONCE(list->c[cpu].head); 621 targetptr = (intptr_t *)&list->c[cpu].head; 645 struct percpu_list_node *head; local 651 targetptr = (intptr_t *)&list->c[cpu].head; 654 load = (intptr_t *)&head; 659 node = head; 679 node = list->c[cpu].head; 682 list->c[cpu].head 820 struct percpu_buffer_node *head; local 858 struct percpu_buffer_node *head; local [all...] |
/linux-master/drivers/video/fbdev/ |
H A D | sm501fb.c | 104 enum sm501_controller head; member in struct:sm501fb_par 399 * check the parameters for the CRT head, and either bring them 411 * check the parameters for the CRT head, and either bring them 442 switch (par->head) { 531 if (par->head == HEAD_CRT) 541 smc501_writel(reg, fbi->regs + (par->head == HEAD_CRT ? 662 /* the head is displaying panel data... */ 920 if (par->head == HEAD_CRT) 1048 if (par->head == HEAD_CRT) 1182 enum sm501_controller head; local 1678 sm501fb_init_fb(struct fb_info *fb, enum sm501_controller head, const char *fbname) argument 1863 sm501fb_probe_one(struct sm501fb_info *info, enum sm501_controller head) argument 1895 sm501_free_init_fb(struct sm501fb_info *info, enum sm501_controller head) argument 1906 sm501fb_start_one(struct sm501fb_info *info, enum sm501_controller head, const char *drvname) argument 2075 sm501fb_suspend_fb(struct sm501fb_info *info, enum sm501_controller head) argument 2126 sm501fb_resume_fb(struct sm501fb_info *info, enum sm501_controller head) argument [all...] |
/linux-master/net/sched/ |
H A D | cls_flow.c | 300 struct flow_head *head = rcu_dereference_bh(tp->root); local 307 list_for_each_entry_rcu(f, &head->filters, list) { 395 struct flow_head *head = rtnl_dereference(tp->root); local 548 list_add_tail_rcu(&fnew->list, &head->filters); 571 struct flow_head *head = rtnl_dereference(tp->root); local 577 *last = list_empty(&head->filters); 583 struct flow_head *head; local 585 head = kzalloc(sizeof(*head), GFP_KERNEL); 586 if (head 596 struct flow_head *head = rtnl_dereference(tp->root); local 611 struct flow_head *head = rtnl_dereference(tp->root); local 684 struct flow_head *head = rtnl_dereference(tp->root); local [all...] |
/linux-master/io_uring/ |
H A D | kbuf.c | 136 __u16 head, __u16 mask) 138 return &br->bufs[head & mask]; 146 __u16 tail, head = bl->head; local 150 if (unlikely(tail == head)) 153 if (head + 1 == tail) 156 buf = io_ring_head_to_buf(br, head, bl->mask); 176 bl->head++; 210 __u16 nr_avail, tail, head; local 214 head 135 io_ring_head_to_buf(struct io_uring_buf_ring *br, __u16 head, __u16 mask) argument [all...] |
/linux-master/include/net/ |
H A D | netlink.h | 58 * nlmsg_data(nlh) head of message payload 60 * nlmsg_attrdata(nlh, hdrlen) head of attributes data 128 * nla_data(nla) head of attribute payload 529 int __nla_validate(const struct nlattr *head, int len, int maxtype, 532 int __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, 536 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype); 593 * nlmsg_data - head of message payload 611 * nlmsg_attrdata - head of attributes data 666 * @head: head o 678 nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, struct netlink_ext_ack *extack) argument 703 nla_parse_deprecated(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, struct netlink_ext_ack *extack) argument 728 nla_parse_deprecated_strict(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, struct netlink_ext_ack *extack) argument 856 nla_validate_deprecated(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) argument 879 nla_validate(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/drivers/net/ethernet/google/gve/ |
H A D | gve_rx_dqo.c | 78 buffer_id = list->head; 85 list->head = buf_state->next; 103 if (list->head == -1) { 104 list->head = buffer_id; 125 if (unlikely(rx->dqo.used_buf_states.head == -1)) 222 rx->dqo.bufq.head = 0; 229 rx->dqo.complq.head = 0; 243 rx->dqo.recycled_buf_states.head = -1; 245 rx->dqo.used_buf_states.head = -1; 518 num_full_slots = (bufq->tail - bufq->head) [all...] |
/linux-master/drivers/scsi/be2iscsi/ |
H A D | be.h | 35 u16 tail, head; member in struct:be_queue_info 53 return q->dma_mem.va + q->head * q->entry_size; 68 index_inc(&q->head, q->len);
|
/linux-master/drivers/acpi/ |
H A D | acpi_dbg.c | 28 (CIRC_CNT((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 30 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 32 (CIRC_SPACE((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 34 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 262 p = &crc->buf[crc->head]; 265 /* sync head after inserting logs */ 267 crc->head = (crc->head + n) & (ACPI_AML_BUF_SIZE - 1); 281 /* sync head before removing cmds */ 513 acpi_aml_io.out_crc.head [all...] |
/linux-master/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 229 struct list_head *head = &flo->error_list; local 239 head = &err->list; 249 list_add_tail(&dserr->list, head); 461 void ff_layout_free_ds_ioerr(struct list_head *head) argument 465 while (!list_empty(head)) { 466 err = list_first_entry(head, 475 int ff_layout_encode_ds_ioerr(struct xdr_stream *xdr, const struct list_head *head) argument 480 list_for_each_entry(err, head, list) { 510 struct list_head *head, 527 list_move(&err->list, head); 508 do_layout_fetch_ds_ioerr(struct pnfs_layout_hdr *lo, const struct pnfs_layout_range *range, struct list_head *head, unsigned int maxnum) argument 535 ff_layout_fetch_ds_ioerr(struct pnfs_layout_hdr *lo, const struct pnfs_layout_range *range, struct list_head *head, unsigned int maxnum) argument [all...] |