Lines Matching refs:max_osd

1012 	for (i = map->max_osd; i < max; i++) {  in osdmap_set_max_osd()
1027 for (i = map->max_osd; i < max; i++) in osdmap_set_max_osd()
1032 map->max_osd = max; in osdmap_set_max_osd()
1287 BUG_ON(osd >= map->max_osd); in ceph_get_primary_affinity()
1297 BUG_ON(osd >= map->max_osd); in set_primary_affinity()
1302 map->osd_primary_affinity = kmalloc_array(map->max_osd, in set_primary_affinity()
1308 for (i = 0; i < map->max_osd; i++) in set_primary_affinity()
1329 if (len != map->max_osd) in decode_primary_affinity()
1332 ceph_decode_need(p, end, map->max_osd*sizeof(u32), e_inval); in decode_primary_affinity()
1334 for (i = 0; i < map->max_osd; i++) { in decode_primary_affinity()
1493 map->max_osd*((struct_v >= 5 ? sizeof(u32) : in osdmap_decode()
1498 if (ceph_decode_32(p) != map->max_osd) in osdmap_decode()
1502 for (i = 0; i < map->max_osd; i++) in osdmap_decode()
1505 for (i = 0; i < map->max_osd; i++) in osdmap_decode()
1509 if (ceph_decode_32(p) != map->max_osd) in osdmap_decode()
1512 for (i = 0; i < map->max_osd; i++) in osdmap_decode()
1515 if (ceph_decode_32(p) != map->max_osd) in osdmap_decode()
1518 ceph_decode_copy(p, map->osd_addr, map->max_osd*sizeof(*map->osd_addr)); in osdmap_decode()
1519 for (i = 0; i < map->max_osd; i++) in osdmap_decode()
1572 dout("full osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_decode()
1644 BUG_ON(osd >= map->max_osd); in decode_new_up_state_weight()
1677 BUG_ON(osd >= map->max_osd); in decode_new_up_state_weight()
1705 BUG_ON(osd >= map->max_osd); in decode_new_up_state_weight()
1860 dout("inc osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_apply_incremental()
2335 osdmap->osd_weight, osdmap->max_osd, pi->id); in pg_to_raw_osds()
2362 osd < osdmap->max_osd && in apply_upmap()
2397 to < osdmap->max_osd && in apply_upmap()