| /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/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/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/perf/util/ |
| D | dsos.c | 12 bool __dsos__read_build_ids(struct list_head *head, bool with_hits) in __dsos__read_build_ids() 207 size_t __dsos__fprintf_buildid(struct list_head *head, FILE *fp, in __dsos__fprintf_buildid() 222 size_t __dsos__fprintf(struct list_head *head, FILE *fp) in __dsos__fprintf()
|
| 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 | parse-events.y | 104 struct list_head *head; member 534 struct list_head *head = $1; variable 544 struct list_head *head = malloc(sizeof(*head)); variable
|
| D | dsos.h | 18 struct list_head head; member
|
| D | metricgroup.h | 16 struct list_head head; /* list of metric_expr */ member
|
| D | ordered-events.c | 225 struct list_head *head = &oe->events; in do_flush() local 294 struct list_head *head = &oe->events; in __ordered_events__flush() local
|
| D | auxtrace.c | 554 unsigned char *data, u64 *head, u64 *old) in auxtrace_record__find_snapshot() 607 static int auxtrace_index__alloc(struct list_head *head) in auxtrace_index__alloc() 623 void auxtrace_index__free(struct list_head *head) in auxtrace_index__free() 633 static struct auxtrace_index *auxtrace_index__last(struct list_head *head) in auxtrace_index__last() 657 int auxtrace_index__auxtrace_event(struct list_head *head, in auxtrace_index__auxtrace_event() 690 int auxtrace_index__write(int fd, struct list_head *head) in auxtrace_index__write() 711 static int auxtrace_index__process_entry(int fd, struct list_head *head, in auxtrace_index__process_entry() 743 struct list_head *head = &session->auxtrace_index; in auxtrace_index__process() local 1237 u64 head, old = mm->prev, offset, ref; in __auxtrace_mmap__read() local
|
| D | auxtrace.h | 213 struct list_head head; member 379 struct list_head head; member 396 u64 head = READ_ONCE(pc->aux_head); in auxtrace_mmap__read_snapshot_head() local 407 u64 head = READ_ONCE(pc->aux_head); in auxtrace_mmap__read_head() local 409 u64 head = __sync_val_compare_and_swap(&pc->aux_head, 0, 0); in auxtrace_mmap__read_head() 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()
|
| D | misc.h | 40 struct rcu_head head; member
|
| /tools/testing/vsock/ |
| D | vsock_diag_test.c | 114 static void print_vsock_stats(FILE *fp, struct list_head *head) in print_vsock_stats() 122 static struct vsock_stat *find_vsock_stat(struct list_head *head, int fd) in find_vsock_stat() 140 static void check_no_sockets(struct list_head *head) in check_no_sockets() 149 static void check_num_sockets(struct list_head *head, int expected) in check_num_sockets()
|
| /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 447 u16 head; in main() local
|
| /tools/testing/selftests/rseq/ |
| D | basic_percpu_ops_test.c | 40 struct percpu_list_node *head; member 169 struct percpu_list_node *head; in this_cpu_list_pop() local
|
| /tools/io_uring/ |
| D | queue.c | 16 unsigned head; in __io_uring_get_cqe() local
|
| D | io_uring-bench.c | 38 unsigned *head; member 47 unsigned *head; member 248 unsigned head, reaped = 0; in reap_events() local
|
| /tools/testing/selftests/timers/ |
| D | clocksource-switch.c | 45 char *head, *tmp; in get_clocksources() local
|
| /tools/perf/ |
| D | builtin-ftrace.c | 425 struct list_head *head = opt->value; in parse_filter_func() local 438 static void delete_filter_func(struct list_head *head) in delete_filter_func()
|
| /tools/lib/bpf/ |
| D | nlattr.h | 60 #define libbpf_nla_for_each_attr(pos, head, len, rem) \ argument
|
| D | nlattr.c | 103 int libbpf_nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, in libbpf_nla_parse()
|
| /tools/perf/arch/x86/util/ |
| D | intel-pt.c | 964 void *data, size_t head) in intel_pt_compare_ref() 980 void *data, size_t head) in intel_pt_copy_ref() 993 u64 head) in intel_pt_wrapped() 1027 u64 *head, u64 *old) in intel_pt_find_snapshot()
|