Searched refs:number_of_resources (Results 1 – 2 of 2) sorted by relevance
565 uint32_t number_of_resources, in amdgpu_bo_list_create() argument575 if (!number_of_resources) in amdgpu_bo_list_create()579 if (number_of_resources > UINT32_MAX / sizeof(struct drm_amdgpu_bo_list_entry)) in amdgpu_bo_list_create()582 list = malloc(number_of_resources * sizeof(struct drm_amdgpu_bo_list_entry)); in amdgpu_bo_list_create()594 args.in.bo_number = number_of_resources; in amdgpu_bo_list_create()598 for (i = 0; i < number_of_resources; i++) { in amdgpu_bo_list_create()638 uint32_t number_of_resources, in amdgpu_bo_list_update() argument647 if (!number_of_resources) in amdgpu_bo_list_update()651 if (number_of_resources > UINT32_MAX / sizeof(struct drm_amdgpu_bo_list_entry)) in amdgpu_bo_list_update()654 list = malloc(number_of_resources * sizeof(struct drm_amdgpu_bo_list_entry)); in amdgpu_bo_list_update()[all …]
747 uint32_t number_of_resources,778 uint32_t number_of_resources,