Home
last modified time | relevance | path

Searched refs:linear_size (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/md/
Dmd-linear.c49 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size() function
156 md_set_array_sectors(mddev, linear_size(mddev, 0, 0)); in linear_run()
202 md_set_array_sectors(mddev, linear_size(mddev, 0, 0)); in linear_add()
298 .size = linear_size,
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c1127 u64 single_size, double_size, linear_size; in mlxsw_pci_profile_get_kvd_sizes() local
1132 &linear_size); in mlxsw_pci_profile_get_kvd_sizes()
1138 MLXSW_RES_SET(res, KVD_LINEAR_SIZE, linear_size); in mlxsw_pci_profile_get_kvd_sizes()
Dspectrum.c3165 u32 kvd_size, single_size, double_size, linear_size; in mlxsw_sp1_resources_kvd_register() local
3186 linear_size = profile->kvd_linear_size; in mlxsw_sp1_resources_kvd_register()
3188 linear_size, in mlxsw_sp1_resources_kvd_register()
3199 double_size = kvd_size - linear_size; in mlxsw_sp1_resources_kvd_register()
3212 single_size = kvd_size - double_size - linear_size; in mlxsw_sp1_resources_kvd_register()