| /include/linux/ |
| A D | rculist_bl.h | 15 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first_rcu() 17 rcu_assign_pointer(h->first, in hlist_bl_set_first_rcu() 24 ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); in hlist_bl_first_rcu() 74 struct hlist_bl_node *first; in hlist_bl_add_head_rcu() local 77 first = hlist_bl_first(h); in hlist_bl_add_head_rcu() 79 n->next = first; in hlist_bl_add_head_rcu() 80 if (first) in hlist_bl_add_head_rcu() 81 first->pprev = &n->next; in hlist_bl_add_head_rcu() 82 n->pprev = &h->first; in hlist_bl_add_head_rcu()
|
| A D | list_nulls.h | 22 struct hlist_nulls_node *first; member 30 ((ptr)->first = (struct hlist_nulls_node *) NULLS_MARKER(nulls)) 31 #define HLIST_NULLS_HEAD_INIT(nulls) {.first = (struct hlist_nulls_node *)NULLS_MARKER(nulls)} 89 return is_a_nulls(READ_ONCE(h->first)); in hlist_nulls_empty() 95 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head() local 97 n->next = first; in hlist_nulls_add_head() 98 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head() 99 h->first = n; in hlist_nulls_add_head() 100 if (!is_a_nulls(first)) in hlist_nulls_add_head() 101 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head() [all …]
|
| A D | llist.h | 57 struct llist_node *first; member 73 list->first = NULL; in init_llist_head() 238 struct llist_node *first = READ_ONCE(head->first); in llist_add_batch() local 241 new_last->next = first; in llist_add_batch() 242 } while (!try_cmpxchg(&head->first, &first, new_first)); in llist_add_batch() 244 return !first; in llist_add_batch() 251 new_last->next = head->first; in __llist_add_batch() 252 head->first = new_first; in __llist_add_batch() 288 struct llist_node *first = head->first; in __llist_del_all() local 290 head->first = NULL; in __llist_del_all() [all …]
|
| A D | rculist_nulls.h | 46 (*((struct hlist_nulls_node __rcu __force **)&(head)->first)) 102 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head_rcu() local 104 WRITE_ONCE(n->next, first); in hlist_nulls_add_head_rcu() 105 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head_rcu() 107 if (!is_a_nulls(first)) in hlist_nulls_add_head_rcu() 108 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head_rcu() 136 for (i = h->first; !is_a_nulls(i); i = i->next) in hlist_nulls_add_tail_rcu()
|
| A D | list_bl.h | 35 struct hlist_bl_node *first; member 42 ((ptr)->first = NULL) 60 ((unsigned long)h->first & ~LIST_BL_LOCKMASK); in hlist_bl_first() 67 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first() 69 h->first = (struct hlist_bl_node *)((unsigned long)n | LIST_BL_LOCKMASK); in hlist_bl_set_first() 74 return !((unsigned long)READ_ONCE(h->first) & ~LIST_BL_LOCKMASK); in hlist_bl_empty() 80 struct hlist_bl_node *first = hlist_bl_first(h); in hlist_bl_add_head() local 82 n->next = first; in hlist_bl_add_head() 83 if (first) in hlist_bl_add_head() 84 first->pprev = &n->next; in hlist_bl_add_head() [all …]
|
| A D | list.h | 530 first->prev = prev; in __list_splice() 531 prev->next = first; in __list_splice() 1023 struct hlist_node *first = h->first; in hlist_add_head() local 1025 if (first) in hlist_add_head() 1108 new->first = old->first; in hlist_move_list() 1109 if (new->first) in hlist_move_list() 1110 new->first->pprev = &new->first; in hlist_move_list() 1111 old->first = NULL; in hlist_move_list() 1126 if (to->first) in hlist_splice_init() 1129 to->first = from->first; in hlist_splice_init() [all …]
|
| A D | rculist.h | 278 struct list_head *first = list->next; in __list_splice_init_rcu() local 297 ASSERT_EXCLUSIVE_ACCESS(*first); in __list_splice_init_rcu() 310 first->prev = prev; in __list_splice_init_rcu() 598 struct hlist_node *node1 = left->first; in hlists_swap_heads_rcu() 601 rcu_assign_pointer(left->first, node2); in hlists_swap_heads_rcu() 636 struct hlist_node *first = h->first; in hlist_add_head_rcu() local 638 n->next = first; in hlist_add_head_rcu() 639 WRITE_ONCE(n->pprev, &h->first); in hlist_add_head_rcu() 641 if (first) in hlist_add_head_rcu() 642 WRITE_ONCE(first->pprev, &n->next); in hlist_add_head_rcu() [all …]
|
| A D | msi.h | 348 unsigned int first, unsigned int last); 358 static inline void msi_free_msi_descs_range(struct device *dev, unsigned int first, in msi_free_msi_descs_range() argument 361 msi_domain_free_msi_descs_range(dev, MSI_DEFAULT_DOMAIN, first, last); in msi_free_msi_descs_range() 655 unsigned int first, unsigned int last); 657 unsigned int first, unsigned int last); 665 unsigned int first, unsigned int last); 667 unsigned int first, unsigned int last);
|
| A D | ethtool_netlink.h | 32 int ethnl_cable_test_step(struct phy_device *phydev, u32 first, u32 last, 84 static inline int ethnl_cable_test_step(struct phy_device *phydev, u32 first, in ethnl_cable_test_step() argument
|
| A D | maple_tree.h | 330 int mtree_insert_range(struct maple_tree *mt, unsigned long first, 342 int mtree_store_range(struct maple_tree *mt, unsigned long first, 484 #define MA_STATE(name, mt, first, end) \ argument 487 .index = first, \
|
| A D | types.h | 204 struct hlist_node *first; member
|
| A D | vt_kern.h | 126 int do_unbind_con_driver(const struct consw *csw, int first, int last,
|
| A D | ata.h | 671 u16 first = word_209 & 0x3fff; in ata_id_logical_sector_offset() local 672 if (first > 0) in ata_id_logical_sector_offset() 673 return (1 << log2_per_phys) - first; in ata_id_logical_sector_offset()
|
| A D | user_namespace.h | 20 u32 first; member
|
| A D | ccp.h | 297 u32 first; /* Indicates first sha cmd */ member
|
| A D | console.h | 144 int do_take_over_console(const struct consw *sw, int first, int last, int deflt);
|
| A D | vdpa.h | 109 u64 first; member
|
| /include/linux/sched/ |
| A D | wake_q.h | 39 struct wake_q_node *first; member 46 { WAKE_Q_TAIL, &name.first } 53 head->first = WAKE_Q_TAIL; in wake_q_init() 54 head->lastp = &head->first; in wake_q_init() 59 return head->first == WAKE_Q_TAIL; in wake_q_empty()
|
| /include/net/ |
| A D | xdp_sock_drv.h | 147 static inline struct xdp_buff *xsk_buff_get_frag(const struct xdp_buff *first) in xsk_buff_get_frag() argument 149 struct xdp_buff_xsk *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_frag() 170 static inline struct xdp_buff *xsk_buff_get_tail(struct xdp_buff *first) in xsk_buff_get_tail() argument 172 struct xdp_buff_xsk *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_tail() 387 static inline struct xdp_buff *xsk_buff_get_frag(const struct xdp_buff *first) in xsk_buff_get_frag() argument 396 static inline struct xdp_buff *xsk_buff_get_tail(struct xdp_buff *first) in xsk_buff_get_tail() argument
|
| /include/pcmcia/ |
| A D | soc_common.h | 86 int first; member
|
| /include/uapi/linux/ |
| A D | vhost_types.h | 167 __u64 first; member
|
| /include/media/ |
| A D | v4l2-event.h | 79 unsigned int first; member
|
| /include/linux/mtd/ |
| A D | nand-qpic-common.h | 484 int qcom_read_reg_dma(struct qcom_nand_controller *nandc, int first, int num_regs, 486 int qcom_write_reg_dma(struct qcom_nand_controller *nandc, __le32 *vaddr, int first,
|
| /include/xen/ |
| A D | grant_table.h | 130 int gnttab_alloc_grant_reference_seq(unsigned int count, grant_ref_t *first);
|
| /include/drm/ttm/ |
| A D | ttm_resource.h | 290 struct ttm_resource *first; member
|