| /tools/testing/selftests/bpf/progs/ |
| A D | mptcp_bpf.h | 17 #define list_first_entry(ptr, type, member) \ macro 28 for (pos = list_first_entry(head, typeof(*pos), member); \
|
| /tools/perf/util/ |
| A D | bpf_ftrace.c | 31 func = list_first_entry(&ftrace->filters, struct filter_entry, list); in perf_ftrace__latency_prepare_bpf() 126 event = list_first_entry(&ftrace->event_pair, struct filter_entry, list); in perf_ftrace__latency_prepare_bpf()
|
| A D | cgroup.c | 253 cn = list_first_entry(&cgroup_list, struct cgroup_name, list); in release_cgroup_list() 347 cn = list_first_entry(&cgroup_list, struct cgroup_name, in match_cgroups()
|
| A D | thread.c | 155 return list_first_entry(thread__namespaces_list(thread), struct namespaces, list); in __thread__namespaces() 210 return list_first_entry(thread__comm_list(thread), struct comm, list); in __thread__comm()
|
| A D | stream.c | 247 pair_chain = list_first_entry(&pair_cnode->val, in print_callchain_pair()
|
| A D | ordered-events.c | 357 event = list_first_entry(&oe->events, struct ordered_event, list); in ordered_events__first_time()
|
| A D | callchain.c | 868 cnode = list_first_entry(&first->val, struct callchain_list, in split_add_child() 1573 chain = list_first_entry(&node->parent_val, struct callchain_list, list); in callchain_node__make_parent_list() 1576 chain = list_first_entry(&node->val, struct callchain_list, list); in callchain_node__make_parent_list() 1722 pair_chain = list_first_entry(&pair_cnode->val, in callchain_cnode_matched()
|
| A D | drm_pmu.c | 367 list_first_entry(&terms->terms, struct parse_events_term, list); in drm_pmu__check_alias()
|
| A D | stat-shadow.c | 652 mexp = list_first_entry(&me->head, typeof(*mexp), nd); in perf_stat__print_shadow_stats_metricgroup()
|
| A D | hwmon_pmu.c | 672 list_first_entry(&terms->terms, struct parse_events_term, list); in hwmon_pmu__check_alias()
|
| A D | disasm.c | 1603 dl = list_first_entry(list, struct disasm_line, al.node); in symbol__disassemble_capstone_powerpc() 1698 dl = list_first_entry(list, struct disasm_line, al.node); in symbol__disassemble_capstone() 1816 dl = list_first_entry(list, struct disasm_line, al.node); in symbol__disassemble_raw()
|
| A D | annotate.c | 2630 if (curr == list_first_entry(sources, struct disasm_line, al.node)) in annotation__prev_asm_line() 2635 prev != list_first_entry(sources, struct disasm_line, al.node)) in annotation__prev_asm_line() 3097 link = list_first_entry(&bb_data.queue, struct basic_block_link, node); in annotate_get_basic_blocks()
|
| A D | dso.c | 686 dso_data = list_first_entry(&dso__data_open, struct dso_data, open_entry); in close_first_dso()
|
| A D | annotate-data.c | 968 first_bb = list_first_entry(full_blocks, typeof(*first_bb), list); in prepend_basic_blocks()
|
| A D | parse-events.c | 1783 leader = list_first_entry(list, struct evsel, core.node); in parse_events__set_leader()
|
| A D | machine.c | 2467 stitch_node = list_first_entry(&lbr_stitch->free_lists, in get_stitch_node()
|
| A D | probe-event.c | 2534 node = list_first_entry(blacklist, in kprobe_blacklist__delete()
|
| /tools/include/linux/ |
| A D | list.h | 362 #define list_first_entry(ptr, type, member) \ macro 385 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL) 458 for (pos = list_first_entry(head, typeof(*pos), member); \ 532 for (pos = list_first_entry(head, typeof(*pos), member), \
|
| /tools/perf/ui/browsers/ |
| A D | annotate-data.c | 185 return list_first_entry(&entry->children, struct browser_entry, node); in get_first_child() 220 first = list_first_entry(&browser->entries, struct browser_entry, node); in browser__prev_entry() 273 entry = list_first_entry(&browser->entries, typeof(*entry), node); in browser__seek()
|
| A D | hists.c | 1480 fmt_node = list_first_entry(&entry->hists->hpp_formats, in hist_browser__show_hierarchy_entry() 1629 fmt_node = list_first_entry(&browser->hists->hpp_formats, in hist_browser__show_no_entry() 1736 fmt_node = list_first_entry(&hists->hpp_formats, in hists_browser__scnprintf_hierarchy_headers() 2157 fmt_node = list_first_entry(&he->hists->hpp_formats, in hist_browser__fprintf_hierarchy_entry() 2267 fmt_node = list_first_entry(&hists->hpp_formats, in hist_browser__init()
|
| A D | annotate.c | 448 al = list_first_entry(¬es->src->source, in annotate_browser__toggle_source()
|
| /tools/bpf/bpftool/ |
| A D | cfg.c | 55 list_first_entry(&cfg->funcs, struct func_node, l) 59 list_first_entry(&func->bbs, struct bb_node, l)
|
| /tools/perf/ui/stdio/ |
| A D | hist.c | 481 fmt_node = list_first_entry(&hists->hpp_formats, in hist_entry__hierarchy_fprintf() 652 fmt_node = list_first_entry(&hists->hpp_formats, in hists__fprintf_hierarchy_headers() 703 fmt_node = list_first_entry(&hists->hpp_formats, in hists__fprintf_hierarchy_headers()
|
| /tools/perf/ui/gtk/ |
| A D | hists.c | 438 fmt_node = list_first_entry(&hists->hpp_formats, in perf_gtk__add_hierarchy_entries() 532 fmt_node = list_first_entry(&hists->hpp_formats, in perf_gtk__show_hierarchy()
|
| /tools/lib/perf/ |
| A D | evlist.c | 182 next = list_first_entry(&evlist->entries, in perf_evlist__next()
|