Lines Matching refs:is_userptr
1060 bool is_userptr, do_prefetch; in map_device_va() local
1066 is_userptr = args->flags & HL_MEM_USERPTR; in map_device_va()
1072 if (is_userptr) { in map_device_va()
1147 if (!is_userptr && !(phys_pg_pack->flags & HL_MEM_SHARED) && in map_device_va()
1216 hnode->handle = is_userptr ? MEM_HANDLE_INVALID : handle; in map_device_va()
1224 if (is_userptr) in map_device_va()
1241 if (is_userptr) in map_device_va()
1244 if (is_userptr) in map_device_va()
1283 bool is_userptr; in unmap_device_va() local
1309 is_userptr = true; in unmap_device_va()
1327 is_userptr = false; in unmap_device_va()
1344 if (!is_userptr && !is_power_of_2(phys_pg_pack->page_size)) in unmap_device_va()
1390 if (is_userptr) { in unmap_device_va()
1398 if (is_userptr) in unmap_device_va()