Searched refs:new_buffers (Results 1 – 2 of 2) sorted by relevance
423 struct amdgpu_cs_buffer *new_buffers; in amdgpu_do_add_real_buffer() local425 new_buffers = MALLOC(new_max * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()427 if (!new_buffers) { in amdgpu_do_add_real_buffer()429 FREE(new_buffers); in amdgpu_do_add_real_buffer()433 memcpy(new_buffers, cs->real_buffers, cs->num_real_buffers * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()438 cs->real_buffers = new_buffers; in amdgpu_do_add_real_buffer()495 struct amdgpu_cs_buffer *new_buffers; in amdgpu_lookup_or_add_slab_buffer() local497 new_buffers = REALLOC(cs->slab_buffers, in amdgpu_lookup_or_add_slab_buffer()498 cs->max_slab_buffers * sizeof(*new_buffers), in amdgpu_lookup_or_add_slab_buffer()499 new_max * sizeof(*new_buffers)); in amdgpu_lookup_or_add_slab_buffer()[all …]
304 struct radeon_bo_item *new_buffers = in radeon_lookup_or_add_slab_buffer() local306 csc->max_slab_buffers * sizeof(*new_buffers), in radeon_lookup_or_add_slab_buffer()307 new_max * sizeof(*new_buffers)); in radeon_lookup_or_add_slab_buffer()308 if (!new_buffers) { in radeon_lookup_or_add_slab_buffer()314 csc->slab_buffers = new_buffers; in radeon_lookup_or_add_slab_buffer()