Home
last modified time | relevance | path

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

12

/tools/include/linux/
Dlist.h61 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/
Dvirtio_ring_0_9.c101 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
Dring.c116 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/linux/
Dradix-tree.h11 static inline void trace_call_rcu(struct rcu_head *head, in trace_call_rcu()
12 void (*func)(struct rcu_head *head)) in trace_call_rcu()
/tools/usb/usbip/libsrc/
Dlist.h58 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/selftests/rcutorture/formal/srcu-cbmc/src/
Dmisc.c9 void wakeme_after_rcu(struct rcu_head *head) in wakeme_after_rcu()
Dmisc.h40 struct rcu_head head; member
/tools/perf/util/
Dblock-range.c118 struct block_range *head = malloc(sizeof(struct block_range)); in block_range__create() local
165 struct block_range *head = malloc(sizeof(struct block_range)); in block_range__create() local
Dparse-events.y102 struct list_head *head; member
515 struct list_head *head = $1; variable
525 struct list_head *head = malloc(sizeof(*head)); variable
Dordered-events.c191 struct list_head *head = &oe->events; in __ordered_events__flush() local
254 struct list_head *head = &oe->events; in ordered_events__flush() local
Dauxtrace.c551 unsigned char *data, u64 *head, u64 *old) in auxtrace_record__find_snapshot()
594 static int auxtrace_index__alloc(struct list_head *head) in auxtrace_index__alloc()
610 void auxtrace_index__free(struct list_head *head) in auxtrace_index__free()
620 static struct auxtrace_index *auxtrace_index__last(struct list_head *head) in auxtrace_index__last()
644 int auxtrace_index__auxtrace_event(struct list_head *head, in auxtrace_index__auxtrace_event()
677 int auxtrace_index__write(int fd, struct list_head *head) in auxtrace_index__write()
698 static int auxtrace_index__process_entry(int fd, struct list_head *head, in auxtrace_index__process_entry()
730 struct list_head *head = &session->auxtrace_index; in auxtrace_index__process() local
1195 u64 head, old = mm->prev, offset, ref; in __auxtrace_mmap__read() local
Dauxtrace.h204 struct list_head head; member
369 struct list_head head; member
384 u64 head = ACCESS_ONCE(pc->aux_head); in auxtrace_mmap__read_snapshot_head() local
395 u64 head = ACCESS_ONCE(pc->aux_head); in auxtrace_mmap__read_head() local
397 u64 head = __sync_val_compare_and_swap(&pc->aux_head, 0, 0); in auxtrace_mmap__read_head() local
Dpmu.c41 int perf_pmu__format_parse(char *dir, struct list_head *head) in perf_pmu__format_parse()
329 static int pmu_aliases_parse(char *dir, struct list_head *head) in pmu_aliases_parse()
373 static int pmu_aliases(const char *name, struct list_head *head) in pmu_aliases()
554 static void pmu_add_cpu_aliases(struct list_head *head, const char *name) in pmu_add_cpu_aliases()
Dbuild-id.c287 #define dsos__for_each_with_build_id(pos, head) \ argument
380 static int __dsos__hit_all(struct list_head *head) in __dsos__hit_all()
828 static int __dsos__cache_build_ids(struct list_head *head, in __dsos__cache_build_ids()
Devlist.c577 struct hlist_head *head; in perf_evlist__id2sid() local
648 struct hlist_head *head; in perf_evlist__event2evsel() local
779 u64 head; in perf_mmap__read_forward() local
796 u64 head, end; in perf_mmap__read_backward() local
862 u64 head; in perf_mmap__read_catchup() local
Ddso.c1317 bool __dsos__read_build_ids(struct list_head *head, bool with_hits) in __dsos__read_build_ids()
1427 size_t __dsos__fprintf_buildid(struct list_head *head, FILE *fp, in __dsos__fprintf_buildid()
1442 size_t __dsos__fprintf(struct list_head *head, FILE *fp) in __dsos__fprintf()
Dannotate.c933 static void disasm__add(struct list_head *head, struct disasm_line *line) in disasm__add()
938 struct disasm_line *disasm__get_next_ip_line(struct list_head *head, struct disasm_line *pos) in disasm__get_next_ip_line()
1921 void disasm__purge(struct list_head *head) in disasm__purge()
1948 size_t disasm__fprintf(struct list_head *head, FILE *fp) in disasm__fprintf()
/tools/virtio/
Dvringh_test.c111 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/timers/
Dclocksource-switch.c45 char *head, *tmp; in get_clocksources() local
/tools/perf/
Dbuiltin-ftrace.c403 struct list_head *head = opt->value; in parse_filter_func() local
416 static void delete_filter_func(struct list_head *head) in delete_filter_func()
Dbuiltin-record.c134 backward_rb_find_range(void *buf, int mask, u64 head, u64 *start, u64 *end) in backward_rb_find_range()
168 rb_find_range(void *data, int mask, u64 head, u64 old, in rb_find_range()
184 u64 head = perf_mmap__read_head(md); in record__mmap_read() local
/tools/perf/arch/x86/util/
Dintel-pt.c946 void *data, size_t head) in intel_pt_compare_ref()
962 void *data, size_t head) in intel_pt_copy_ref()
975 u64 head) in intel_pt_wrapped()
1009 u64 *head, u64 *old) in intel_pt_find_snapshot()
Dintel-bts.c366 u64 *head, u64 *old) in intel_bts_find_snapshot()
/tools/perf/arch/arm/util/
Dcs-etm.c516 size_t buffer_size, u64 head) in cs_etm_buffer_has_wrapped()
569 u64 *head, u64 *old) in cs_etm_find_snapshot()
/tools/perf/ui/
Dbrowser.c96 struct list_head *head = browser->entries; in ui_browser__list_head_seek() local
489 struct list_head *head = browser->entries; in ui_browser__list_head_refresh() local

12