| /tools/include/linux/ |
| D | list.h | 60 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() 74 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() 153 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() 165 struct list_head *head) in list_move_tail() 177 const struct list_head *head) in list_is_last() 186 static inline int list_empty(const struct list_head *head) in list_empty() 204 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() 214 static inline void list_rotate_left(struct list_head *head) in list_rotate_left() 228 static inline int list_is_singular(const struct list_head *head) in list_is_singular() 234 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 258 unsigned head = host.used_idx; in avail_empty() local 272 unsigned head; in use_buf() local
|
| D | ring.c | 116 unsigned head, index; in add_inbuf() local 147 unsigned head = (ring_size - 1) & guest.last_used_idx; in get_buf() local 168 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/ |
| D | rcupdate.c | 15 void call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *head)) in call_rcu()
|
| /tools/usb/usbip/libsrc/ |
| D | list.h | 57 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() 110 #define list_for_each(pos, head) \ argument 119 #define list_for_each_safe(pos, n, head) \ argument
|
| /tools/perf/util/ |
| D | parse-events.y | 97 struct list_head *head; member 236 struct list_head *head; variable 254 struct list_head *head; variable 494 struct list_head *head = $1; variable 504 struct list_head *head = malloc(sizeof(*head)); variable
|
| D | block-range.c | 117 struct block_range *head = malloc(sizeof(struct block_range)); in block_range__create() local 164 struct block_range *head = malloc(sizeof(struct block_range)); in block_range__create() local
|
| D | ordered-events.c | 188 struct list_head *head = &oe->events; in __ordered_events__flush() local 251 struct list_head *head = &oe->events; in ordered_events__flush() local
|
| D | auxtrace.c | 536 unsigned char *data, u64 *head, u64 *old) in auxtrace_record__find_snapshot() 579 static int auxtrace_index__alloc(struct list_head *head) in auxtrace_index__alloc() 595 void auxtrace_index__free(struct list_head *head) in auxtrace_index__free() 605 static struct auxtrace_index *auxtrace_index__last(struct list_head *head) in auxtrace_index__last() 629 int auxtrace_index__auxtrace_event(struct list_head *head, in auxtrace_index__auxtrace_event() 662 int auxtrace_index__write(int fd, struct list_head *head) in auxtrace_index__write() 683 static int auxtrace_index__process_entry(int fd, struct list_head *head, in auxtrace_index__process_entry() 715 struct list_head *head = &session->auxtrace_index; in auxtrace_index__process() local 1172 u64 head, old = mm->prev, offset, ref; in __auxtrace_mmap__read() local
|
| D | auxtrace.h | 194 struct list_head head; member 359 struct list_head head; member 374 u64 head = ACCESS_ONCE(pc->aux_head); in auxtrace_mmap__read_snapshot_head() local 385 u64 head = ACCESS_ONCE(pc->aux_head); in auxtrace_mmap__read_head() local 387 u64 head = __sync_val_compare_and_swap(&pc->aux_head, 0, 0); in auxtrace_mmap__read_head() local
|
| D | pmu.c | 37 int perf_pmu__format_parse(char *dir, struct list_head *head) in perf_pmu__format_parse() 305 static int pmu_aliases_parse(char *dir, struct list_head *head) in pmu_aliases_parse() 349 static int pmu_aliases(const char *name, struct list_head *head) in pmu_aliases() 501 static void pmu_add_cpu_aliases(struct list_head *head) in pmu_add_cpu_aliases()
|
| D | build-id.c | 318 #define dsos__for_each_with_build_id(pos, head) \ argument 409 static int __dsos__hit_all(struct list_head *head) in __dsos__hit_all() 786 static int __dsos__cache_build_ids(struct list_head *head, in __dsos__cache_build_ids()
|
| D | dso.c | 1178 bool __dsos__read_build_ids(struct list_head *head, bool with_hits) in __dsos__read_build_ids() 1285 size_t __dsos__fprintf_buildid(struct list_head *head, FILE *fp, in __dsos__fprintf_buildid() 1300 size_t __dsos__fprintf(struct list_head *head, FILE *fp) in __dsos__fprintf()
|
| D | evlist.c | 572 struct hlist_head *head; in perf_evlist__id2sid() local 643 struct hlist_head *head; in perf_evlist__event2evsel() local 774 u64 head; in perf_mmap__read_forward() local 791 u64 head, end; in perf_mmap__read_backward() local 857 u64 head; in perf_mmap__read_catchup() local
|
| D | annotate.c | 813 static void disasm__add(struct list_head *head, struct disasm_line *line) in disasm__add() 818 struct disasm_line *disasm__get_next_ip_line(struct list_head *head, struct disasm_line *pos) in disasm__get_next_ip_line() 1759 void disasm__purge(struct list_head *head) in disasm__purge() 1786 size_t disasm__fprintf(struct list_head *head, FILE *fp) in disasm__fprintf()
|
| D | evlist.h | 274 u64 head = ACCESS_ONCE(pc->data_head); in perf_mmap__read_head() local
|
| /tools/virtio/ |
| D | vringh_test.c | 110 static inline int vringh_get_head(struct vringh *vrh, u16 *head) in vringh_get_head() 197 u16 head, written; in parallel_test() local 445 u16 head; in main() local
|
| /tools/testing/selftests/timers/ |
| D | clocksource-switch.c | 56 char *head, *tmp; in get_clocksources() local
|
| /tools/lguest/ |
| D | lguest.c | 744 unsigned int i, head, max; in wait_for_vq_desc() local 916 static void add_used(struct virtqueue *vq, unsigned int head, int len) in add_used() 934 static void add_used_and_trigger(struct virtqueue *vq, unsigned head, int len) in add_used_and_trigger() 956 unsigned int head, in_num, out_num; in console_input() local 1010 unsigned int head, out, in; in console_output() local 1048 unsigned int head, out, in; in net_output() local 1092 unsigned int head, out, in; in net_input() local 2941 unsigned int head, out_num, in_num, wlen; in blk_request() local 3083 unsigned int head, in_num, out_num, totlen = 0; in rng_input() local
|
| /tools/perf/arch/x86/util/ |
| D | intel-pt.c | 930 void *data, size_t head) in intel_pt_compare_ref() 946 void *data, size_t head) in intel_pt_copy_ref() 959 u64 head) in intel_pt_wrapped() 993 u64 *head, u64 *old) in intel_pt_find_snapshot()
|
| D | intel-bts.c | 369 u64 *head, u64 *old) in intel_bts_find_snapshot()
|
| /tools/perf/ui/ |
| D | browser.c | 92 struct list_head *head = browser->entries; in ui_browser__list_head_seek() local 485 struct list_head *head = browser->entries; in ui_browser__list_head_refresh() local
|
| /tools/perf/ |
| D | builtin-record.c | 89 backward_rb_find_range(void *buf, int mask, u64 head, u64 *start, u64 *end) in backward_rb_find_range() 123 rb_find_range(void *data, int mask, u64 head, u64 old, in rb_find_range() 139 u64 head = perf_mmap__read_head(md); in record__mmap_read() local
|
| D | builtin-kvm.c | 129 struct list_head *head; in clear_events_cache_stats() local 199 struct list_head *head; in find_create_kvm_event() local
|
| /tools/perf/arch/arm/util/ |
| D | cs-etm.c | 464 u64 *head, u64 *old) in cs_etm_find_snapshot()
|