Searched refs:nobj (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 416 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table() argument 428 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mlx4_init_icm_table() 435 table->num_obj = nobj; in mlx4_init_icm_table() 441 size = (u64) nobj * obj_size; in mlx4_init_icm_table()
|
D | icm.h | 91 u64 virt, int obj_size, u32 nobj, int reserved,
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 358 int nobj, int reserved, in mthca_alloc_icm_table() argument 368 num_icm = DIV_ROUND_UP(nobj, obj_per_chunk); in mthca_alloc_icm_table() 376 table->num_obj = nobj; in mthca_alloc_icm_table() 387 if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size) in mthca_alloc_icm_table() 388 chunk_size = nobj * obj_size - i * MTHCA_TABLE_CHUNK_SIZE; in mthca_alloc_icm_table()
|
D | mthca_memfree.h | 88 int nobj, int reserved,
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.h | 114 unsigned long obj_size, unsigned long nobj);
|
D | hns_roce_hem.c | 782 unsigned long obj_size, unsigned long nobj) in hns_roce_init_hem_table() argument 790 num_hem = DIV_ROUND_UP(nobj, obj_per_chunk); in hns_roce_init_hem_table() 812 num_hem = DIV_ROUND_UP(nobj, obj_per_chunk); in hns_roce_init_hem_table()
|