Home
last modified time | relevance | path

Searched refs:list_head (Results 1 – 25 of 257) sorted by relevance

1234567891011

/freebsd-13-stable/sys/contrib/vchiq/interface/compat/
HDlist.h59 struct list_head { struct
60 struct list_head *prev; argument
61 struct list_head *next; argument
67 INIT_LIST_HEAD(struct list_head *head) in INIT_LIST_HEAD()
73 static inline struct list_head *
74 list_first(const struct list_head *head) in list_first()
79 static inline struct list_head *
80 list_last(const struct list_head *head) in list_last()
85 static inline struct list_head *
86 list_next(const struct list_head *node) in list_next()
[all …]
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
HDlist.h85 struct list_head name = LINUX_LIST_HEAD_INIT(name)
88 INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
95 list_empty(const struct list_head *head) in list_empty()
102 list_empty_careful(const struct list_head *head) in list_empty_careful()
104 struct list_head *next = head->next; in list_empty_careful()
110 __list_del(struct list_head *prev, struct list_head *next) in __list_del()
117 __list_del_entry(struct list_head *entry) in __list_del_entry()
124 list_del(struct list_head *entry) in list_del()
131 list_replace(struct list_head *old, struct list_head *new) in list_replace()
140 list_replace_init(struct list_head *old, struct list_head *new) in list_replace_init()
[all …]
HDrculist.h37 #define list_next_rcu(head) (*((struct list_head **)(&(head)->next)))
38 #define list_prev_rcu(head) (*((struct list_head **)(&(head)->prev)))
54 linux_list_add_rcu(struct list_head *new, struct list_head *prev, in linux_list_add_rcu()
55 struct list_head *next) in linux_list_add_rcu()
64 list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu()
70 list_add_tail_rcu(struct list_head *new, struct list_head *head) in list_add_tail_rcu()
76 __list_del_rcu(struct list_head *prev, struct list_head *next) in __list_del_rcu()
83 __list_del_entry_rcu(struct list_head *entry) in __list_del_entry_rcu()
89 list_del_rcu(struct list_head *entry) in list_del_rcu()
/freebsd-13-stable/sys/dev/hptnr/
HDlist.h39 struct list_head { struct
40 struct list_head *next, *prev; argument
45 static HPT_INLINE void __list_add(struct list_head * _new, struct list_head * prev, struct list_hea… in __list_add()
53 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add()
58 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail()
63 static HPT_INLINE void __list_del(struct list_head * prev, struct list_head * next) in __list_del()
69 static HPT_INLINE void list_del(struct list_head *entry) in list_del()
74 static HPT_INLINE void list_del_init(struct list_head *entry) in list_del_init()
80 static HPT_INLINE int list_empty(struct list_head *head) in list_empty()
86 static HPT_INLINE void __list_splice(struct list_head *list, in __list_splice()
[all …]
/freebsd-13-stable/sys/dev/hpt27xx/
HDlist.h40 struct list_head { struct
41 struct list_head *next, *prev; argument
46 static HPT_INLINE void __list_add(struct list_head * _new, struct list_head * prev, struct list_hea… in __list_add()
54 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add()
59 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail()
64 static HPT_INLINE void __list_del(struct list_head * prev, struct list_head * next) in __list_del()
70 static HPT_INLINE void list_del(struct list_head *entry) in list_del()
75 static HPT_INLINE void list_del_init(struct list_head *entry) in list_del_init()
81 static HPT_INLINE int list_empty(struct list_head *head) in list_empty()
87 static HPT_INLINE void __list_splice(struct list_head *list, in __list_splice()
[all …]
/freebsd-13-stable/sys/dev/hptrr/
HDlist.h42 struct list_head { struct
43 struct list_head *next, *prev; argument
48 static HPT_INLINE void __list_add(struct list_head * _new, struct list_head * prev, struct list_hea… in __list_add()
56 static HPT_INLINE void list_add(struct list_head *_new, struct list_head *head) in list_add()
61 static HPT_INLINE void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail()
66 static HPT_INLINE void __list_del(struct list_head * prev, struct list_head * next) in __list_del()
72 static HPT_INLINE void list_del(struct list_head *entry) in list_del()
77 static HPT_INLINE void list_del_init(struct list_head *entry) in list_del_init()
83 static HPT_INLINE int list_empty(struct list_head *head) in list_empty()
89 static HPT_INLINE void __list_splice(struct list_head *list, in __list_splice()
[all …]
/freebsd-13-stable/lib/libpmc/pmu-events/
HDlist.h41 struct list_head name = LINUX_LIST_HEAD_INIT(name)
45 struct list_head { struct
46 struct list_head *next; argument
47 struct list_head *prev; argument
72 INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
79 list_empty(const struct list_head *head) in list_empty()
86 list_empty_careful(const struct list_head *head) in list_empty_careful()
88 struct list_head *next = head->next; in list_empty_careful()
94 __list_del(struct list_head *prev, struct list_head *next) in __list_del()
101 __list_del_entry(struct list_head *entry) in __list_del_entry()
[all …]
/freebsd-13-stable/tools/tools/drm/radeon/mkregtable/
HDmkregtable.c42 struct list_head { struct
43 struct list_head *next, *prev; argument
49 struct list_head name = LIST_HEAD_INIT(name)
51 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
64 static inline void __list_add(struct list_head *new, in __list_add()
65 struct list_head *prev, struct list_head *next) in __list_add()
73 extern void __list_add(struct list_head *new,
74 struct list_head *prev, struct list_head *next);
85 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
98 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
[all …]
/freebsd-13-stable/sys/dev/isci/scil/
HDsci_fast_list.h90 (anchor)->list_head = NULL; \
108 #define sci_fast_list_is_empty(anchor) ((anchor)->list_head == NULL)
121 ((anchor)->list_head == NULL ? NULL: (anchor)->list_head->object)
134 ((anchor)->list_tail == NULL ? NULL: (anchor)->list_head->object)
190 struct SCI_FAST_LIST_ELEMENT *list_head; member
226 if ( anchor->list_head == NULL ) in sci_fast_list_insert_head()
229 anchor->list_head->prev = element; in sci_fast_list_insert_head()
230 element->next = anchor->list_head; in sci_fast_list_insert_head()
231 anchor->list_head = element; in sci_fast_list_insert_head()
254 anchor->list_head = element; in sci_fast_list_insert_tail()
[all …]
HDsci_simple_list.h87 (anchor)->list_head = NULL; \
105 #define sci_simple_list_is_empty(anchor) ((anchor)->list_head == NULL)
111 #define sci_simple_list_get_head(anchor) ((anchor)->list_head)
149 struct SCI_SIMPLE_LIST_ELEMENT *list_head; member
183 element->next = anchor->list_head; in sci_simple_list_insert_head()
184 anchor->list_head = element; in sci_simple_list_insert_head()
207 anchor->list_head = element; in sci_simple_list_insert_tail()
234 if (anchor->list_head != NULL) in sci_simple_list_remove_head()
236 object = anchor->list_head->object; in sci_simple_list_remove_head()
238 anchor->list_head = anchor->list_head->next; in sci_simple_list_remove_head()
[all …]
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/
HDlist.h48 typedef struct list_head list_node_t;
53 list_node_t list_head; member
62 return (list_empty(&list->list_head)); in list_is_empty()
77 INIT_LIST_HEAD(&list->list_head); in list_create()
83 list_del(&list->list_head); in list_destroy()
89 list_add(list_d2l(list, object), &list->list_head); in list_insert_head()
95 list_add_tail(list_d2l(list, object), &list->list_head); in list_insert_tail()
125 list_node_t *head = list->list_head.next; in list_remove_head()
126 if (head == &list->list_head) in list_remove_head()
136 list_node_t *tail = list->list_head.prev; in list_remove_tail()
[all …]
HDtaskq.h81 struct list_head tq_thread_list; /* list of all threads */
82 struct list_head tq_active_list; /* list of active threads */
96 struct list_head tq_free_list; /* free taskq_ent_t's */
97 struct list_head tq_pend_list; /* pending taskq_ent_t's */
98 struct list_head tq_prio_list; /* priority taskq_ent_t's */
99 struct list_head tq_delay_list; /* delayed taskq_ent_t's */
100 struct list_head tq_taskqs; /* all taskq_t's */
113 struct list_head tqent_list;
126 struct list_head tqt_thread_list;
127 struct list_head tqt_active_list;
[all …]
/freebsd-13-stable/sys/dev/drm2/
HDdrm_linux_list_sort.c33 int (*cmp)(void *, struct list_head *, struct list_head *);
40 struct list_head *le1, *le2; in drm_le_cmp()
44 le1 = *(__DECONST(struct list_head **, d1)); in drm_le_cmp()
45 le2 = *(__DECONST(struct list_head **, d2)); in drm_le_cmp()
53 drm_list_sort(void *priv, struct list_head *head, int (*cmp)(void *priv, in drm_list_sort()
54 struct list_head *a, struct list_head *b)) in drm_list_sort()
57 struct list_head **ar, *le; in drm_list_sort()
63 ar = malloc(sizeof(struct list_head *) * count, M_TEMP, M_WAITOK); in drm_list_sort()
69 qsort_r(ar, count, sizeof(struct list_head *), &thunk, drm_le_cmp); in drm_list_sort()
HDdrm_linux_list.h36 struct list_head { struct
37 struct list_head *next, *prev; argument
43 INIT_LIST_HEAD(struct list_head *head) { in INIT_LIST_HEAD()
51 struct list_head name = LIST_HEAD_INIT(name)
54 list_empty(const struct list_head *head) { in list_empty()
59 list_add(struct list_head *new, struct list_head *head) { in list_add()
67 list_add_tail(struct list_head *entry, struct list_head *head) { in list_add_tail()
75 list_del(struct list_head *entry) { in list_del()
80 static inline void list_replace(struct list_head *old, in list_replace()
81 struct list_head *new) in list_replace()
[all …]
HDdrm_crtc.h124 struct list_head head;
252 struct list_head head;
264 struct list_head filp_head;
271 struct list_head head;
278 struct list_head head;
283 struct list_head head;
290 struct list_head enum_blob_list;
386 struct list_head head;
492 struct list_head head;
566 struct list_head head;
[all …]
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/spl/
HDlist.c38 #define list_empty(a) ((a)->list_head.list_next == &(a)->list_head)
69 list->list_head.list_next = list->list_head.list_prev = in list_create()
70 &list->list_head; in list_create()
76 list_node_t *node = &list->list_head; in list_destroy()
79 ASSERT3P(list->list_head.list_next, ==, node); in list_destroy()
80 ASSERT3P(list->list_head.list_prev, ==, node); in list_destroy()
110 list_node_t *lold = &list->list_head; in list_insert_head()
117 list_node_t *lold = &list->list_head; in list_insert_tail()
133 list_node_t *head = list->list_head.list_next; in list_remove_head()
134 if (head == &list->list_head) in list_remove_head()
[all …]
/freebsd-13-stable/sys/contrib/openzfs/lib/libspl/
HDlist.c38 #define list_empty(a) ((a)->list_head.next == &(a)->list_head)
70 list->list_head.next = list->list_head.prev = &list->list_head; in list_create()
76 list_node_t *node = &list->list_head; in list_destroy()
79 ASSERT(list->list_head.next == node); in list_destroy()
80 ASSERT(list->list_head.prev == node); in list_destroy()
110 list_node_t *lold = &list->list_head; in list_insert_head()
117 list_node_t *lold = &list->list_head; in list_insert_tail()
133 list_node_t *head = list->list_head.next; in list_remove_head()
134 if (head == &list->list_head) in list_remove_head()
143 list_node_t *tail = list->list_head.prev; in list_remove_tail()
[all …]
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/
HDmad_priv.h68 struct list_head list;
88 struct list_head list;
94 struct list_head agent_list;
100 struct list_head send_list;
101 struct list_head wait_list;
102 struct list_head done_list;
105 struct list_head local_list;
107 struct list_head rmpp_list;
124 struct list_head agent_list;
140 struct list_head rmpp_list;
[all …]
HDuverbs.h112 struct list_head uverbs_file_list;
113 struct list_head uverbs_events_file_list;
124 struct list_head event_list;
125 struct list_head list;
136 struct list_head list;
145 struct list_head list;
146 struct list_head obj_list;
151 struct list_head list;
158 struct list_head event_list;
176 struct list_head mcast_list;
[all …]
/freebsd-13-stable/sys/netpfil/ipfw/test/
HDmylist.h9 struct list_head { struct
10 struct list_head *prev, *next; argument
16 __list_add(struct list_head *o, struct list_head *prev, in __list_add()
17 struct list_head *next) in __list_add()
26 list_add_tail(struct list_head *o, struct list_head *head) in list_add_tail()
35 __list_del(struct list_head *prev, struct list_head *next) in __list_del()
42 list_del(struct list_head *entry) in list_del()
/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
HDipoib.h187 struct list_head list;
264 struct list_head list;
274 struct list_head list;
288 struct list_head passive_ids; /* state: LIVE */
289 struct list_head rx_error_list; /* state: ERROR */
290 struct list_head rx_flush_list; /* state: FLUSH, drain not started */
291 struct list_head rx_drain_list; /* state: FLUSH, drain started */
292 struct list_head rx_reap_list; /* state: FLUSH, drain done */
299 struct list_head start_list;
300 struct list_head reap_list;
[all …]
/freebsd-13-stable/sys/dev/mlx5/mlx5_core/
HDfs_core.h58 struct list_head list;
72 struct list_head clients_data;
82 struct list_head dests;
96 struct list_head fgs;
117 struct list_head objs; /* each object is a namespace or ft */
131 struct list_head prios; /* list of fs_prios */
132 struct list_head list_notifiers;
149 struct list_head ftes;
158 struct list_head list;
167 struct list_head list;
[all …]
/freebsd-13-stable/sys/contrib/dev/iwlwifi/
HDiwl-dbg-tlv.h21 struct list_head list;
41 struct list_head trig_list;
42 struct list_head active_trig_list;
43 struct list_head hcmd_list;
44 struct list_head config_list;
/freebsd-13-stable/sys/dev/drm2/ttm/
HDttm_execbuf_util.h48 struct list_head head;
65 extern void ttm_eu_backoff_reservation(struct list_head *list);
92 extern int ttm_eu_reserve_buffers(struct list_head *list);
106 extern void ttm_eu_fence_buffer_objects(struct list_head *list, void *sync_obj);
/freebsd-13-stable/sys/dev/irdma/
HDirdma_verbs.h54 struct list_head cq_reg_mem_list;
56 struct list_head qp_reg_mem_list;
59 struct list_head vma_list;
69 struct list_head udqp_list;
119 struct list_head list;
124 struct list_head list;
174 struct list_head resize_list;
176 struct list_head cmpl_generated;
180 struct list_head list;
228 struct list_head teardown_entry;
[all …]

1234567891011