Home
last modified time | relevance | path

Searched refs:list_empty (Results 1 – 25 of 49) sorted by relevance

12

/tools/include/linux/
Dlist.h187 static inline int list_empty(const struct list_head *head) in list_empty() function
219 if (!list_empty(head)) { in list_rotate_left()
231 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
263 if (list_empty(head)) in list_cut_position()
296 if (!list_empty(list)) in list_splice()
308 if (!list_empty(list)) in list_splice_tail()
322 if (!list_empty(list)) { in list_splice_init()
339 if (!list_empty(list)) { in list_splice_tail_init()
385 (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
/tools/perf/util/
Dordered-events.c140 if (!list_empty(cache)) { in alloc_event()
255 if (list_empty(head)) in do_flush()
300 if (WARN_ONCE(!last || list_empty(head), "empty queue")) in __ordered_events__flush()
353 if (list_empty(&oe->events)) in ordered_events__first_time()
390 if (list_empty(&oe->to_free)) in ordered_events__free()
Dthread.c148 if (!list_empty(&thread->node)) in thread__put()
156 if (list_empty(&thread->namespaces_list)) in __thread__namespaces()
210 if (list_empty(&thread->comm_list)) in thread__comm()
Dcgroup.c244 while (!list_empty(&cgroup_list)) { in release_cgroup_list()
361 if (list_empty(&evlist->core.entries)) { in parse_cgroups()
495 if (list_empty(&evlist->core.entries)) { in evlist__expand_cgroup()
Dsrccode.c108 assert(!list_empty(&srcfile_list)); in find_srcfile()
Dbpf_counter.c57 assert(list_empty(&evsel->bpf_counter_list)); in bpf_program_profiler__destroy()
239 if (list_empty(&evsel->bpf_counter_list)) in bpf_program_profiler__read()
756 return list_empty(&evsel->bpf_counter_list) && in bpf_counter_skip()
Dsort.h175 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
Devlist.h223 return list_empty(&evlist->core.entries); in evlist__empty()
Dprobe-file.c392 BUG_ON(!list_empty(&entry->node)); in probe_cache_entry__delete()
1091 if (!list_empty(&pcache->entries)) { in probe_cache__show_all_caches()
Devsel.h253 return evsel->bpf_counter_ops != NULL && list_empty(&evsel->bpf_counter_list); in evsel__is_bperf()
Dsymbol.c1281 while (!list_empty(&merged)) { in maps__merge_in()
1341 if (list_empty(&md.maps)) { in dso__load_kcore()
1385 while (!list_empty(&md.maps)) { in dso__load_kcore()
1444 while (!list_empty(&md.maps)) { in dso__load_kcore()
Dparse-events.c822 if (!head_config || list_empty(head_config)) in parse_events_config_bpf()
1509 if (parse_state->fake_pmu || !head_config || list_empty(head_config) || in parse_events__inside_hybrid_pmu()
1839 if (list_empty(list)) { in parse_events__set_leader()
2259 if (!list_empty(&ps.list)) { in parse_events__with_hybrid_pmu()
2286 if (!ret && list_empty(&parse_state.list)) { in __parse_events()
/tools/objtool/
Dbuiltin-orc.c48 if (list_empty(&file->insn_list)) in cmd_orc()
/tools/cgroup/
Dmemcg_slabinfo.py10 from drgn.helpers.linux import list_for_each_entry, list_empty
37 if not list_empty(css.children.address_of_()):
Diocost_monitor.py20 from drgn.helpers.linux.list import list_for_each_entry,list_empty
145 self.is_active = not list_empty(iocg.active_list.address_of_())
/tools/firewire/
Dlist.h14 list_empty(struct list *list) in list_empty() function
Dnosy-dump.c190 while (!list_empty(&t->request_list)) { in link_transaction_destroy()
195 while (!list_empty(&t->response_list)) { in link_transaction_destroy()
254 while (!list_empty(&pending_transaction_list)) { in clear_pending_transaction_list()
493 if (!list_empty(&t->request_list)) { in handle_request_packet()
555 if (list_empty(&t->request_list)) { in handle_response_packet()
562 if (!list_empty(&t->response_list)) { in handle_response_packet()
/tools/perf/
Dbuiltin-ftrace.c860 bool graph = !list_empty(&ftrace->graph_funcs) || in select_tracer()
861 !list_empty(&ftrace->nograph_funcs); in select_tracer()
862 bool func = !list_empty(&ftrace->filters) || in select_tracer()
863 !list_empty(&ftrace->notrace); in select_tracer()
Dbuiltin-kmem.c1995 if (list_empty(&slab_caller_sort)) in cmd_kmem()
1997 if (list_empty(&slab_alloc_sort)) in cmd_kmem()
1999 if (list_empty(&page_caller_sort)) in cmd_kmem()
2001 if (list_empty(&page_alloc_sort)) in cmd_kmem()
Dbuiltin-report.c797 if (!list_empty(&task->list)) in tasks_list()
844 if (!list_empty(&task->children)) { in task__print_level()
894 if (!list_empty(&task->list)) in tasks_print()
/tools/perf/tests/
Dbpf.c132 if (err || list_empty(&parse_state.list)) { in do_test()
Dswitch-tracking.c246 while (!list_empty(events)) { in free_event_nodes()
/tools/testing/vsock/
Dvsock_diag_test.c132 if (!list_empty(head)) { in check_no_sockets()
/tools/perf/ui/
Dhist.c544 BUG_ON(!list_empty(&fmt->list)); in fmt_free()
545 BUG_ON(!list_empty(&fmt->sort_list)); in fmt_free()
/tools/bpf/bpftool/
Dcfg.c422 if (list_empty(&bb->e_succs)) in draw_bb_succ_edges()

12