Home
last modified time | relevance | path

Searched refs:nobj (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Dicm.c391 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()
Dicm.h82 u64 virt, int obj_size, u32 nobj, int reserved,
/drivers/infiniband/hw/mthca/
Dmthca_memfree.c358 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()
Dmthca_memfree.h88 int nobj, int reserved,