list_empty_careful
if (!list_empty_careful(&vcpu->async_pf.done))
return !list_empty_careful(&bfqd->dispatch) ||
if (!list_empty_careful(&hctx->dispatch)) {
if (!list_empty_careful(&hctx->dispatch)) {
if (!list_empty_careful(&hctx->dispatch)) {
if (list_empty_careful(&ctx->rq_lists[type]))
if (!list_empty_careful(&wait->entry))
(no_tag && list_empty_careful(&hctx->dispatch_wait.entry)))
!list_empty_careful(&hctx->dispatch))
!list_empty_careful(&hctx->dispatch))
return !list_empty_careful(&hctx->dispatch) ||
if (nr < 0 && list_empty_careful(&wait->wait.entry)) {
if (nr >= 0 && !list_empty_careful(&wait->wait.entry)) {
if (!list_empty_careful(&khd->rqs[i]) ||
seq_printf(m, "%d\n", !list_empty_careful(&wait->entry)); \
return !list_empty_careful(&per_prio->fifo_list[DD_READ]) ||
!list_empty_careful(&per_prio->fifo_list[DD_WRITE]);
if (!list_empty_careful(&dd->dispatch))
if (list_empty_careful(&w->list))
while (!list_empty_careful(&prange->svm_bo_list) || prange->svm_bo)
GEM_WARN_ON(!list_empty_careful(&mem->objects.list));
return (list_empty_careful(&vm->userptr.repin_list) &&
list_empty_careful(&vm->userptr.invalidated)) ? 0 : -EAGAIN;
if (list_empty_careful(&port_priv->port_list))
if (list_empty_careful(&port_priv->port_list))
if (!list_empty_careful(&con->rsp_wr_wait_list))
if (list_empty_careful(&trig->next_trig))
if (!list_empty_careful(&conf->bio_end_io_list) &&
if (!list_empty_careful(&conf->bio_end_io_list) &&
if (!list_empty_careful(list)) {
!list_empty_careful(&dev->rec_buff_list)))
return !list_empty_careful(&me_cl->list);
if (list_empty_careful(root))
if (list_empty_careful(&cq->tasklet_ctx.list)) {
if (list_empty_careful(&cq->tasklet_ctx.list)) {
if (unlikely(!list_empty_careful(&queue->rsp_wr_wait_list)))
if (list_empty_careful(&imxdi->write_wait.head))
if (list_empty_careful(&deve->ua_list)) {
if (list_empty_careful(&deve->ua_list)) {
if (!list_empty_careful(&iocb->ki_list))
if (!list_empty_careful(&wait.entry)) {
return !list_empty_careful(&ep->rdllist) || ep_is_scanning(ep) ||
WARN_ON_ONCE(!list_empty_careful(&inode->i_io_list));
if (list_empty_careful(&inode->i_io_list))
if (!flctx || list_empty_careful(&flctx->flc_posix))
if (flctx && !list_empty_careful(&flctx->flc_posix)) {
if (!ctx || list_empty_careful(&ctx->flc_posix)) {
if (ctx && !list_empty_careful(&ctx->flc_lease)) {
if (ctx && !list_empty_careful(&ctx->flc_lease)) {
if (list_empty_careful(&creq->io_streams[1].subrequests))
return !list_empty_careful(&server->delegations_lru) &&
if (list_empty_careful(&server->delegations_delayed))
if (!list_empty_careful(&server->delegations_return) ||
!(list_empty_careful(&flctx->flc_posix) &&
list_empty_careful(&flctx->flc_flock)) &&
!(list_empty_careful(&flctx->flc_posix) &&
list_empty_careful(&flctx->flc_flock))) {
if (!flctx || (list_empty_careful(&flctx->flc_flock) &&
list_empty_careful(&flctx->flc_posix)))
return ctx && !list_empty_careful(&ctx->flc_lease);
if (flctx && !list_empty_careful(&flctx->flc_posix)) {
if (!ctx || list_empty_careful(&ctx->flc_posix))
!list_empty_careful(&lsc->listen.ready) ||
if (list_empty_careful(&lsc->listen.ready)) {
arg->is_empty = list_empty_careful(&lsc->listen.ready);
if (!list_empty_careful(&log->l_write_head.waiters)) {
if (!list_empty_careful(&log->l_reserve_head.waiters)) {
ASSERT(list_empty_careful(&iclog->ic_callbacks));
if (!list_empty_careful(&head->waiters)) {
(!list_empty_careful(&ailp->ail_buf_list) ||
!list_empty_careful(&zi->zi_reclaim_reservations));
if (likely(list_empty_careful(&zi->zi_reclaim_reservations) ||
if (list_empty_careful(&zi->zi_reclaim_reservations)) {
if (!list_empty_careful(&flctx->flc_lease))
if (!list_empty_careful(&flctx->flc_lease)) {
if (flctx && !list_empty_careful(&flctx->flc_lease)) {
if (list_empty_careful(&ctx->napi_list))
if (!list_empty_careful(&wait->task_list)) {
if (!list_empty_careful(&wq_entry->entry)) {
KUNIT_EXPECT_TRUE(test, list_empty_careful(&a_old));
KUNIT_EXPECT_TRUE(test, list_empty_careful(&a));
KUNIT_EXPECT_TRUE(test, list_empty_careful(&a));
KUNIT_EXPECT_FALSE(test, list_empty_careful(&list1));
KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2));
KUNIT_EXPECT_TRUE(test, list_empty_careful(&list1));
KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2));
KUNIT_EXPECT_TRUE(test, list_empty_careful(&list3));
KUNIT_EXPECT_TRUE(test, list_empty_careful(list4));
KUNIT_EXPECT_TRUE(test, list_empty_careful(list5));
KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2));
KUNIT_EXPECT_TRUE(test, list_empty_careful(&list2));
if (list_empty_careful(&info->shrinklist)) {
if (!list_empty_careful(&uwq.wq.entry)) {
if (!list_empty_careful(&local->conn_attend_q)) {
if (!list_empty_careful(&isec->list)) {
while (!list_empty_careful(&vcpu->async_pf.done) &&
if (!list_empty_careful(&vcpu->async_pf.done))
if (!list_empty_careful(&vcpu->async_pf.done))