Home
last modified time | relevance | path

Searched defs:head (Results 1 – 25 of 119) sorted by relevance

12345

/include/linux/
Dplist.h86 #define PLIST_HEAD_INIT(head) \ argument
95 #define PLIST_HEAD(head) \ argument
115 plist_head_init(struct plist_head *head) in plist_head_init()
142 #define plist_for_each(pos, head) \ argument
152 #define plist_for_each_continue(pos, head) \ argument
163 #define plist_for_each_safe(pos, n, head) \ argument
172 #define plist_for_each_entry(pos, head, mem) \ argument
184 #define plist_for_each_entry_continue(pos, head, m) \ argument
196 #define plist_for_each_entry_safe(pos, n, head, m) \ argument
203 static inline int plist_head_empty(const struct plist_head *head) in plist_head_empty()
[all …]
Dlist.h167 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
181 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
296 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
308 struct list_head *head) in list_move_tail()
323 static inline void list_bulk_move_tail(struct list_head *head, in list_bulk_move_tail()
342 static inline int list_is_first(const struct list_head *list, const struct list_head *head) in list_is_first()
352 static inline int list_is_last(const struct list_head *list, const struct list_head *head) in list_is_last()
362 static inline int list_is_head(const struct list_head *list, const struct list_head *head) in list_is_head()
371 static inline int list_empty(const struct list_head *head) in list_empty()
407 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
[all …]
Dbtree-128.h6 static inline void btree_init_mempool128(struct btree_head128 *head, in btree_init_mempool128()
12 static inline int btree_init128(struct btree_head128 *head) in btree_init128()
17 static inline void btree_destroy128(struct btree_head128 *head) in btree_destroy128()
22 static inline void *btree_lookup128(struct btree_head128 *head, u64 k1, u64 k2) in btree_lookup128()
28 static inline void *btree_get_prev128(struct btree_head128 *head, in btree_get_prev128()
41 static inline int btree_insert128(struct btree_head128 *head, u64 k1, u64 k2, in btree_insert128()
49 static inline int btree_update128(struct btree_head128 *head, u64 k1, u64 k2, in btree_update128()
57 static inline void *btree_remove128(struct btree_head128 *head, u64 k1, u64 k2) in btree_remove128()
63 static inline void *btree_last128(struct btree_head128 *head, u64 *k1, u64 *k2) in btree_last128()
90 static inline size_t btree_visitor128(struct btree_head128 *head, in btree_visitor128()
[all …]
Drculist.h42 #define list_tail_rcu(head) (*((struct list_head __rcu **)(&(head)->prev))) argument
104 static inline void list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu()
126 struct list_head *head) in list_add_tail_rcu()
278 struct list_head *head, in list_splice_init_rcu()
293 struct list_head *head, in list_splice_tail_init_rcu()
372 #define list_next_or_null_rcu(head, ptr, type, member) \ argument
392 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument
411 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument
446 #define list_for_each_entry_lockless(pos, head, member) \ argument
469 #define list_for_each_entry_continue_rcu(pos, head, member) \ argument
[all …]
Dcirc_buf.h11 int head; member
16 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument
21 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument
26 #define CIRC_CNT_TO_END(head,tail,size) \ argument
32 #define CIRC_SPACE_TO_END(head,tail,size) \ argument
Dllist.h216 static inline bool llist_empty(const struct llist_head *head) in llist_empty()
232 struct llist_head *head) in __llist_add_batch()
246 static inline bool llist_add(struct llist_node *new, struct llist_head *head) in llist_add()
251 static inline bool __llist_add(struct llist_node *new, struct llist_head *head) in __llist_add()
264 static inline struct llist_node *llist_del_all(struct llist_head *head) in llist_del_all()
269 static inline struct llist_node *__llist_del_all(struct llist_head *head) in __llist_del_all()
286 static inline struct llist_node *llist_del_first_init(struct llist_head *head) in llist_del_first_init()
Drculist_nulls.h45 #define hlist_nulls_first_rcu(head) \ argument
167 #define hlist_nulls_for_each_entry_rcu(tpos, pos, head, member) \ argument
182 #define hlist_nulls_for_each_entry_safe(tpos, pos, head, member) \ argument
Dbtree.h216 #define btree_for_each_safel(head, key, val) \ argument
227 #define btree_for_each_safe32(head, key, val) \ argument
239 #define btree_for_each_safe64(head, key, val) \ argument
Dtimerqueue.h23 struct timerqueue_node *timerqueue_getnext(struct timerqueue_head *head) in timerqueue_getnext()
40 static inline void timerqueue_init_head(struct timerqueue_head *head) in timerqueue_init_head()
Dacpi_iort.h54 void iort_get_rmr_sids(struct fwnode_handle *iommu_fwnode, struct list_head *head) { } in iort_get_rmr_sids()
56 void iort_put_rmr_sids(struct fwnode_handle *iommu_fwnode, struct list_head *head) { } in iort_put_rmr_sids()
63 void iort_iommu_get_resv_regions(struct device *dev, struct list_head *head) in iort_iommu_get_resv_regions()
Dnotifier.h62 struct notifier_block __rcu *head; member
67 struct notifier_block __rcu *head; member
71 struct notifier_block __rcu *head; member
78 struct notifier_block __rcu *head; member
Dobjpool.h54 uint32_t head; member
130 uint32_t head = smp_load_acquire(&slot->head); in __objpool_try_get_slot() local
195 uint32_t head, tail; in __objpool_try_add_slot() local
Dpipe_fs_i.h61 unsigned int head; member
148 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty()
158 static inline unsigned int pipe_occupancy(unsigned int head, unsigned int tail) in pipe_occupancy()
169 static inline bool pipe_full(unsigned int head, unsigned int tail, in pipe_full()
Drcu_segcblist.h22 struct rcu_head *head; member
191 struct rcu_head *head; member
Dresource_ext.h35 struct list_head *head) in resource_list_add()
41 struct list_head *head) in resource_list_add_tail()
Dreboot-mode.h7 struct list_head head; member
Ddma-fence-unwrap.h47 #define dma_fence_unwrap_for_each(fence, cursor, head) \ argument
Dlist_bl.h169 #define hlist_bl_for_each_entry(tpos, pos, head, member) \ argument
183 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \ argument
/include/linux/sched/
Dwake_q.h52 static inline void wake_q_init(struct wake_q_head *head) in wake_q_init()
59 static inline bool wake_q_empty(struct wake_q_head *head) in wake_q_empty()
/include/uapi/linux/
Dvirtio_iommu.h75 struct virtio_iommu_req_head head; member
84 struct virtio_iommu_req_head head; member
100 struct virtio_iommu_req_head head; member
110 struct virtio_iommu_req_head head; member
132 struct virtio_iommu_probe_property head; member
140 struct virtio_iommu_req_head head; member
/include/net/
Dioam6.h19 struct rhash_head head; member
30 struct rhash_head head; member
Dinet_common.h77 #define indirect_call_gro_receive(f2, f1, cb, head, skb) \ argument
/include/drm/ttm/
Dttm_execbuf_util.h49 struct list_head head; member
/include/drm/
Ddrm_property.h50 struct list_head head; member
84 struct list_head head; member
/include/net/netfilter/
Dnf_conntrack_count.h14 struct list_head head; /* connections with the same filtering key */ member

12345