Lines Matching refs:is_userptr
523 bool is_userptr) in get_va_block() argument
531 if (is_userptr) { in get_va_block()
836 bool is_userptr = args->flags & HL_MEM_USERPTR; in map_device_va() local
841 if (is_userptr) { in map_device_va()
885 if (!is_userptr && !(phys_pg_pack->flags & HL_MEM_SHARED) && in map_device_va()
901 is_userptr ? &ctx->host_va_range : &ctx->dram_va_range, in map_device_va()
902 phys_pg_pack->total_size, hint_addr, is_userptr); in map_device_va()
935 if (is_userptr) in map_device_va()
942 is_userptr ? &ctx->host_va_range : &ctx->dram_va_range, in map_device_va()
954 if (is_userptr) in map_device_va()
957 if (is_userptr) in map_device_va()
982 bool is_userptr; in unmap_device_va() local
1005 is_userptr = true; in unmap_device_va()
1016 is_userptr = false; in unmap_device_va()
1056 is_userptr ? &ctx->host_va_range : &ctx->dram_va_range, in unmap_device_va()
1065 if (is_userptr) { in unmap_device_va()
1073 if (is_userptr) in unmap_device_va()