Lines Matching refs:alloc_size
62 bo->alloc_size = size;
78 args.in.bo_size = alloc_buffer->alloc_size;
92 r = amdgpu_bo_create(dev, alloc_buffer->alloc_size, args.out.handle,
162 info->alloc_size = bo_info.bo_size;
256 uint64_t alloc_size = 0;
313 output->alloc_size = bo->alloc_size;
327 alloc_size = open_arg.size;
347 alloc_size = dma_buf_size;
356 r = amdgpu_bo_create(dev, alloc_size, handle, &bo);
370 output->alloc_size = bo->alloc_size;
458 ptr = drm_mmap(NULL, bo->alloc_size, PROT_READ | PROT_WRITE, MAP_SHARED,
493 r = drm_munmap(bo->cpu_ptr, bo->alloc_size) == 0 ? 0 : -errno;
551 if (!bo || !bo->cpu_ptr || size > bo->alloc_size)
554 cpu < (void*)((uintptr_t)bo->cpu_ptr + bo->alloc_size))