Home
last modified time | relevance | path

Searched refs:num_tsgs (Results 1 – 2 of 2) sorted by relevance

/open-nvidia-gpu/kernel-open/nvidia-uvm/
H A Duvm_channel.c2134 UVM_ASSERT(tsg_index < pool->num_tsgs); in channel_get_tsg()
2449 UVM_ASSERT(pool->num_tsgs > 0); in tsg_destroy()
2452 pool->num_tsgs--; in tsg_destroy()
2461 pool->num_tsgs++; in tsg_create()
2493 while (pool->num_tsgs > 0) in channel_pool_destroy()
2494 tsg_destroy(pool, *(pool->tsg_handles + pool->num_tsgs - 1)); in channel_pool_destroy()
2655 unsigned num_tsgs; in channel_pool_add() local
2667 num_tsgs = channel_manager_num_tsgs(channel_manager, pool_type); in channel_pool_add()
2668 if (num_tsgs != 0) { in channel_pool_add()
2669 pool->tsg_handles = uvm_kvmalloc_zero(sizeof(*pool->tsg_handles) * num_tsgs); in channel_pool_add()
[all …]
H A Duvm_channel.h210 NvU32 num_tsgs; member