Home
last modified time | relevance | path

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

12345

/include/linux/
Dplist.h93 #define PLIST_HEAD_INIT(head) \ argument
102 #define PLIST_HEAD(head) \ argument
122 plist_head_init(struct plist_head *head) in plist_head_init()
149 #define plist_for_each(pos, head) \ argument
159 #define plist_for_each_continue(pos, head) \ argument
170 #define plist_for_each_safe(pos, n, head) \ argument
179 #define plist_for_each_entry(pos, head, mem) \ argument
191 #define plist_for_each_entry_continue(pos, head, m) \ argument
203 #define plist_for_each_entry_safe(pos, n, head, m) \ argument
210 static inline int plist_head_empty(const struct plist_head *head) in plist_head_empty()
[all …]
Dlist.h84 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()
213 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
225 struct list_head *head) in list_move_tail()
240 static inline void list_bulk_move_tail(struct list_head *head, in list_bulk_move_tail()
259 static inline int list_is_first(const struct list_head *list, const struct list_head *head) in list_is_first()
269 static inline int list_is_last(const struct list_head *list, const struct list_head *head) in list_is_last()
279 static inline int list_is_head(const struct list_head *list, const struct list_head *head) in list_is_head()
288 static inline int list_empty(const struct list_head *head) in list_empty()
324 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.h187 static inline bool llist_empty(const struct llist_head *head) in llist_empty()
203 struct llist_head *head) in __llist_add_batch()
217 static inline bool llist_add(struct llist_node *new, struct llist_head *head) in llist_add()
222 static inline bool __llist_add(struct llist_node *new, struct llist_head *head) in __llist_add()
235 static inline struct llist_node *llist_del_all(struct llist_head *head) in llist_del_all()
240 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
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()
Ddma-fence-unwrap.h54 dma_fence_unwrap_first(struct dma_fence *head, struct dma_fence_unwrap *cursor) in dma_fence_unwrap_first()
91 #define dma_fence_unwrap_for_each(fence, cursor, head) \ argument
Dnotifier.h62 struct notifier_block __rcu *head; member
67 struct notifier_block __rcu *head; member
71 struct notifier_block __rcu *head; member
77 struct notifier_block __rcu *head; member
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()
181 static inline unsigned int pipe_space_for_user(unsigned int head, unsigned int tail, in pipe_space_for_user()
Drcu_segcblist.h22 struct rcu_head *head; member
184 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
/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.h70 struct virtio_iommu_req_head head; member
78 struct virtio_iommu_req_head head; member
94 struct virtio_iommu_req_head head; member
104 struct virtio_iommu_req_head head; member
126 struct virtio_iommu_probe_property head; member
134 struct virtio_iommu_req_head head; member
/include/net/
Dioam6.h18 struct rhash_head head; member
29 struct rhash_head head; member
Dgro.h18 #define indirect_call_gro_receive_inet(cb, f2, f1, head, skb) \ argument
Dinet_common.h68 #define indirect_call_gro_receive(f2, f1, cb, head, skb) \ argument
/include/net/netfilter/
Dnf_conntrack_count.h13 struct list_head head; /* connections with the same filtering key */ member
/include/drm/ttm/
Dttm_execbuf_util.h47 struct list_head head; member
/include/drm/
Ddrm_property.h50 struct list_head head; member
84 struct list_head head; member

12345