Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dicm.c416 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()
Dicm.h91 u64 virt, int obj_size, u32 nobj, int reserved,
/linux-6.6.21/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,
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_hem.h114 unsigned long obj_size, unsigned long nobj);
Dhns_roce_hem.c795 unsigned long obj_size, unsigned long nobj) in hns_roce_init_hem_table() argument
803 num_hem = DIV_ROUND_UP(nobj, obj_per_chunk); in hns_roce_init_hem_table()
825 num_hem = DIV_ROUND_UP(nobj, obj_per_chunk); in hns_roce_init_hem_table()