Searched refs:linear_size (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/md/ |
D | md-linear.c | 49 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size() function 147 md_set_array_sectors(mddev, linear_size(mddev, 0, 0)); in linear_run() 193 md_set_array_sectors(mddev, linear_size(mddev, 0, 0)); in linear_add() 287 .size = linear_size,
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | pci.c | 1131 u64 single_size, double_size, linear_size; in mlxsw_pci_profile_get_kvd_sizes() local 1136 &linear_size); in mlxsw_pci_profile_get_kvd_sizes() 1142 MLXSW_RES_SET(res, KVD_LINEAR_SIZE, linear_size); in mlxsw_pci_profile_get_kvd_sizes()
|
D | spectrum.c | 3466 u32 kvd_size, single_size, double_size, linear_size; in mlxsw_sp1_resources_kvd_register() local 3487 linear_size = profile->kvd_linear_size; in mlxsw_sp1_resources_kvd_register() 3489 linear_size, in mlxsw_sp1_resources_kvd_register() 3500 double_size = kvd_size - linear_size; in mlxsw_sp1_resources_kvd_register() 3513 single_size = kvd_size - double_size - linear_size; in mlxsw_sp1_resources_kvd_register()
|