Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 37) sorted by relevance

12

/include/linux/
Drculist_bl.h15 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()
Dlist_nulls.h22 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; \
Drculist_nulls.h46 (*((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()
Dlist_bl.h35 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 …]
Dlist.h241 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 …]
Drculist.h240 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 …]
Dllist.h55 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()
Dethtool_netlink.h30 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
Dtypes.h183 struct hlist_node *first; member
Duser_namespace.h19 u32 first; member
Dconsole.h104 int do_take_over_console(const struct consw *sw, int first, int last, int deflt);
Dvt_kern.h132 int do_unbind_con_driver(const struct consw *csw, int first, int last,
Data.h684 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()
Dccp.h296 u32 first; /* Indicates first sha cmd */ member
Dvdpa.h61 u64 first; member
Dfilter.h1180 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()
Dbitmap.h152 unsigned int first, unsigned int cut,
/include/linux/sched/
Dwake_q.h39 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/
Dvhost_types.h146 __u64 first; member
/include/media/
Dv4l2-event.h79 unsigned int first; member
/include/trace/events/
Dafs.h946 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,
Drxrpc.h822 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/
Dsvc.h527 struct kvec *first, size_t total);
529 struct kvec *first, void *p,
/include/drm/ttm/
Dttm_bo_driver.h377 struct ttm_buffer_object *first; member
/include/linux/gpio/
Ddriver.h242 unsigned int first; member

12