| /tools/include/linux/ |
| D | list.h | 61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() 75 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() 154 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() 166 struct list_head *head) in list_move_tail() 178 const struct list_head *head) in list_is_last() 187 static inline int list_empty(const struct list_head *head) in list_empty() 205 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() 215 static inline void list_rotate_left(struct list_head *head) in list_rotate_left() 229 static inline int list_is_singular(const struct list_head *head) in list_is_singular() 235 struct list_head *head, struct list_head *entry) in __list_cut_position() [all …]
|
| /tools/virtio/ringtest/ |
| 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
|
| 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/lib/ |
| D | list_sort.c | 18 struct list_head *head, **tail = &head; in merge() local 51 static void merge_final(void *priv, list_cmp_func_t cmp, struct list_head *head, in merge_final() 184 void list_sort(void *priv, struct list_head *head, list_cmp_func_t cmp) in list_sort()
|
| /tools/testing/radix-tree/linux/ |
| 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/testing/selftests/arm64/signal/testcases/ |
| D | testcases.c | 5 struct _aarch64_ctx *get_header(struct _aarch64_ctx *head, uint32_t magic, in get_header() 116 struct _aarch64_ctx *head = in validate_reserved() local 261 struct _aarch64_ctx *head; in get_starting_head() local
|
| D | fake_sigreturn_bad_magic.c | 21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_magic_run() local
|
| D | fake_sigreturn_duplicated_fpsimd.c | 21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_duplicated_fpsimd_run() local
|
| 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
|
| D | fake_sigreturn_missing_fpsimd.c | 23 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in fake_sigreturn_missing_fpsimd_run() local
|
| D | fake_sigreturn_bad_size.c | 24 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_size_run() local
|
| D | sme_vl.c | 33 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in sme_vl() local
|
| D | sve_vl.c | 33 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in sve_vl() local
|
| D | fake_sigreturn_sme_change_vl.c | 53 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in fake_sigreturn_ssve_change_vl() local
|
| D | fake_sigreturn_sve_change_vl.c | 55 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in fake_sigreturn_sve_change_vl() local
|
| /tools/usb/usbip/libsrc/ |
| 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/ |
| D | vsock_diag_test.c | 104 static void print_vsock_stats(FILE *fp, struct list_head *head) in print_vsock_stats() 112 static struct vsock_stat *find_vsock_stat(struct list_head *head, int fd) in find_vsock_stat() 130 static void check_no_sockets(struct list_head *head) in check_no_sockets() 139 static void check_num_sockets(struct list_head *head, int expected) in check_num_sockets()
|
| /tools/perf/util/ |
| D | block-range.c | 120 struct block_range *head = malloc(sizeof(struct block_range)); in block_range__create() local 167 struct block_range *head = malloc(sizeof(struct block_range)); in block_range__create() local
|
| D | dsos.c | 76 bool __dsos__read_build_ids(struct list_head *head, bool with_hits) in __dsos__read_build_ids() 307 size_t __dsos__fprintf_buildid(struct list_head *head, FILE *fp, in __dsos__fprintf_buildid() 324 size_t __dsos__fprintf(struct list_head *head, FILE *fp) in __dsos__fprintf()
|
| D | dsos.h | 19 struct list_head head; member
|
| D | pmu.c | 51 int perf_pmu__format_parse(char *dir, struct list_head *head) in perf_pmu__format_parse() 452 static int pmu_aliases_parse(char *dir, struct list_head *head) in pmu_aliases_parse() 496 static int pmu_aliases(const char *name, struct list_head *head) in pmu_aliases() 795 struct list_head *head; member 829 void pmu_add_cpu_aliases_table(struct list_head *head, struct perf_pmu *pmu, in pmu_add_cpu_aliases_table() 842 static void pmu_add_cpu_aliases(struct list_head *head, struct perf_pmu *pmu) in pmu_add_cpu_aliases() 854 struct list_head *head; member 886 void pmu_add_sys_aliases(struct list_head *head, struct perf_pmu *pmu) in pmu_add_sys_aliases()
|
| D | ordered-events.c | 226 struct list_head *head = &oe->events; in do_flush() local 295 struct list_head *head = &oe->events; in __ordered_events__flush() local
|
| /tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
| D | misc.c | 9 void wakeme_after_rcu(struct rcu_head *head) in wakeme_after_rcu()
|
| /tools/virtio/ |
| D | vringh_test.c | 111 static inline int vringh_get_head(struct vringh *vrh, u16 *head) in vringh_get_head() 198 u16 head, written; in parallel_test() local 449 u16 head; in main() local
|
| /tools/testing/selftests/rseq/ |
| D | basic_percpu_ops_test.c | 39 struct percpu_list_node *head; member 168 struct percpu_list_node *head; in this_cpu_list_pop() local
|