Lines Matching refs:zsp
855 struct zone_split *zsp = &o->zone_split[ddir][i]; in zone_split_ddir() local
857 if (zsp->access_perc == (uint8_t) -1U) in zone_split_ddir()
860 perc += zsp->access_perc; in zone_split_ddir()
862 if (zsp->size_perc == (uint8_t) -1U) in zone_split_ddir()
865 sperc += zsp->size_perc; in zone_split_ddir()
891 struct zone_split *zsp = &o->zone_split[ddir][i]; in zone_split_ddir() local
893 if (zsp->access_perc == (uint8_t) -1U) in zone_split_ddir()
894 zsp->access_perc = (100 - perc) / perc_missing; in zone_split_ddir()
901 struct zone_split *zsp = &o->zone_split[ddir][i]; in zone_split_ddir() local
903 if (zsp->size_perc == (uint8_t) -1U) in zone_split_ddir()
904 zsp->size_perc = (100 - sperc) / sperc_missing; in zone_split_ddir()
923 struct zone_split *zsp = &td->o.zone_split[ddir][i]; in __td_zone_gen_index() local
925 for (j = aprev; j < aprev + zsp->access_perc; j++) { in __td_zone_gen_index()
928 zsi->size_perc = sprev + zsp->size_perc; in __td_zone_gen_index()
932 aprev += zsp->access_perc; in __td_zone_gen_index()
933 sprev += zsp->size_perc; in __td_zone_gen_index()
980 struct zone_split *zsp = &td->o.zone_split[i][j]; in parse_zoned_distribution() local
982 dprint(FD_PARSE, "\t%d: %u/%u\n", j, zsp->access_perc, in parse_zoned_distribution()
983 zsp->size_perc); in parse_zoned_distribution()