Searched refs:list_empty_careful (Results 1 - 25 of 52) sorted by last modified time

123

/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c484 * at list_empty_careful
509 while (!list_empty_careful(&prange->svm_bo_list) || prange->svm_bo)
/linux-master/virt/kvm/
H A Dkvm_main.c4041 if (!list_empty_careful(&vcpu->async_pf.done))
H A Dasync_pf.c168 while (!list_empty_careful(&vcpu->async_pf.done) &&
232 if (!list_empty_careful(&vcpu->async_pf.done))
/linux-master/fs/smb/server/
H A Dvfs.c336 if (!ctx || list_empty_careful(&ctx->flc_posix))
/linux-master/arch/x86/kvm/
H A Dx86.c13053 if (!list_empty_careful(&vcpu->async_pf.done))
/linux-master/arch/x86/kvm/mmu/
H A Dmmu.c6314 return unlikely(!list_empty_careful(&kvm->arch.zapped_obsolete_pages));
/linux-master/mm/
H A Dshmem.c2080 if (list_empty_careful(&info->shrinklist)) {
/linux-master/drivers/gpu/drm/xe/
H A Dxe_vm.c801 return (list_empty_careful(&vm->userptr.repin_list) &&
802 list_empty_careful(&vm->userptr.invalidated)) ? 0 : -EAGAIN;
/linux-master/io_uring/
H A Dio_uring.c1837 if (!req_need_defer(req, seq) && list_empty_careful(&ctx->defer_list)) {
H A Dkbuf.c394 if (!list_empty_careful(&ctx->io_buffers_comp)) {
/linux-master/drivers/md/
H A Draid1.c2661 if (!list_empty_careful(&conf->bio_end_io_list) &&
/linux-master/fs/bcachefs/
H A Ddebug.c523 prt_printf(out, "%u", !list_empty_careful(&b->write_blocked));
H A Dbtree_locking.c366 if (list_empty_careful(&b->lock.wait_list))
/linux-master/fs/nfsd/
H A Dnfs4state.c5094 return ctx && !list_empty_careful(&ctx->flc_lease);
8290 if (flctx && !list_empty_careful(&flctx->flc_posix)) {
/linux-master/fs/
H A Daio.c1501 if (!list_empty_careful(&iocb->ki_list))
H A Duserfaultfd.c149 * !list_empty_careful() in handle_userfault().
537 * self. So list_empty_careful won't risk to see both pointers
544 if (!list_empty_careful(&uwq.wq.entry)) {
1061 * !list_empty_careful() check in
/linux-master/block/
H A Dblk-mq.c60 return !list_empty_careful(&hctx->dispatch) ||
1828 if (!list_empty_careful(&wait->entry))
2144 (no_tag && list_empty_careful(&hctx->dispatch_wait.entry)))
2316 !list_empty_careful(&hctx->dispatch))
2352 !list_empty_careful(&hctx->dispatch))
H A Dmq-deadline.c896 if (!list_empty_careful(&dd->per_prio[p].fifo_list[DD_WRITE]))
950 return !list_empty_careful(&per_prio->dispatch) ||
951 !list_empty_careful(&per_prio->fifo_list[DD_READ]) ||
952 !list_empty_careful(&per_prio->fifo_list[DD_WRITE]);
/linux-master/drivers/nvme/target/
H A Drdma.c681 if (unlikely(!list_empty_careful(&queue->rsp_wr_wait_list)))
/linux-master/fs/nfs/
H A Dwrite.c1198 !(list_empty_careful(&flctx->flc_posix) &&
1199 list_empty_careful(&flctx->flc_flock))) {
1325 if (!flctx || (list_empty_careful(&flctx->flc_flock) &&
1326 list_empty_careful(&flctx->flc_posix)))
/linux-master/fs/ext4/
H A Dinode.c202 if (!list_empty_careful(&inode->i_io_list))
314 WARN_ON_ONCE(!list_empty_careful(&inode->i_io_list));
/linux-master/security/selinux/
H A Dhooks.c358 * in the code, we use list_empty_careful() here.
360 if (!list_empty_careful(&isec->list)) {
/linux-master/include/linux/
H A Dlist.h381 * together with list_empty_careful() in a way to guarantee ordering
385 * guaranteed to be visible after a list_empty_careful() test.
395 * list_empty_careful - tests whether a list is empty and not being modified
402 * NOTE: using list_empty_careful() without synchronization
407 static inline int list_empty_careful(const struct list_head *head) function
/linux-master/fs/xfs/
H A Dxfs_trans_ail.c441 (!list_empty_careful(&ailp->ail_buf_list) ||
H A Dxfs_log.c359 if (!list_empty_careful(&head->waiters)) {
1148 if (!list_empty_careful(&log->l_write_head.waiters)) {
1157 if (!list_empty_careful(&log->l_reserve_head.waiters)) {
2557 ASSERT(list_empty_careful(&iclog->ic_callbacks));
2717 if (list_empty_careful(&iclog->ic_callbacks))

Completed in 486 milliseconds

123