Home
last modified time | relevance | path

Searched refs:number_of_resources (Results 1 – 2 of 2) sorted by relevance

/third_party/libdrm/amdgpu/
Damdgpu_bo.c635 uint32_t number_of_resources, in amdgpu_bo_list_create() argument
645 if (!number_of_resources) in amdgpu_bo_list_create()
649 if (number_of_resources > UINT32_MAX / sizeof(struct drm_amdgpu_bo_list_entry)) in amdgpu_bo_list_create()
652 list = malloc(number_of_resources * sizeof(struct drm_amdgpu_bo_list_entry)); in amdgpu_bo_list_create()
664 args.in.bo_number = number_of_resources; in amdgpu_bo_list_create()
668 for (i = 0; i < number_of_resources; i++) { in amdgpu_bo_list_create()
708 uint32_t number_of_resources, in amdgpu_bo_list_update() argument
717 if (!number_of_resources) in amdgpu_bo_list_update()
721 if (number_of_resources > UINT32_MAX / sizeof(struct drm_amdgpu_bo_list_entry)) in amdgpu_bo_list_update()
724 list = malloc(number_of_resources * sizeof(struct drm_amdgpu_bo_list_entry)); in amdgpu_bo_list_update()
[all …]
Damdgpu.h838 uint32_t number_of_resources,
869 uint32_t number_of_resources,