Searched refs:nobj (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 391 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table() argument 401 num_icm = (nobj + obj_per_chunk - 1) / obj_per_chunk; in mlx4_init_icm_table() 408 table->num_obj = nobj; in mlx4_init_icm_table() 414 size = (u64) nobj * obj_size; in mlx4_init_icm_table()
|
D | icm.h | 82 u64 virt, int obj_size, u32 nobj, int reserved,
|
/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,
|