Home
last modified time | relevance | path

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

123

/tools/include/linux/
A 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)
396 (!list_empty(ptr) ? list_last_entry(ptr, type, member) : NULL)
/tools/perf/ui/browsers/
A Dannotate-data.c120 if (!list_empty(&member->children)) { in add_child_entries()
182 if (list_empty(&entry->children)) in get_first_child()
190 if (list_empty(&entry->children)) in get_last_child()
412 if (!list_empty(&be->children)) in browser__write()
433 list_empty(&member->children) || be->folded? ";" : " {"); in browser__write()
439 list_empty(&member->children) || be->folded ? ";" : " {"); in browser__write()
451 if (list_empty(&entry->children)) in annotated_data_browser__fold()
472 if (list_empty(&entry->children)) in annotated_data_browser__unfold()
/tools/perf/util/
A Dordered-events.c140 if (!list_empty(cache)) { in alloc_event()
256 if (list_empty(head)) in do_flush()
301 if (WARN_ONCE(!last || list_empty(head), "empty queue")) in __ordered_events__flush()
354 if (list_empty(&oe->events)) in ordered_events__first_time()
391 if (list_empty(&oe->to_free)) in ordered_events__free()
A Dlock-contention.c55 return !list_empty(&callstack_filters); in needs_callstack()
109 if (list_empty(&callstack_filters)) in match_callstack_filter()
A Dcgroup.c252 while (!list_empty(&cgroup_list)) { in release_cgroup_list()
369 if (list_empty(&evlist->core.entries)) { in parse_cgroups()
497 if (list_empty(&evlist->core.entries)) { in evlist__expand_cgroup()
A Dbpf-filter.c542 if (!list_empty(&pinned_filters)) { in perf_bpf_filter__prepare()
578 if (list_empty(&evsel->bpf_filters)) in perf_bpf_filter__lost_count()
581 if (!list_empty(&pinned_filters)) { in perf_bpf_filter__lost_count()
A Dsrccode.c108 assert(!list_empty(&srcfile_list)); in find_srcfile()
A Dintel-tpebs.c520 tpebs_empty = list_empty(&tpebs_results); in evsel__tpebs_open()
657 if (list_empty(&tpebs_results)) in evsel__tpebs_close()
A Dbpf_ftrace.c26 if (!list_empty(&ftrace->filters)) { in perf_ftrace__latency_prepare_bpf()
A Dthread.c152 if (list_empty(thread__namespaces_list(thread))) in __thread__namespaces()
207 if (list_empty(thread__comm_list(thread))) in __thread__comm()
A Dbpf_counter.c58 assert(list_empty(&evsel->bpf_counter_list)); in bpf_program_profiler__destroy()
241 if (list_empty(&evsel->bpf_counter_list)) in bpf_program_profiler__read()
A Dthread.h231 return list_empty(&RC_CHK_ACCESS(thread)->namespaces_list); in thread__namespaces_list_empty()
A Dannotate-data.c322 if (list_empty(&m->children)) in fill_member_name()
970 if (list_empty(full_blocks)) in prepend_basic_blocks()
1848 if (!list_empty(&member->children)) in print_annotated_data_type()
1854 if (!list_empty(&member->children)) in print_annotated_data_type()
A Devlist.h234 return list_empty(&evlist->core.entries); in evlist__empty()
A Dprobe-file.c373 BUG_ON(!list_empty(&entry->node)); in probe_cache_entry__delete()
1072 if (!list_empty(&pcache->entries)) { in probe_cache__show_all_caches()
/tools/objtool/
A Dobjtool.c66 if (!list_empty(&func->pv_target)) in objtool_pv_add()
/tools/cgroup/
A Dmemcg_slabinfo.py10 from drgn.helpers.linux import list_for_each_entry, list_empty
37 if not list_empty(css.children.address_of_()):
A Diocost_monitor.py20 from drgn.helpers.linux.list import list_for_each_entry,list_empty
148 self.is_active = not list_empty(iocg.active_list.address_of_())
/tools/firewire/
A Dlist.h14 list_empty(struct list *list) in list_empty() function
A 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/
A Dbuiltin-ftrace.c724 bool graph = !list_empty(&ftrace->graph_funcs) || in select_tracer()
725 !list_empty(&ftrace->nograph_funcs); in select_tracer()
726 bool func = !list_empty(&ftrace->filters) || in select_tracer()
727 !list_empty(&ftrace->notrace); in select_tracer()
1908 if (list_empty(&ftrace.filters) && list_empty(&ftrace.event_pair)) { in cmd_ftrace()
1915 if (!list_empty(&ftrace.filters) && !list_empty(&ftrace.event_pair)) { in cmd_ftrace()
1922 if (!list_empty(&ftrace.event_pair) && !ftrace.target.use_bpf) { in cmd_ftrace()
A Dbuiltin-kmem.c2041 if (list_empty(&slab_caller_sort)) in cmd_kmem()
2043 if (list_empty(&slab_alloc_sort)) in cmd_kmem()
2045 if (list_empty(&page_caller_sort)) in cmd_kmem()
2047 if (list_empty(&page_alloc_sort)) in cmd_kmem()
/tools/testing/selftests/filesystems/
A Dutils.c88 static inline int list_empty(const struct list *list) in list_empty() function
240 if (list_empty(idmap)) in map_ids_from_idmap()
411 if (!list_empty(&h->id_map)) in create_userns_hierarchy()
/tools/workqueue/
A Dwq_dump.py50 from drgn.helpers.linux.list import list_for_each_entry,list_empty
/tools/testing/vsock/
A Dvsock_diag_test.c134 if (!list_empty(head)) { in check_no_sockets()

Completed in 49 milliseconds

123