Searched refs:list_empty_careful (Results 1 – 25 of 40) sorted by relevance
12
151 while (!list_empty_careful(&vcpu->async_pf.done) && in kvm_check_async_pf_completion()219 if (!list_empty_careful(&vcpu->async_pf.done)) in kvm_async_pf_wakeup_all()
45 if (list_empty_careful(&deve->ua_list)) { in target_scsi3_ua_check()288 if (list_empty_careful(&deve->ua_list)) { in core_scsi3_ua_clear_for_request_sense()
171 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks()235 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
126 if (!list_empty_careful(&wait->task_list)) { in finish_swait()
362 if (!list_empty_careful(&wq_entry->entry)) { in finish_wait()
719 if (nr < 0 && list_empty_careful(&wait->wait.entry)) { in kyber_get_domain_token()739 if (nr >= 0 && !list_empty_careful(&wait->wait.entry)) { in kyber_get_domain_token()851 if (!list_empty_careful(&khd->rqs[i]) || in kyber_has_work()947 seq_printf(m, "%d\n", !list_empty_careful(&wait->entry)); \
582 return !list_empty_careful(&dd->dispatch) || in dd_has_work()583 !list_empty_careful(&dd->fifo_list[0]) || in dd_has_work()584 !list_empty_careful(&dd->fifo_list[1]); in dd_has_work()
187 if (!list_empty_careful(&hctx->dispatch)) { in blk_mq_sched_dispatch_requests()338 !list_empty_careful(&ctx->rq_lists[type])) { in __blk_mq_sched_bio_merge()
69 return !list_empty_careful(&hctx->dispatch) || in blk_mq_hctx_has_pending()1136 if (!list_empty_careful(&wait->entry)) in blk_mq_mark_tag_wait()1345 (no_tag && list_empty_careful(&hctx->dispatch_wait.entry))) in blk_mq_dispatch_rq_list()
45 return !list_empty_careful(&me_cl->list); in mei_me_cl_is_active()
83 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx5_add_cq_to_tasklet()
267 if (list_empty_careful(&trig->next_trig)) in led_trigger_unregister()
1218 !(list_empty_careful(&flctx->flc_posix) && in nfs_flush_incompatible()1219 list_empty_careful(&flctx->flc_flock))) { in nfs_flush_incompatible()1326 if (!flctx || (list_empty_careful(&flctx->flc_flock) && in nfs_can_extend_write()1327 list_empty_careful(&flctx->flc_posix))) in nfs_can_extend_write()
937 !(list_empty_careful(&flctx->flc_posix) && in nfs_can_coalesce_requests()938 list_empty_careful(&flctx->flc_flock)) && in nfs_can_coalesce_requests()
936 if (!ctx || list_empty_careful(&ctx->flc_posix)) { in posix_test_lock()1391 if (!ctx || list_empty_careful(&ctx->flc_posix)) in locks_mandatory_locked()1698 if (ctx && !list_empty_careful(&ctx->flc_lease)) { in lease_get_mtime()1744 if (ctx && !list_empty_careful(&ctx->flc_lease)) { in fcntl_getlease()
380 return !list_empty_careful(&ep->rdllist) || in ep_events_available()
331 if (!list_empty_careful(&head->waiters)) { in xlog_grant_head_check()1057 if (!list_empty_careful(&log->l_write_head.waiters)) { in xfs_log_space_wake()1066 if (!list_empty_careful(&log->l_reserve_head.waiters)) { in xfs_log_space_wake()2560 ASSERT(list_empty_careful(&iclog->ic_callbacks)); in xlog_state_clean_iclog()2686 if (list_empty_careful(&iclog->ic_callbacks)) in xlog_state_set_callback()
382 (!list_empty_careful(&ailp->ail_buf_list) || in xfsaild_push()
94 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx4_add_cq_to_tasklet()
205 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() function
691 if (list_empty_careful(&imxdi->write_wait.head)) in dryice_irq()
284 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() function
2428 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease)) in break_lease()2442 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease)) in break_deleg()2472 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease)) in break_layout()
64 WARN_ON(!list_empty_careful(&hmm->ranges)); in hmm_release()
438 !list_empty_careful(&dev->rec_buff_list))) in hdpvr_read()