Lines Matching refs:buf_handle
208 amdgpu_bo_handle buf_handle;
217 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle);
226 r = amdgpu_bo_va_op(buf_handle, 0, 4096, va, 0, AMDGPU_VA_OP_MAP);
229 r = amdgpu_bo_cpu_map(buf_handle, &msg);
248 r = amdgpu_bo_cpu_unmap(buf_handle);
252 resources[num_resources++] = buf_handle;
263 r = amdgpu_bo_va_op(buf_handle, 0, 4096, va, 0, AMDGPU_VA_OP_UNMAP);
269 r = amdgpu_bo_free(buf_handle);
278 amdgpu_bo_handle buf_handle;
295 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle);
304 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0,
308 r = amdgpu_bo_cpu_map(buf_handle, (void **)&ptr);
352 resources[num_resources++] = buf_handle;
403 r = amdgpu_bo_cpu_unmap(buf_handle);
406 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, AMDGPU_VA_OP_UNMAP);
412 r = amdgpu_bo_free(buf_handle);
419 amdgpu_bo_handle buf_handle;
428 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle);
437 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0,
441 r = amdgpu_bo_cpu_map(buf_handle, &msg);
448 r = amdgpu_bo_cpu_unmap(buf_handle);
452 resources[num_resources++] = buf_handle;
463 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, AMDGPU_VA_OP_UNMAP);
469 r = amdgpu_bo_free(buf_handle);