/tools/include/linux/ |
A D | list.h | 166 struct list_head *head) in list_move_tail() 178 const struct list_head *head) in list_is_last() 294 struct list_head *head) in list_splice() 306 struct list_head *head) in list_splice_tail() 320 struct list_head *head) in list_splice_init() 337 struct list_head *head) in list_splice_tail_init() 419 #define list_for_each(pos, head) \ argument 427 #define list_for_each_prev(pos, head) \ argument 436 #define list_for_each_safe(pos, n, head) \ argument 707 #define hlist_for_each(pos, head) \ argument [all …]
|
/tools/testing/selftests/bpf/progs/ |
A D | linked_list.c | 28 int list_push_pop(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map) in list_push_pop() 109 int list_push_pop_multiple(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_ma… in list_push_pop_multiple() 191 int list_in_list(struct bpf_spin_lock *lock, struct bpf_list_head *head, bool leave_in_map) in list_in_list() 261 int test_list_push_pop(struct bpf_spin_lock *lock, struct bpf_list_head *head) in test_list_push_pop() 272 int test_list_push_pop_multiple(struct bpf_spin_lock *lock, struct bpf_list_head *head) in test_list_push_pop_multiple() 283 int test_list_in_list(struct bpf_spin_lock *lock, struct bpf_list_head *head) in test_list_in_list()
|
A D | mptcp_bpf.h | 9 const struct list_head *head) in list_is_head() 23 #define list_entry_is_head(pos, head, member) \ argument 27 #define list_for_each_entry(pos, head, member) \ argument
|
A D | bpf_qdisc_fq.c | 167 fq_flows_add_head(struct bpf_list_head *head, struct bpf_spin_lock *lock, in fq_flows_add_head() 177 fq_flows_add_tail(struct bpf_list_head *head, struct bpf_spin_lock *lock, in fq_flows_add_tail() 187 fq_flows_remove_front(struct bpf_list_head *head, struct bpf_spin_lock *lock, in fq_flows_remove_front() 197 fq_flows_is_empty(struct bpf_list_head *head, struct bpf_spin_lock *lock) in fq_flows_is_empty() 464 struct bpf_list_head *head; in fq_dequeue_nonprio_flows() local
|
/tools/testing/selftests/bpf/ |
A D | bpf_arena_htab.h | 9 struct arena_list_head head; member 40 static hashtab_elem_t *lookup_elem_raw(arena_list_head_t *head, __u32 hash, int key) in lookup_elem_raw() 59 arena_list_head_t *head; in htab_lookup_elem() local 72 arena_list_head_t *head; in htab_update_elem() local
|
A D | bpf_experimental.h | 70 #define bpf_list_push_front(head, node) bpf_list_push_front_impl(head, node, NULL, 0) argument 86 #define bpf_list_push_back(head, node) bpf_list_push_back_impl(head, node, NULL, 0) argument 124 #define bpf_rbtree_add(head, node, less) bpf_rbtree_add_impl(head, node, less, NULL, 0) argument
|
/tools/lib/ |
A D | list_sort.c | 16 struct list_head *head, **tail = &head; in merge() local 49 static void merge_final(void *priv, list_cmp_func_t cmp, struct list_head *head, in merge_final() 172 void list_sort(void *priv, struct list_head *head, list_cmp_func_t cmp) in list_sort()
|
/tools/virtio/ringtest/ |
A D | virtio_ring_0_9.c | 101 unsigned head; in add_inbuf() local 154 unsigned head; in get_buf() local 201 unsigned short head = last_used_idx & (ring_size - 1); in used_empty() local 260 unsigned head = host.used_idx; in avail_empty() local 274 unsigned head; in use_buf() local
|
A D | ring.c | 114 unsigned head, index; in add_inbuf() local 145 unsigned head = (ring_size - 1) & guest.last_used_idx; in get_buf() local 166 unsigned head = (ring_size - 1) & guest.last_used_idx; in used_empty() local 221 unsigned head = (ring_size - 1) & host.used_idx; in avail_empty() local 228 unsigned head = (ring_size - 1) & host.used_idx; in use_buf() local
|
/tools/testing/shared/linux/ |
A D | radix-tree.h | 10 static inline void trace_call_rcu(struct rcu_head *head, in trace_call_rcu() 11 void (*func)(struct rcu_head *head)) in trace_call_rcu()
|
/tools/usb/usbip/libsrc/ |
A D | list.h | 58 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() 111 #define list_for_each(pos, head) \ argument 120 #define list_for_each_safe(pos, n, head) \ argument
|
/tools/testing/vsock/ |
A D | vsock_diag_test.c | 106 static void print_vsock_stats(FILE *fp, struct list_head *head) in print_vsock_stats() 114 static struct vsock_stat *find_vsock_stat(struct list_head *head, int fd) in find_vsock_stat() 132 static void check_no_sockets(struct list_head *head) in check_no_sockets() 141 static void check_num_sockets(struct list_head *head, int expected) in check_num_sockets()
|
/tools/testing/selftests/arm64/signal/testcases/ |
A D | testcases.c | 118 struct _aarch64_ctx *head = in validate_reserved() local 310 struct _aarch64_ctx *head; in get_starting_head() local
|
A D | testcases.h | 95 static inline struct _aarch64_ctx *get_header(struct _aarch64_ctx *head, uint32_t magic, in get_header() 119 static inline struct _aarch64_ctx *get_terminator(struct _aarch64_ctx *head, in get_terminator()
|
A D | fake_sigreturn_bad_magic.c | 21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_magic_run() local
|
A D | fake_sigreturn_bad_size_for_magic0.c | 21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_size_for_magic0_run() local
|
A D | fake_sigreturn_duplicated_fpsimd.c | 21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_duplicated_fpsimd_run() local
|
A D | fake_sigreturn_missing_fpsimd.c | 23 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in fake_sigreturn_missing_fpsimd_run() local
|
A D | zt_no_regs.c | 24 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context); in zt_no_regs_run() local
|
A D | fake_sigreturn_bad_size.c | 24 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_size_run() local
|
A D | fake_sigreturn_sme_change_vl.c | 37 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in fake_sigreturn_ssve_change_vl() local
|
A D | fake_sigreturn_sve_change_vl.c | 37 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in fake_sigreturn_sve_change_vl() local
|
A D | sme_vl.c | 33 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in sme_vl() local
|
/tools/perf/util/ |
A D | block-range.c | 116 struct block_range *head = malloc(sizeof(struct block_range)); in block_range__create() local 163 struct block_range *head = malloc(sizeof(struct block_range)); in block_range__create() local
|
/tools/virtio/ |
A D | vringh_test.c | 111 static inline int vringh_get_head(struct vringh *vrh, u16 *head) in vringh_get_head() 201 u16 head, written; in parallel_test() local 452 u16 head; in main() local
|