Searched refs:list_empty (Results 1 – 25 of 26) sorted by relevance
12
74 if (list_empty(head)) { in fq_tin_dequeue()76 if (list_empty(head)) in fq_tin_dequeue()93 !list_empty(&tin->old_flows)) { in fq_tin_dequeue()144 if (list_empty(&flow->backlogchain)) in fq_recalc_backlog()178 if (list_empty(&flow->flowchain)) { in fq_tin_enqueue()256 if (!list_empty(&flow->flowchain)) in fq_flow_reset()259 if (!list_empty(&flow->backlogchain)) in fq_flow_reset()276 if (list_empty(head)) { in fq_tin_reset()278 if (list_empty(head)) in fq_tin_reset()
180 return !list_empty(&vsk->bound_table); in __vsock_in_bound_table()186 return !list_empty(&vsk->connected_table); in __vsock_in_connected_table()
107 !list_empty(&rt->rt6i_uncached)) in ip6_rt_put_flags()
55 #define bond_has_slaves(bond) !list_empty(bond_slave_list(bond))
53 if (likely(list_empty(&file->f_ep_links))) in eventpoll_release()
212 return list_empty(&head->node_list); in plist_head_empty()221 return list_empty(&node->node_list); in plist_node_empty()
280 static inline int list_empty(const struct list_head *head) in list_empty() function330 if (!list_empty(head)) { in list_rotate_left()360 return !list_empty(head) && (head->next == head->prev); in list_is_singular()392 if (list_empty(head)) in list_cut_position()455 if (!list_empty(list)) in list_splice()467 if (!list_empty(list)) in list_splice_tail()481 if (!list_empty(list)) { in list_splice_init()498 if (!list_empty(list)) { in list_splice_tail_init()
36 && list_empty(&dev->power.subsys_data->clock_list); in pm_clk_no_clocks()
230 BUG_ON(!list_empty(&task->ptraced)); in ptrace_release_task()232 BUG_ON(!list_empty(&task->ptrace_entry)); in ptrace_release_task()
135 return !list_empty(&sem->wait_list); in rwsem_is_contended()
196 if (list_empty(&req->wb_list)) in nfs_list_remove_request()
123 return !list_empty(&wq->task_list); in swait_active()
287 if (!list_empty(list)) in list_splice_init_rcu()302 if (!list_empty(list)) in list_splice_tail_init_rcu()
296 return psock ? list_empty(&psock->ingress_msg) : true; in sk_psock_queue_empty()
128 return !list_empty(&wq_head->head); in waitqueue_active()
1294 (!list_empty(&plug->mq_list) || in blk_needs_flush_plug()1295 !list_empty(&plug->cb_list)); in blk_needs_flush_plug()
115 return list_empty(&area->free_list[migratetype]); in free_area_empty()
1135 return !list_empty(&adev->data.properties); in acpi_dev_has_props()
2871 return list_empty(&net->dev_base_head) ? NULL : in first_net_device()4681 if (list_empty(&dev->unlink_list)) in net_unlink_todo()
105 WARN_ON(!list_empty(&lock->head)); in drm_modeset_lock_fini()
478 return list_empty(drm_mm_nodes(mm)); in drm_mm_clean()
97 return (msg->copied != 0 && list_empty(&msg->list)); in rpc_msg_is_inflight()
607 list_empty(&init_task.tasks)695 return list_empty(&p->thread_group); in thread_group_empty()
387 if (!list_empty(list)) { in sctp_list_dequeue()420 return !list_empty(&chunk->list); in sctp_chunk_pending()
420 return !list_empty(&mtd->partitions); in mtd_has_partitions()