Lines Matching refs:req_end
1080 u64 req_end = req_addr + req_range; in __drm_gpuva_sm_map() local
1086 drm_gpuva_for_each_va_range_safe(va, next, mgr, req_addr, req_end) { in __drm_gpuva_sm_map()
1098 if (end == req_end) { in __drm_gpuva_sm_map()
1105 if (end < req_end) { in __drm_gpuva_sm_map()
1112 if (end > req_end) { in __drm_gpuva_sm_map()
1114 .va.addr = req_end, in __drm_gpuva_sm_map()
1143 if (end == req_end) { in __drm_gpuva_sm_map()
1150 if (end < req_end) { in __drm_gpuva_sm_map()
1157 if (end > req_end) { in __drm_gpuva_sm_map()
1159 .va.addr = req_end, in __drm_gpuva_sm_map()
1160 .va.range = end - req_end, in __drm_gpuva_sm_map()
1176 if (end == req_end) { in __drm_gpuva_sm_map()
1183 if (end < req_end) { in __drm_gpuva_sm_map()
1190 if (end > req_end) { in __drm_gpuva_sm_map()
1192 .va.addr = req_end, in __drm_gpuva_sm_map()
1193 .va.range = end - req_end, in __drm_gpuva_sm_map()
1195 .gem.offset = offset + req_end - addr, in __drm_gpuva_sm_map()
1221 u64 req_end = req_addr + req_range; in __drm_gpuva_sm_unmap() local
1227 drm_gpuva_for_each_va_range_safe(va, next, mgr, req_addr, req_end) { in __drm_gpuva_sm_unmap()
1245 if (end > req_end) { in __drm_gpuva_sm_unmap()
1246 next.va.addr = req_end; in __drm_gpuva_sm_unmap()
1247 next.va.range = end - req_end; in __drm_gpuva_sm_unmap()
1249 next.gem.offset = offset + (req_end - addr); in __drm_gpuva_sm_unmap()