Lines Matching refs:locked
36 bool *locked; member
654 if (hmm_vma_walk->locked) in hmm_do_fault()
673 if (hmm_vma_walk->locked) /* needed by sparse */ in hmm_do_fault()
674 *hmm_vma_walk->locked = false; in hmm_do_fault()
693 static int hmm_range_fault_locked(struct hmm_range *range, bool *locked) in hmm_range_fault_locked() argument
697 .locked = locked, in hmm_range_fault_locked()
793 bool locked = false; in hmm_range_fault_unlocked_timeout() local
803 if (timeout && !locked) in hmm_range_fault_unlocked_timeout()
823 locked = true; in hmm_range_fault_unlocked_timeout()
824 ret = hmm_range_fault_locked(range, &locked); in hmm_range_fault_unlocked_timeout()
825 if (locked) in hmm_range_fault_unlocked_timeout()