list_empty
(!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
if (list_empty(list))
return !list_empty(head) && (head->next == head->prev);
if (list_empty(head))
(!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL)
if (list_empty(list))
return !list_empty(head) && (head->next == head->prev);
if (list_empty(head))
if (!list_empty(&lwiphy->wwk_list))
if (list_empty(&wwk->entry))
if (!list_empty(&wwk->entry))
if (wwk != NULL && list_empty(&wwk->entry)) {
while (!list_empty(&lwiphy->wwk_list)) {
KASSERT(!list_empty(&lsta->lsta_list),
if (list_empty(&wq->task_list))
if (!list_empty(&wq->task_list)) {
ret = !list_empty(&wqh->task_list);
WARN_ON(!list_empty(&err_cqe_list));
while (!list_empty(&err_cqe_list)) {
if (!list_empty(&uctx->cqids)) {
if (!list_empty(&uctx->qpids)) {
if (!list_empty(&dev->agp->memory) && !valid) {
if (list_empty(&dev->maplist) || !map) {
if (!list_empty(&dev->agp->memory) && !valid) {
if (!list_empty(&dev->ctxlist)) {
MPASS(!list_empty(&list));
if (!list_empty(&property->enum_blob_list)) {
if (!list_empty(&plane->head)) {
if (list_empty(&connector->modes))
if (list_empty(&connector->probed_modes))
if (!modes[i] && !list_empty(&fb_helper_conn->connector->modes)) {
if (list_empty(&kernel_fb_helper_list))
if (list_empty(&kernel_fb_helper_list))
if (!list_empty(&fb_helper->kernel_fb_list)) {
if (list_empty(&kernel_fb_helper_list)) {
if (list_empty(&kernel_fb_helper_list)) {
if (!list_empty(&dev->ctxlist)) {
if (list_empty(&file_priv->event_list))
while (list_empty(&file_priv->event_list)) {
if (list_empty(&file_priv->event_list)) {
if (list_empty(list))
if (list_empty(&mm->unused_nodes))
if (!list_empty(&mm->head_node.node_list)) {
MPASS(list_empty(&bo->lru));
MPASS(list_empty(&bo->ddestroy));
while (!list_empty(&man->lru)) {
if (list_empty(&bdev->ddestroy))
if (list_empty(&bdev->man[0].lru))
MPASS(list_empty(&bo->lru));
if (!list_empty(&bo->ddestroy)) {
if (!list_empty(&bo->swap)) {
if (!list_empty(&bo->lru)) {
if (ret || unlikely(list_empty(&bo->ddestroy))) {
if (list_empty(&bdev->ddestroy))
if (list_empty(&entry->ddestroy))
if (!list_empty(&bo->ddestroy)) {
if (!man->use_io_reserve_lru || list_empty(&man->io_reserve_lru))
MPASS(list_empty(&bo->swap));
if (list_empty(list))
if (list_empty(list))
if (list_empty(list))
while (!list_empty(&tfile->ref_list)) {
if (list_empty(&_manager->pools))
if (!list_empty(list))
if (!list_empty(list)) {
if (!list_empty(list))
if (!list_empty(list)) {
if (!list_empty(list))
if (!list_empty(list)) {
if (!list_empty(&listener->child_listen_list)) {
if (list_empty(&dev->cqp_cmd_head) && !irdma_cqp_ring_full(dev->cqp))
while (!list_empty(&dev->cqp_cmd_head) &&
if (list_empty(head))
if (!list_empty(&iwcq->cmpl_generated))
if (!list_empty(&iwcq->resize_list))
while (!list_empty(&pinfo->clist)) {
while (!list_empty(&pbufl)) {
if (list_empty(rxlist))
while (!list_empty(rxlist)) {
if (!list_empty(rxlist)) {
while (!list_empty(rxlist)) {
if (!list_empty(&rsrc->txpend))
if (!rsrc->tx_wqe_avail_cnt || (buf && !list_empty(&rsrc->txpend))) {
if (!list_empty(list)) {
if (list_empty(&iwcq->cmpl_generated))
if (!list_empty(&cqp->cqp_avail_reqs)) {
while (!list_empty(&dev->cqp_cmd_head)) {
if (list_empty(list))
(!irdma_uk_cq_empty(&iwcq->sc_cq.cq_uk) || !list_empty(&iwcq->cmpl_generated)))
if (!list_empty(&vsi->qos[user_pri].qplist))
!list_empty(&vsi->qos[i].qplist))
if (list_empty(&vsi_node->child_list_head)) {
if (list_empty(&ws_tree_root->child_list_head)) {
if (list_empty(&vsi_node->child_list_head)) {
if (list_empty(&ws_tree_root->child_list_head)) {
if (list_empty(&ib_conn->fastreg.pool))
iter->chunk = list_empty(&icm->chunk_list) ?
if (!list_empty(&entry->prio_list)) {
if (list_empty(&s_steer->promisc_qps[steer]))
if (list_empty(&entry->duplicates) ||
if (!list_empty(&priv->bf_list))
if (!list_empty(&bf->uar->bf_list))
} else if (list_empty(&bf->uar->bf_list))
!list_empty(&res->mcg_list)) {
while (!list_empty(&det->cb_list)) {
if (list_empty(&group->pending_list)) {
if (!list_empty(&group->pending_list))
if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) {
list_empty(&group->func[vf].pending), group->func[vf].num_pend_reqs);
if (!list_empty(&group->func[slave].pending)) {
if (!list_empty(&group->pending_list))
if (!list_empty(&group->pending_list)) {
if (!list_empty(&group->pending_list))
while (!list_empty(&group->pending_list) && group->state == MCAST_IDLE) {
if (!list_empty(&group->pending_list) && group->state == MCAST_IDLE)
if (!list_empty(&group->pending_list) && group->state != MCAST_IDLE)
if (!list_empty(&ent->head)) {
if (list_empty(&handle->rule[num_dest - 1]->next_ft)) {
if (list_empty(&fte->node.children)) {
if (list_empty(&root->underlay_qpns)) {
if (list_empty(&root->underlay_qpns)) {
list_empty(&counter->list))
if (addlist || !list_empty(&fc_stats->counters))
list_empty(&fc_stats->counters))
if (list_empty(src_list))
if (!list_empty(&mdev->priv.bfregs.reg_head.list)) {
if (list_empty(head)) {
if (unlikely(!list_empty(&conn->qp.sq.backlog))) {
if (list_empty(&fdev->trans->free_queue)) {
if (unlikely(!list_empty(&cq->wc_list)))
if ((flags & IB_CQ_REPORT_MISSED_EVENTS) && !list_empty(&cq->wc_list))
if (list_empty(&sub->obj_list))
if (list_empty(&xa_val_level2->obj_sub_list)) {
if (list_empty(&xa_val_level2->obj_sub_list)) {
if (!list_empty(&event_sub->event_list) ||
while (list_empty(&ev_queue->event_list)) {
(!list_empty(&ev_queue->event_list) ||
else if (!list_empty(&ev_queue->event_list))
while (list_empty(&ev_file->event_list)) {
(!list_empty(&ev_file->event_list) ||
else if (!list_empty(&ev_file->event_list))
if (list_empty(&ent->head)) {
if (!list_empty(&ent->head)) {
if (list_empty(&ent->head)) {
iter->chunk = list_empty(&icm->chunk_list) ?
if (!list_empty(&accel_table))
if (list_empty(&processes_list)) {
if (!list_empty(&info->inuse_pbl_list))
while (work-- > 0 && !list_empty(&info->inuse_pbl_list)) {
if (list_empty(h)) {
if (!list_empty(&req_list)) {
if (!list_empty(&cm_id_priv->altr_list) &&
if (!list_empty(&cm_id_priv->prim_list) &&
if (list_empty(&cm_id_priv->work_list))
while (!list_empty(&id_priv->listen_list)) {
while (!list_empty(&id_priv->mc_list)) {
while (!list_empty(&cma_dev->id_list)) {
if (list_empty(&unmap_list)) {
if (list_empty(&pool->free_list)) {
if (list_empty(&cm_id_priv->work_free_list))
BUG_ON(!list_empty(&cm_id_priv->work_free_list));
BUG_ON(!list_empty(&cm_id_priv->work_list));
empty = list_empty(&cm_id_priv->work_list);
empty = list_empty(&cm_id_priv->work_list);
if (list_empty(&cm_id_priv->work_list)) {
if (list_empty(&mad_agent_priv->wait_list)) {
while (!list_empty(&mad_agent_priv->local_list)) {
while (!list_empty(&mad_agent_priv->wait_list)) {
while (!list_empty(&qp_info->recv_queue.list)) {
while (!list_empty(&group->active_list)) {
while (!list_empty(&group->pending_list) ||
WARN_ON(!list_empty(&uobj->list));
if (!list_empty(&uobj->list)) {
while (!list_empty(&ufile->uobjects))
if (!list_empty(&ufile->uobjects))
if (!list_empty(&file->events))
while (!list_empty(&file->ctxs)) {
while (!list_empty(&ctx->events)) {
while (list_empty(&file->events)) {
!list_empty(&file->events)))
if (!list_empty(&file->event_list))
while (list_empty(&file->event_list)) {
!list_empty(&file->event_list)))
!list_empty(&context->no_private_counters)) {
while (list_empty(&file->recv_list)) {
!list_empty(&file->recv_list)))
if (!list_empty(&file->recv_list))
while (!list_empty(&uverbs_dev->uverbs_file_list)) {
while (list_empty(&ev_queue->event_list)) {
(!list_empty(&ev_queue->event_list) ||
if (list_empty(&ev_queue->event_list) && ev_queue->is_closed) {
if (!list_empty(&ev_queue->event_list))
while (!list_empty(&ufile->umaps)) {
if (!list_empty(&uqp->mcast_list))
if (list_empty(fmr_list))
while (!list_empty(&xrcd->tgt_qp_list)) {
while (!list_empty(&priv->cm.start_list)) {
while (!list_empty(&priv->cm.reap_list)) {
while (!list_empty(&priv->cm.passive_ids)) {
if (!list_empty(&priv->cm.passive_ids))
if (list_empty(&priv->cm.rx_flush_list) ||
!list_empty(&priv->cm.rx_drain_list))
while (!list_empty(&priv->cm.passive_ids)) {
while (!list_empty(&priv->cm.rx_error_list) ||
!list_empty(&priv->cm.rx_flush_list) ||
!list_empty(&priv->cm.rx_drain_list)) {
while (!list_empty(&priv->dead_ahs)) {
if (!list_empty(&sock_list))
return !list_empty(head) && (head->next == head->prev);
if (list_empty(head))
if (!list_empty(list))
if (!list_empty(list))
if (!list_empty(list)) {
if (!list_empty(list)) {
assert(list_empty(&ctx->quirks));
assert(list_empty(&s->properties));
assert(((elm->next == NULL && elm->prev == NULL) || list_empty(elm)) ||
assert(((elm->next == NULL && elm->prev == NULL) || list_empty(elm)) ||
bool list_empty(const struct list *list);