Searched refs:list_empty_careful (Results 1 – 21 of 21) sorted by relevance
141 while (!list_empty_careful(&vcpu->async_pf.done) && in kvm_check_async_pf_completion()209 if (!list_empty_careful(&vcpu->async_pf.done)) in kvm_async_pf_wakeup_all()
170 if (!flctx || list_empty_careful(&flctx->flc_posix)) in nlm_traverse_locks()234 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in nlm_file_inuse()
232 if (list_empty_careful(&trig->next_trig)) in led_trigger_unregister()
1115 !(list_empty_careful(&flctx->flc_posix) && in nfs_flush_incompatible()1116 list_empty_careful(&flctx->flc_flock))) { in nfs_flush_incompatible()1204 if (!flctx || (list_empty_careful(&flctx->flc_flock) && in nfs_can_extend_write()1205 list_empty_careful(&flctx->flc_posix))) in nfs_can_extend_write()
943 !(list_empty_careful(&flctx->flc_posix) && in nfs_can_coalesce_requests()944 list_empty_careful(&flctx->flc_flock)) && in nfs_can_coalesce_requests()
356 if (list_empty_careful(&imxdi->write_wait.task_list)) in dryice_norm_irq()
766 if (!ctx || list_empty_careful(&ctx->flc_posix)) { in posix_test_lock()1207 if (!ctx || list_empty_careful(&ctx->flc_posix)) in locks_mandatory_locked()1500 if (ctx && !list_empty_careful(&ctx->flc_lease)) { in lease_get_mtime()1550 if (ctx && !list_empty_careful(&ctx->flc_lease)) { in fcntl_getlease()
93 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx4_add_cq_to_tasklet()
348 (!list_empty_careful(&ailp->xa_buf_list) || in xfsaild_push()
326 if (!list_empty_careful(&head->waiters)) { in xlog_grant_head_check()991 if (!list_empty_careful(&log->l_write_head.waiters)) { in xfs_log_space_wake()1000 if (!list_empty_careful(&log->l_reserve_head.waiters)) { in xfs_log_space_wake()
250 if (!list_empty_careful(&wait->task_list)) { in finish_wait()
205 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() function
2072 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease)) in break_lease()2086 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease)) in break_deleg()2116 if (inode->i_flctx && !list_empty_careful(&inode->i_flctx->flc_lease)) in break_layout()
220 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful() function
792 if (!list_empty_careful(&hctx->dispatch)) { in __blk_mq_run_hw_queue()929 list_empty_careful(&hctx->dispatch)) || in blk_mq_run_hw_queues()
1919 if (list_empty_careful(&w->list)) in drbd_queue_work_if_unqueued()
4696 return unlikely(!list_empty_careful(&kvm->arch.zapped_obsolete_pages)); in kvm_has_zapped_obsolete_pages()
7755 || !list_empty_careful(&vcpu->async_pf.done) in kvm_arch_vcpu_runnable()
9407 if (!list_empty_careful(&splice)) { in __start_delalloc_inodes()9489 if (!list_empty_careful(&splice)) { in btrfs_start_delalloc_roots()
5808 if (flctx && !list_empty_careful(&flctx->flc_posix)) { in check_for_locks()
362 if (!list_empty_careful(list)) { in release_inactive_stripe_list()