/tools/firewire/ |
D | list.h | 47 #define list_entry(link, type, member) \ macro 51 list_entry((list)->next, type, member) 54 list_entry((list)->prev, type, member) 57 list_entry((elm)->member.next, typeof(*elm), member)
|
/tools/lib/perf/include/internal/ |
D | evlist.h | 110 return list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__first() 115 return list_entry(evlist->entries.prev, struct perf_evsel, node); in perf_evlist__last()
|
/tools/perf/util/ |
D | ordered-events.c | 48 last = list_entry(p, struct ordered_event, list); in queue_event() 58 last = list_entry(p, struct ordered_event, list); in queue_event() 141 new = list_entry(cache->next, struct ordered_event, list); in alloc_event() 258 oe->last = list_entry(head->prev, struct ordered_event, list); in do_flush() 296 first = list_entry(head->next, struct ordered_event, list); in __ordered_events__flush()
|
D | evsel.h | 373 return list_entry(evsel->core.node.next, struct evsel, core.node); in evsel__next() 378 return list_entry(evsel->core.node.prev, struct evsel, core.node); in evsel__prev() 433 for ((_evsel) = list_entry((_leader)->core.node.next, struct evsel, core.node); \ 435 (_evsel) = list_entry((_evsel)->core.node.next, struct evsel, core.node)) 441 (_evsel) = list_entry((_evsel)->core.node.next, struct evsel, core.node))
|
D | srccode.c | 109 h = list_entry(srcfile_list.prev, struct srcfile, nd); in find_srcfile()
|
D | sort.h | 181 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
|
D | auxtrace.c | 449 buffer = list_entry(queues->queue_array[i].head.next, in auxtrace_queues__free() 841 auxtrace_index = list_entry(head->prev, struct auxtrace_index, list); in auxtrace_index__last() 847 auxtrace_index = list_entry(head->prev, struct auxtrace_index, in auxtrace_index__last() 1001 return list_entry(buffer->list.next, struct auxtrace_buffer, in auxtrace_buffer__next() 1006 return list_entry(queue->head.next, struct auxtrace_buffer, in auxtrace_buffer__next()
|
D | symbol.c | 1282 old_map = list_entry(merged.next, struct map, node); in maps__merge_in() 1382 replacement_map = list_entry(md.maps.next, struct map, node); in dso__load_kcore() 1386 new_map = list_entry(md.maps.next, struct map, node); in dso__load_kcore() 1445 map = list_entry(md.maps.next, struct map, node); in dso__load_kcore()
|
D | intel-bts.c | 256 a = list_entry(b->list.prev, struct auxtrace_buffer, list); in intel_bts_do_fix_overlap()
|
D | metricgroup.c | 879 struct metric *old = list_entry(pos, struct metric, nd); in __add_metric()
|
D | parse-events.c | 1848 leader = list_entry(list->next, struct evsel, core.node); in parse_events__set_leader() 2467 last = list_entry(last->core.node.prev, struct evsel, core.node); in foreach_evsel_in_last_glob()
|
D | annotate.c | 1561 dl = list_entry(list->prev, struct disasm_line, al.node); in delete_last_nop() 2460 queue = list_entry(queue->node.next, typeof(*queue), node); in symbol__annotate_printf()
|
/tools/include/linux/ |
D | list.h | 351 #define list_entry(ptr, type, member) \ macro 363 list_entry((ptr)->next, type, member) 374 list_entry((ptr)->prev, type, member) 393 list_entry((pos)->member.next, typeof(*(pos)), member) 401 list_entry((pos)->member.prev, typeof(*(pos)), member) 471 ((pos) ? : list_entry(head, typeof(*pos), member))
|
/tools/usb/usbip/libsrc/ |
D | usbip_host_common.c | 161 edev = list_entry(i, struct usbip_exported_device, node); in usbip_exported_device_destroy() 275 edev = list_entry(i, struct usbip_exported_device, node); in usbip_generic_get_device()
|
D | list.h | 104 #define list_entry(ptr, type, member) \ macro
|
/tools/usb/usbip/src/ |
D | usbipd.c | 111 edev = list_entry(i, struct usbip_exported_device, node); in recv_request_import() 178 edev = list_entry(j, struct usbip_exported_device, node); in send_reply_devlist() 198 edev = list_entry(j, struct usbip_exported_device, node); in send_reply_devlist()
|
/tools/perf/ui/browsers/ |
D | annotate.c | 49 struct annotation_line *al = list_entry(entry, struct annotation_line, node); in disasm_line__filter() 100 struct annotation_line *al = list_entry(entry, struct annotation_line, node); in annotate_browser__write() 286 pos = list_entry(pos->node.prev, struct annotation_line, node); in annotate_browser__set_top() 386 al = list_entry(browser->b.top, struct annotation_line, node); in annotate_browser__toggle_source()
|
D | hists.c | 356 chain = list_entry(node->val.next, struct callchain_list, list); in callchain_node__init_have_children() 360 chain = list_entry(node->val.prev, struct callchain_list, list); in callchain_node__init_have_children() 3407 struct evsel *evsel = list_entry(entry, struct evsel, core.node); in perf_evsel_menu__write() 3545 struct evsel *evsel = list_entry(entry, struct evsel, core.node); in filter_group_entries()
|
/tools/lib/perf/ |
D | evlist.c | 649 leader = list_entry(list->next, struct perf_evsel, node); in __perf_evlist__set_leader() 650 evsel = list_entry(list->prev, struct perf_evsel, node); in __perf_evlist__set_leader()
|
/tools/perf/tests/ |
D | parse-events.c | 602 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple() 611 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple() 620 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple() 629 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple() 644 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple() 658 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
|
D | switch-tracking.c | 247 node = list_entry(events->next, struct event_node, list); in free_event_nodes()
|
/tools/perf/ |
D | builtin-sched.c | 1068 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_runtime_event() 1083 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_sched_in_event() 1241 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_wakeup_event() 1309 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_migrate_task_event()
|