Home
last modified time | relevance | path

Searched refs:list_entry (Results 1 – 21 of 21) sorted by relevance

/tools/firewire/
Dlist.h46 #define list_entry(link, type, member) \ macro
50 list_entry((list)->next, type, member)
53 list_entry((list)->prev, type, member)
56 list_entry((elm)->member.next, typeof(*elm), member)
/tools/perf/util/
Dordered-events.c44 last = list_entry(p, struct ordered_event, list); in queue_event()
54 last = list_entry(p, struct ordered_event, list); in queue_event()
101 new = list_entry(cache->next, struct ordered_event, list); in alloc_event()
222 oe->last = list_entry(head->prev, struct ordered_event, list); in __ordered_events__flush()
253 first = list_entry(head->next, struct ordered_event, list); in ordered_events__flush()
306 event = list_entry(oe->to_free.next, struct ordered_event, list); in ordered_events__free()
Devsel.h312 return list_entry(evsel->node.next, struct perf_evsel, node); in perf_evsel__next()
317 return list_entry(evsel->node.prev, struct perf_evsel, node); in perf_evsel__prev()
387 for ((_evsel) = list_entry((_leader)->node.next, struct perf_evsel, node); \
389 (_evsel) = list_entry((_evsel)->node.next, struct perf_evsel, node))
Devlist.h189 return list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__first()
194 return list_entry(evlist->entries.prev, struct perf_evsel, node); in perf_evlist__last()
Dsort.h136 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
Ddb-export.c39 de = list_entry(dbe->deferred.next, struct deferred_export, in db_export__deferred()
56 de = list_entry(dbe->deferred.next, struct deferred_export, in db_export__free_deferred()
Dauxtrace.c384 buffer = list_entry(queues->queue_array[i].head.next, in auxtrace_queues__free()
605 auxtrace_index = list_entry(head->prev, struct auxtrace_index, list); in auxtrace_index__last()
611 auxtrace_index = list_entry(head->prev, struct auxtrace_index, in auxtrace_index__last()
762 return list_entry(buffer->list.next, struct auxtrace_buffer, in auxtrace_buffer__next()
767 return list_entry(queue->head.next, struct auxtrace_buffer, in auxtrace_buffer__next()
Dsymbol.c1191 replacement_map = list_entry(md.maps.next, struct map, node); in dso__load_kcore()
1195 new_map = list_entry(md.maps.next, struct map, node); in dso__load_kcore()
1236 map = list_entry(md.maps.next, struct map, node); in dso__load_kcore()
Devlist.c190 leader = list_entry(list->next, struct perf_evsel, node); in __perf_evlist__set_leader()
191 evsel = list_entry(list->prev, struct perf_evsel, node); in __perf_evlist__set_leader()
Dannotate.c1058 dl = list_entry(list->prev, struct disasm_line, node); in delete_last_nop()
1546 queue = list_entry(queue->node.next, typeof(*queue), node); in symbol__annotate_printf()
Dparse-events.c1056 leader = list_entry(list->next, struct perf_evsel, node); in parse_events__set_leader()
1542 last = list_entry(last->node.prev, struct perf_evsel, node); in foreach_evsel_in_last_glob()
Dintel-bts.c261 a = list_entry(b->list.prev, struct auxtrace_buffer, list); in intel_bts_do_fix_overlap()
/tools/usb/usbip/libsrc/
Dusbip_host_driver.c165 edev = list_entry(i, struct usbip_exported_device, node); in usbip_exported_device_destroy()
289 edev = list_entry(i, struct usbip_exported_device, node); in usbip_host_get_device()
Dlist.h103 #define list_entry(ptr, type, member) \ macro
/tools/perf/ui/browsers/
Dscripts.c78 struct script_line *sline = list_entry(entry, struct script_line, node); in script_browser__write()
Dannotate.c76 struct disasm_line *dl = list_entry(entry, struct disasm_line, node); in disasm_line__filter()
114 struct disasm_line *dl = list_entry(entry, struct disasm_line, node); in annotate_browser__write()
349 pos = list_entry(pos->node.prev, struct disasm_line, node); in annotate_browser__set_top()
437 dl = list_entry(browser->b.top, struct disasm_line, node); in annotate_browser__toggle_source()
Dhists.c263 chain = list_entry(node->val.next, struct callchain_list, list); in callchain_node__init_have_children()
267 chain = list_entry(node->val.prev, struct callchain_list, list); in callchain_node__init_have_children()
2111 struct perf_evsel *evsel = list_entry(entry, struct perf_evsel, node); in perf_evsel_menu__write()
2244 struct perf_evsel *evsel = list_entry(entry, struct perf_evsel, node); in filter_group_entries()
/tools/usb/usbip/src/
Dusbipd.c111 edev = list_entry(i, struct usbip_exported_device, node); in recv_request_import()
188 edev = list_entry(j, struct usbip_exported_device, node); in send_reply_devlist()
/tools/perf/
Dbuiltin-sched.c917 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_runtime_event()
932 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_sched_in_event()
1089 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_wakeup_event()
1157 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_migrate_task_event()
/tools/perf/tests/
Dswitch-tracking.c237 node = list_entry(events->next, struct event_node, list); in free_event_nodes()
Dparse-events.c567 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple()
576 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
585 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
594 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()