Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_bo.c573 uint32_t number_of_resources, in amdgpu_bo_list_create() argument
583 if (!number_of_resources) in amdgpu_bo_list_create()
587 if (number_of_resources > UINT32_MAX / sizeof(struct drm_amdgpu_bo_list_entry)) in amdgpu_bo_list_create()
590 list = malloc(number_of_resources * sizeof(struct drm_amdgpu_bo_list_entry)); in amdgpu_bo_list_create()
602 args.in.bo_number = number_of_resources; in amdgpu_bo_list_create()
606 for (i = 0; i < number_of_resources; i++) { in amdgpu_bo_list_create()
646 uint32_t number_of_resources, in amdgpu_bo_list_update() argument
655 if (!number_of_resources) in amdgpu_bo_list_update()
659 if (number_of_resources > UINT32_MAX / sizeof(struct drm_amdgpu_bo_list_entry)) in amdgpu_bo_list_update()
662 list = malloc(number_of_resources * sizeof(struct drm_amdgpu_bo_list_entry)); in amdgpu_bo_list_update()
[all …]
Damdgpu.h742 uint32_t number_of_resources,
773 uint32_t number_of_resources,