Home
last modified time | relevance | path

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

12345

/include/linux/
Dplist.h96 #define PLIST_HEAD_INIT(head) \ argument
105 #define PLIST_HEAD(head) \ argument
125 plist_head_init(struct plist_head *head) in plist_head_init()
152 #define plist_for_each(pos, head) \ argument
162 #define plist_for_each_continue(pos, head) \ argument
173 #define plist_for_each_safe(pos, n, head) \ argument
182 #define plist_for_each_entry(pos, head, mem) \ argument
194 #define plist_for_each_entry_continue(pos, head, m) \ argument
206 #define plist_for_each_entry_safe(pos, n, head, m) \ argument
213 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()
275 struct list_head *head, in list_splice_init_rcu()
290 struct list_head *head, in list_splice_tail_init_rcu()
369 #define list_next_or_null_rcu(head, ptr, type, member) \ argument
389 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument
408 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument
443 #define list_for_each_entry_lockless(pos, head, member) \ argument
466 #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.h189 static inline bool llist_empty(const struct llist_head *head) in llist_empty()
205 struct llist_head *head) in __llist_add_batch()
219 static inline bool llist_add(struct llist_node *new, struct llist_head *head) in llist_add()
224 static inline bool __llist_add(struct llist_node *new, struct llist_head *head) in __llist_add()
237 static inline struct llist_node *llist_del_all(struct llist_head *head) in llist_del_all()
242 static inline struct llist_node *__llist_del_all(struct llist_head *head) in __llist_del_all()
Dfreelist.h24 struct freelist_node *head; member
46 struct freelist_node *head = READ_ONCE(list->head); in __freelist_add() local
81 struct freelist_node *prev, *next, *head = smp_load_acquire(&list->head); in freelist_try_get() local
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
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
Dtimerqueue.h34 struct timerqueue_node *timerqueue_getnext(struct timerqueue_head *head) in timerqueue_getnext()
56 static inline void timerqueue_init_head(struct timerqueue_head *head) in timerqueue_init_head()
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
207 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
Drcupdate_wait.h16 struct rcu_head head; member
Ddma-fence-unwrap.h47 #define dma_fence_unwrap_for_each(fence, cursor, head) \ 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.h18 struct rhash_head head; member
29 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