Home
last modified time | relevance | path

Searched refs:num_obj (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dicm.c260 u32 i = (obj & (table->num_obj - 1)) / in mlx4_table_get()
299 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put()
328 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; in mlx4_table_find()
435 table->num_obj = nobj; in mlx4_init_icm_table()
Dmlx4.h263 u32 num_obj; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hem.c219 table_idx = (*obj & (table->num_obj - 1)) / in hns_roce_calc_hem_mhop()
346 unsigned long i = (obj & (table->num_obj - 1)) / in hns_roce_set_hem()
649 i = (obj & (table->num_obj - 1)) / (table->table_chunk_size / in hns_roce_table_get()
768 i = (obj & (table->num_obj - 1)) / in hns_roce_table_put()
808 hem = table->hem[(obj & (table->num_obj - 1)) / obj_per_chunk]; in hns_roce_table_find()
809 idx_offset = (obj & (table->num_obj - 1)) % obj_per_chunk; in hns_roce_table_find()
826 dma_offset = offset = (obj & (table->num_obj - 1)) * seg_size % in hns_roce_table_find()
937 table->num_obj = nobj; in hns_roce_init_hem_table()
Dhns_roce_device.h307 unsigned long num_obj; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_memfree.c224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get()
264 i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_put()
290 idx = (obj & (table->num_obj - 1)) * table->obj_size; in mthca_table_find()
376 table->num_obj = nobj; in mthca_alloc_icm_table()
Dmthca_memfree.h66 int num_obj; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_vma.c154 unsigned long num_obj, num_ctx; in igt_vma_create() local
166 for_each_prime_number(num_obj, ULONG_MAX - 1) { in igt_vma_create()
167 for (; no < num_obj; no++) { in igt_vma_create()