Searched refs:number_of_resources (Results 1 – 2 of 2) sorted by relevance
566 uint32_t number_of_resources, in amdgpu_bo_list_create() argument576 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() argument648 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 …]
755 uint32_t number_of_resources,786 uint32_t number_of_resources,