Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 33) 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()
102 struct hlist_bl_node *first; in hlist_bl_add_head_rcu() local
105 first = hlist_bl_first(h); in hlist_bl_add_head_rcu()
107 n->next = first; in hlist_bl_add_head_rcu()
108 if (first) in hlist_bl_add_head_rcu()
109 first->pprev = &n->next; in hlist_bl_add_head_rcu()
110 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))
66 return is_a_nulls(READ_ONCE(h->first)); in hlist_nulls_empty()
72 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head() local
74 n->next = first; in hlist_nulls_add_head()
75 n->pprev = &h->first; in hlist_nulls_add_head()
76 h->first = n; in hlist_nulls_add_head()
77 if (!is_a_nulls(first)) in hlist_nulls_add_head()
78 first->pprev = &n->next; in hlist_nulls_add_head()
106 for (pos = (head)->first; \
Drculist_nulls.h42 (*((struct hlist_nulls_node __rcu __force **)&(head)->first))
94 struct hlist_nulls_node *first = h->first; in hlist_nulls_add_head_rcu() local
96 n->next = first; in hlist_nulls_add_head_rcu()
97 n->pprev = &h->first; in hlist_nulls_add_head_rcu()
99 if (!is_a_nulls(first)) in hlist_nulls_add_head_rcu()
100 first->pprev = &n->next; in hlist_nulls_add_head_rcu()
128 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.h227 struct list_head *first, in list_bulk_move_tail() argument
230 first->prev->next = last->next; in list_bulk_move_tail()
231 last->next->prev = first->prev; in list_bulk_move_tail()
233 head->prev->next = first; in list_bulk_move_tail()
234 first->prev = head->prev; in list_bulk_move_tail()
296 struct list_head *first; in list_rotate_left() local
299 first = head->next; in list_rotate_left()
300 list_move_tail(first, head); in list_rotate_left()
405 struct list_head *first = list->next; in __list_splice() local
408 first->prev = prev; in __list_splice()
[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()
Drculist.h222 struct list_head *first = list->next; in __list_splice_init_rcu() local
251 rcu_assign_pointer(list_next_rcu(prev), first); in __list_splice_init_rcu()
252 first->prev = prev; in __list_splice_init_rcu()
502 #define hlist_first_rcu(head) (*((struct hlist_node __rcu **)(&(head)->first)))
528 struct hlist_node *first = h->first; in hlist_add_head_rcu() local
530 n->next = first; in hlist_add_head_rcu()
531 n->pprev = &h->first; in hlist_add_head_rcu()
533 if (first) in hlist_add_head_rcu()
534 first->pprev = &n->next; in hlist_add_head_rcu()
562 for (i = h->first; i; i = i->next) in hlist_add_tail_rcu()
Dtypes.h186 struct hlist_node *first; member
Duser_namespace.h18 u32 first; member
Dvt_kern.h134 extern int do_unbind_con_driver(const struct consw *csw, int first, int last,
Dconsole.h108 int do_take_over_console(const struct consw *sw, int first, int last, int deflt);
Data.h686 u16 first = word_209 & 0x3fff; in ata_id_logical_sector_offset() local
687 if (first > 0) in ata_id_logical_sector_offset()
688 return (1 << log2_per_phys) - first; in ata_id_logical_sector_offset()
Dccp.h296 u32 first; /* Indicates first sha cmd */ member
Dfilter.h1166 static inline bool bpf_needs_clear_a(const struct sock_filter *first) in bpf_needs_clear_a() argument
1168 switch (first->code) { in bpf_needs_clear_a()
1176 if (first->k == SKF_AD_OFF + SKF_AD_ALU_XOR_X) in bpf_needs_clear_a()
Dcompat.h751 asmlinkage long compat_sys_msgctl(int first, int second, void __user *uptr);
761 asmlinkage long compat_sys_shmctl(int first, int second, void __user *uptr);
Dsyscalls.h1209 asmlinkage long sys_ipc(unsigned int call, int first, unsigned long second,
1271 int ksys_ipc(unsigned int call, int first, unsigned long second,
1273 int compat_ksys_ipc(u32 call, int first, int second,
/include/linux/sched/
Dwake_q.h39 struct wake_q_node *first; member
46 struct wake_q_head name = { WAKE_Q_TAIL, &name.first }
50 head->first = WAKE_Q_TAIL; in wake_q_init()
51 head->lastp = &head->first; in wake_q_init()
56 return head->first == WAKE_Q_TAIL; in wake_q_empty()
/include/trace/events/
Dafs.h767 pgoff_t first, pgoff_t last, unsigned int offset),
769 TP_ARGS(call, msg, first, last, offset),
773 __field(pgoff_t, first )
783 __entry->first = first;
793 __entry->first, __entry->first + __entry->nr - 1, __entry->last,
799 TP_PROTO(struct afs_call *call, pgoff_t first, pgoff_t last,
802 TP_ARGS(call, first, last, cursor, ret),
806 __field(pgoff_t, first )
814 __entry->first = first;
822 __entry->first, __entry->last,
Drxrpc.h831 rxrpc_seq_t first, rxrpc_seq_t prev, u8 reason, u8 n_acks),
833 TP_ARGS(call, serial, ack_serial, first, prev, reason, n_acks),
839 __field(rxrpc_seq_t, first )
849 __entry->first = first;
860 __entry->first,
/include/media/
Dv4l2-event.h79 unsigned int first; member
/include/linux/sunrpc/
Dsvc.h522 struct kvec *first, size_t total);
524 struct kvec *first, void *p,
/include/drm/ttm/
Dttm_bo_driver.h510 struct ttm_buffer_object *first; member
/include/linux/gpio/
Ddriver.h239 unsigned int first; member
/include/sound/
Dgus.h190 struct snd_gf1_mem_block *first; member
/include/linux/ceph/
Dceph_fs.h749 __le64 first, last; /* snap range */ member

12