Searched refs:new_buffers (Results 1 – 2 of 2) sorted by relevance
484 struct amdgpu_cs_buffer *new_buffers; in amdgpu_do_add_real_buffer() local486 new_buffers = MALLOC(new_max * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()488 if (!new_buffers) { in amdgpu_do_add_real_buffer()490 FREE(new_buffers); in amdgpu_do_add_real_buffer()494 memcpy(new_buffers, cs->real_buffers, cs->num_real_buffers * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()499 cs->real_buffers = new_buffers; in amdgpu_do_add_real_buffer()558 struct amdgpu_cs_buffer *new_buffers; in amdgpu_lookup_or_add_slab_buffer() local560 new_buffers = REALLOC(cs->slab_buffers, in amdgpu_lookup_or_add_slab_buffer()561 cs->max_slab_buffers * sizeof(*new_buffers), in amdgpu_lookup_or_add_slab_buffer()562 new_max * sizeof(*new_buffers)); in amdgpu_lookup_or_add_slab_buffer()[all …]
333 struct radeon_bo_item *new_buffers = in radeon_lookup_or_add_slab_buffer() local335 csc->max_slab_buffers * sizeof(*new_buffers), in radeon_lookup_or_add_slab_buffer()336 new_max * sizeof(*new_buffers)); in radeon_lookup_or_add_slab_buffer()337 if (!new_buffers) { in radeon_lookup_or_add_slab_buffer()343 csc->slab_buffers = new_buffers; in radeon_lookup_or_add_slab_buffer()