Searched refs:buffer_hash_table (Results 1 – 1 of 1) sorted by relevance
61 int buffer_hash_table[1024]; member191 for (int i = 0; i < ARRAY_SIZE(cs->buffer_hash_table); ++i) in radv_amdgpu_init_cs()192 cs->buffer_hash_table[i] = -1; in radv_amdgpu_init_cs()393 (ARRAY_SIZE(cs->buffer_hash_table) - 1); in radv_amdgpu_cs_reset()394 cs->buffer_hash_table[hash] = -1; in radv_amdgpu_cs_reset()430 unsigned hash = ((uintptr_t)bo >> 6) & (ARRAY_SIZE(cs->buffer_hash_table) - 1); in radv_amdgpu_cs_find_buffer()431 int index = cs->buffer_hash_table[hash]; in radv_amdgpu_cs_find_buffer()441 cs->buffer_hash_table[hash] = i; in radv_amdgpu_cs_find_buffer()471 hash = ((uintptr_t)bo >> 6) & (ARRAY_SIZE(cs->buffer_hash_table) - 1); in radv_amdgpu_cs_add_buffer_internal()472 cs->buffer_hash_table[hash] = cs->num_buffers; in radv_amdgpu_cs_add_buffer_internal()