Lines Matching refs:vmf
42 struct vm_fault *vmf)
57 if (fault_flag_allow_retry_first(vmf->flags)) {
58 if (vmf->flags & FAULT_FLAG_RETRY_NOWAIT)
62 mmap_read_unlock(vmf->vma->vm_mm);
98 * @vmf: The fault structure handed to the callback
117 struct vm_fault *vmf)
131 if (fault_flag_allow_retry_first(vmf->flags)) {
132 if (!(vmf->flags & FAULT_FLAG_RETRY_NOWAIT)) {
134 mmap_read_unlock(vmf->vma->vm_mm);
165 * @vmf: The struct vm_fault given as argument to the fault callback
181 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf,
185 struct vm_area_struct *vma = vmf->vma;
196 unsigned long address = vmf->address;
202 ret = ttm_bo_vm_fault_idle(bo, vmf);
291 vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot)
293 struct vm_area_struct *vma = vmf->vma;
321 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf)
323 struct vm_area_struct *vma = vmf->vma;
330 ret = ttm_bo_vm_reserve(bo, vmf);
336 ret = ttm_bo_vm_fault_reserved(vmf, prot, TTM_BO_VM_NUM_PREFAULT);
339 ret = ttm_bo_vm_dummy_page(vmf, prot);
341 if (ret == VM_FAULT_RETRY && !(vmf->flags & FAULT_FLAG_RETRY_NOWAIT))