Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_bo.c566 uint32_t number_of_resources, in amdgpu_bo_list_create() argument
576 if (!number_of_resources) in amdgpu_bo_list_create()
580 if (number_of_resources > UINT32_MAX / sizeof(struct drm_amdgpu_bo_list_entry)) in amdgpu_bo_list_create()
583 list = malloc(number_of_resources * sizeof(struct drm_amdgpu_bo_list_entry)); in amdgpu_bo_list_create()
595 args.in.bo_number = number_of_resources; in amdgpu_bo_list_create()
599 for (i = 0; i < number_of_resources; i++) { in amdgpu_bo_list_create()
639 uint32_t number_of_resources, in amdgpu_bo_list_update() argument
648 if (!number_of_resources) in amdgpu_bo_list_update()
652 if (number_of_resources > UINT32_MAX / sizeof(struct drm_amdgpu_bo_list_entry)) in amdgpu_bo_list_update()
655 list = malloc(number_of_resources * sizeof(struct drm_amdgpu_bo_list_entry)); in amdgpu_bo_list_update()
[all …]
Damdgpu.h755 uint32_t number_of_resources,
786 uint32_t number_of_resources,