Lines Matching refs:max_osd

1189 	dout("%s old %u new %u\n", __func__, map->max_osd, max);  in osdmap_set_max_osd()
1190 if (max == map->max_osd) in osdmap_set_max_osd()
1203 to_copy = min(map->max_osd, max); in osdmap_set_max_osd()
1216 for (i = map->max_osd; i < max; i++) { in osdmap_set_max_osd()
1235 for (i = map->max_osd; i < max; i++) in osdmap_set_max_osd()
1240 map->max_osd = max; in osdmap_set_max_osd()
1491 BUG_ON(osd >= map->max_osd); in ceph_get_primary_affinity()
1501 BUG_ON(osd >= map->max_osd); in set_primary_affinity()
1507 array_size(map->max_osd, sizeof(*map->osd_primary_affinity)), in set_primary_affinity()
1512 for (i = 0; i < map->max_osd; i++) in set_primary_affinity()
1533 if (len != map->max_osd) in decode_primary_affinity()
1536 ceph_decode_need(p, end, map->max_osd*sizeof(u32), e_inval); in decode_primary_affinity()
1538 for (i = 0; i < map->max_osd; i++) { in decode_primary_affinity()
1697 map->max_osd*(struct_v >= 5 ? sizeof(u32) : in osdmap_decode()
1700 if (ceph_decode_32(p) != map->max_osd) in osdmap_decode()
1704 for (i = 0; i < map->max_osd; i++) in osdmap_decode()
1707 for (i = 0; i < map->max_osd; i++) in osdmap_decode()
1711 if (ceph_decode_32(p) != map->max_osd) in osdmap_decode()
1714 for (i = 0; i < map->max_osd; i++) in osdmap_decode()
1717 if (ceph_decode_32(p) != map->max_osd) in osdmap_decode()
1720 for (i = 0; i < map->max_osd; i++) { in osdmap_decode()
1776 dout("full osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_decode()
1853 BUG_ON(osd >= map->max_osd); in decode_new_up_state_weight()
1886 BUG_ON(osd >= map->max_osd); in decode_new_up_state_weight()
1912 BUG_ON(osd >= map->max_osd); in decode_new_up_state_weight()
2069 dout("inc osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_apply_incremental()
2544 osdmap->osd_weight, osdmap->max_osd, pi->id); in pg_to_raw_osds()
2571 osd < osdmap->max_osd && in apply_upmap()
2606 to < osdmap->max_osd && in apply_upmap()