Searched refs:new_buffers (Results 1 – 3 of 3) sorted by relevance
464 struct amdgpu_cs_buffer *new_buffers; in amdgpu_do_add_real_buffer() local466 new_buffers = MALLOC(new_max * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()468 if (!new_buffers) { in amdgpu_do_add_real_buffer()470 FREE(new_buffers); in amdgpu_do_add_real_buffer()474 memcpy(new_buffers, cs->real_buffers, cs->num_real_buffers * sizeof(*new_buffers)); in amdgpu_do_add_real_buffer()479 cs->real_buffers = new_buffers; in amdgpu_do_add_real_buffer()536 struct amdgpu_cs_buffer *new_buffers; in amdgpu_lookup_or_add_slab_buffer() local538 new_buffers = REALLOC(cs->slab_buffers, in amdgpu_lookup_or_add_slab_buffer()539 cs->max_slab_buffers * sizeof(*new_buffers), in amdgpu_lookup_or_add_slab_buffer()540 new_max * sizeof(*new_buffers)); in amdgpu_lookup_or_add_slab_buffer()[all …]
51 static void new_buffers(void) in new_buffers() function101 new_buffers(); in test_surfaces()
322 struct radeon_bo_item *new_buffers = in radeon_lookup_or_add_slab_buffer() local324 csc->max_slab_buffers * sizeof(*new_buffers), in radeon_lookup_or_add_slab_buffer()325 new_max * sizeof(*new_buffers)); in radeon_lookup_or_add_slab_buffer()326 if (!new_buffers) { in radeon_lookup_or_add_slab_buffer()332 csc->slab_buffers = new_buffers; in radeon_lookup_or_add_slab_buffer()