Searched refs:linear_size (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/md/ |
D | md-linear.c | 72 static sector_t linear_size(struct mddev *mddev, sector_t sectors, int raid_disks) in linear_size() function 179 md_set_array_sectors(mddev, linear_size(mddev, 0, 0)); in linear_run() 225 md_set_array_sectors(mddev, linear_size(mddev, 0, 0)); in linear_add() 324 .size = linear_size,
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | pci.c | 1058 u64 single_size, double_size, linear_size; in mlxsw_pci_profile_get_kvd_sizes() local 1063 &linear_size); in mlxsw_pci_profile_get_kvd_sizes() 1069 MLXSW_RES_SET(res, KVD_LINEAR_SIZE, linear_size); in mlxsw_pci_profile_get_kvd_sizes()
|
D | spectrum.c | 5089 u32 kvd_size, single_size, double_size, linear_size; in mlxsw_sp1_resources_kvd_register() local 5110 linear_size = profile->kvd_linear_size; in mlxsw_sp1_resources_kvd_register() 5112 linear_size, in mlxsw_sp1_resources_kvd_register() 5123 double_size = kvd_size - linear_size; in mlxsw_sp1_resources_kvd_register() 5136 single_size = kvd_size - double_size - linear_size; in mlxsw_sp1_resources_kvd_register()
|