/include/linux/ |
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()
|
D | list_nulls.h | 22 struct hlist_nulls_node *first; member 30 ((ptr)->first = (struct hlist_nulls_node *) NULLS_MARKER(nulls)) 88 return is_a_nulls(READ_ONCE(h->first)); in hlist_nulls_empty() 94 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head() local 96 n->next = first; in hlist_nulls_add_head() 97 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head() 98 h->first = n; in hlist_nulls_add_head() 99 if (!is_a_nulls(first)) in hlist_nulls_add_head() 100 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head() 128 for (pos = (head)->first; \
|
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 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()
|
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 …]
|
D | list.h | 241 struct list_head *first, in list_bulk_move_tail() argument 244 first->prev->next = last->next; in list_bulk_move_tail() 245 last->next->prev = first->prev; in list_bulk_move_tail() 247 head->prev->next = first; in list_bulk_move_tail() 248 first->prev = head->prev; in list_bulk_move_tail() 328 struct list_head *first; in list_rotate_left() local 331 first = head->next; in list_rotate_left() 332 list_move_tail(first, head); in list_rotate_left() 437 struct list_head *first = list->next; in __list_splice() local 440 first->prev = prev; in __list_splice() [all …]
|
D | rculist.h | 240 struct list_head *first = list->next; in __list_splice_init_rcu() local 259 ASSERT_EXCLUSIVE_ACCESS(*first); in __list_splice_init_rcu() 271 rcu_assign_pointer(list_next_rcu(prev), first); in __list_splice_init_rcu() 272 first->prev = prev; in __list_splice_init_rcu() 550 struct hlist_node *node1 = left->first; in hlists_swap_heads_rcu() 551 struct hlist_node *node2 = right->first; in hlists_swap_heads_rcu() 553 rcu_assign_pointer(left->first, node2); in hlists_swap_heads_rcu() 554 rcu_assign_pointer(right->first, node1); in hlists_swap_heads_rcu() 555 WRITE_ONCE(node2->pprev, &left->first); in hlists_swap_heads_rcu() 556 WRITE_ONCE(node1->pprev, &right->first); in hlists_swap_heads_rcu() [all …]
|
D | llist.h | 55 struct llist_node *first; member 71 list->first = NULL; in init_llist_head() 189 return READ_ONCE(head->first) == NULL; in llist_empty() 222 return xchg(&head->first, NULL); in llist_del_all()
|
D | ethtool_netlink.h | 30 int ethnl_cable_test_step(struct phy_device *phydev, u32 first, u32 last, 68 static inline int ethnl_cable_test_step(struct phy_device *phydev, u32 first, in ethnl_cable_test_step() argument
|
D | types.h | 183 struct hlist_node *first; member
|
D | user_namespace.h | 19 u32 first; member
|
D | console.h | 104 int do_take_over_console(const struct consw *sw, int first, int last, int deflt);
|
D | vt_kern.h | 132 int do_unbind_con_driver(const struct consw *csw, int first, int last,
|
D | ata.h | 684 u16 first = word_209 & 0x3fff; in ata_id_logical_sector_offset() local 685 if (first > 0) in ata_id_logical_sector_offset() 686 return (1 << log2_per_phys) - first; in ata_id_logical_sector_offset()
|
D | ccp.h | 296 u32 first; /* Indicates first sha cmd */ member
|
D | vdpa.h | 61 u64 first; member
|
D | filter.h | 1180 static inline bool bpf_needs_clear_a(const struct sock_filter *first) in bpf_needs_clear_a() argument 1182 switch (first->code) { in bpf_needs_clear_a() 1190 if (first->k == SKF_AD_OFF + SKF_AD_ALU_XOR_X) in bpf_needs_clear_a()
|
D | bitmap.h | 152 unsigned int first, unsigned int cut,
|
/include/linux/sched/ |
D | wake_q.h | 39 struct wake_q_node *first; member 47 struct wake_q_head name = { WAKE_Q_TAIL, &name.first } 51 head->first = WAKE_Q_TAIL; in wake_q_init() 52 head->lastp = &head->first; in wake_q_init() 58 return head->first == WAKE_Q_TAIL; in wake_q_empty()
|
/include/uapi/linux/ |
D | vhost_types.h | 146 __u64 first; member
|
/include/media/ |
D | v4l2-event.h | 79 unsigned int first; member
|
/include/trace/events/ |
D | afs.h | 946 pgoff_t first, pgoff_t last, unsigned int offset), 948 TP_ARGS(call, msg, first, last, offset), 952 __field(pgoff_t, first ) 962 __entry->first = first; 972 __entry->first, __entry->first + __entry->nr - 1, __entry->last, 978 TP_PROTO(struct afs_call *call, pgoff_t first, pgoff_t last, 981 TP_ARGS(call, first, last, cursor, ret), 985 __field(pgoff_t, first ) 993 __entry->first = first; 1001 __entry->first, __entry->last,
|
D | rxrpc.h | 822 rxrpc_seq_t first, rxrpc_seq_t prev, u8 reason, u8 n_acks), 824 TP_ARGS(call, serial, ack_serial, first, prev, reason, n_acks), 830 __field(rxrpc_seq_t, first ) 840 __entry->first = first; 851 __entry->first,
|
/include/linux/sunrpc/ |
D | svc.h | 527 struct kvec *first, size_t total); 529 struct kvec *first, void *p,
|
/include/drm/ttm/ |
D | ttm_bo_driver.h | 377 struct ttm_buffer_object *first; member
|
/include/linux/gpio/ |
D | driver.h | 242 unsigned int first; member
|