Searched refs:num_real_buffers (Results 1 – 2 of 2) sorted by relevance
280 num_buffers = cs->num_real_buffers; in amdgpu_lookup_buffer()321 if (cs->num_real_buffers >= cs->max_real_buffers) { in amdgpu_lookup_or_add_real_buffer()340 memcpy(new_buffers, cs->real_buffers, cs->num_real_buffers * sizeof(*new_buffers)); in amdgpu_lookup_or_add_real_buffer()341 memcpy(new_handles, cs->handles, cs->num_real_buffers * sizeof(*new_handles)); in amdgpu_lookup_or_add_real_buffer()342 memcpy(new_flags, cs->flags, cs->num_real_buffers * sizeof(*new_flags)); in amdgpu_lookup_or_add_real_buffer()354 idx = cs->num_real_buffers; in amdgpu_lookup_or_add_real_buffer()362 cs->num_real_buffers++; in amdgpu_lookup_or_add_real_buffer()655 for (i = 0; i < cs->num_real_buffers; i++) { in amdgpu_cs_context_cleanup()664 cs->num_real_buffers = 0; in amdgpu_cs_context_cleanup()875 for (i = 0; i < cs->num_real_buffers; i++) { in amdgpu_cs_get_buffer_list()[all …]
84 unsigned num_real_buffers; member