Searched refs:num_obj (Results 1 – 7 of 7) sorted by relevance
260 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()
263 u32 num_obj; member
219 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()
307 unsigned long num_obj; member
224 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()
66 int num_obj; member
154 unsigned long num_obj, num_ctx; in igt_vma_create() local166 for_each_prime_number(num_obj, ULONG_MAX - 1) { in igt_vma_create()167 for (; no < num_obj; no++) { in igt_vma_create()