Searched refs:list_empty (Results 1 – 25 of 49) sorted by relevance
12
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)
140 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()
148 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()
244 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()
108 assert(!list_empty(&srcfile_list)); in find_srcfile()
57 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()
175 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
223 return list_empty(&evlist->core.entries); in evlist__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()
253 return evsel->bpf_counter_ops != NULL && list_empty(&evsel->bpf_counter_list); in evsel__is_bperf()
1281 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()
822 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()
48 if (list_empty(&file->insn_list)) in cmd_orc()
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_empty145 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()
860 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()
1995 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()
797 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()
132 if (err || list_empty(&parse_state.list)) { in do_test()
246 while (!list_empty(events)) { in free_event_nodes()
132 if (!list_empty(head)) { in check_no_sockets()
544 BUG_ON(!list_empty(&fmt->list)); in fmt_free()545 BUG_ON(!list_empty(&fmt->sort_list)); in fmt_free()
422 if (list_empty(&bb->e_succs)) in draw_bb_succ_edges()