Searched refs:list_empty (Results 1 – 25 of 57) sorted by relevance
123
187 static inline int list_empty(const struct list_head *head) in list_empty() function219 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)
120 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()
140 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()
252 while (!list_empty(&cgroup_list)) { in release_cgroup_list()369 if (list_empty(&evlist->core.entries)) { in parse_cgroups()504 if (list_empty(&evlist->core.entries)) { in evlist__expand_cgroup()
27 list_empty(&ftrace->filters) ? "No" : "Too many"); in perf_ftrace__latency_prepare_bpf()
538 if (!list_empty(&pinned_filters)) { in perf_bpf_filter__prepare()574 if (list_empty(&evsel->bpf_filters)) in perf_bpf_filter__lost_count()577 if (!list_empty(&pinned_filters)) { in perf_bpf_filter__lost_count()
227 if (list_empty(&core_pmus)) { in pmu_read_sysfs()233 if (!list_empty(&core_pmus)) { in pmu_read_sysfs()675 if (!list_empty(&core_pmus)) in perf_pmus__default_pmu_name()
108 assert(!list_empty(&srcfile_list)); in find_srcfile()
147 if (list_empty(thread__namespaces_list(thread))) in __thread__namespaces()201 if (list_empty(thread__comm_list(thread))) in thread__comm()
58 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()
227 return list_empty(&RC_CHK_ACCESS(thread)->namespaces_list); in thread__namespaces_list_empty()
392 BUG_ON(!list_empty(&entry->node)); in probe_cache_entry__delete()1091 if (!list_empty(&pcache->entries)) { in probe_cache__show_all_caches()
239 return list_empty(&evlist->core.entries); in evlist__empty()
10 from drgn.helpers.linux import list_for_each_entry, list_empty37 if not list_empty(css.children.address_of_()):
20 from drgn.helpers.linux.list import list_for_each_entry,list_empty148 self.is_active = not list_empty(iocg.active_list.address_of_())
14 list_empty(struct list *list) in list_empty() function
190 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()
134 if (!list_empty(&func->pv_target)) in objtool_pv_add()
604 bool graph = !list_empty(&ftrace->graph_funcs) || in select_tracer()605 !list_empty(&ftrace->nograph_funcs); in select_tracer()606 bool func = !list_empty(&ftrace->filters) || in select_tracer()607 !list_empty(&ftrace->notrace); in select_tracer()1650 if (list_empty(&ftrace.filters)) { in cmd_ftrace()
2039 if (list_empty(&slab_caller_sort)) in cmd_kmem()2041 if (list_empty(&slab_alloc_sort)) in cmd_kmem()2043 if (list_empty(&page_caller_sort)) in cmd_kmem()2045 if (list_empty(&page_alloc_sort)) in cmd_kmem()
50 from drgn.helpers.linux.list import list_for_each_entry,list_empty
134 if (!list_empty(head)) { in check_no_sockets()
597 BUG_ON(!list_empty(&fmt->list)); in fmt_free()598 BUG_ON(!list_empty(&fmt->sort_list)); in fmt_free()
248 while (!list_empty(events)) { in free_event_nodes()
421 if (list_empty(&bb->e_succs)) in draw_bb_succ_edges()