Searched refs:max_osd (Results 1 – 3 of 3) sorted by relevance
| /linux/net/ceph/ |
| H A D | osdmap.c | 1196 dout("%s old %u new %u\n", __func__, map->max_osd, max); in osdmap_set_max_osd() 1197 if (max == map->max_osd) in osdmap_set_max_osd() 1210 to_copy = min(map->max_osd, max); in osdmap_set_max_osd() 1223 for (i = map->max_osd; i < max; i++) { in osdmap_set_max_osd() 1242 for (i = map->max_osd; i < max; i++) in osdmap_set_max_osd() 1247 map->max_osd = max; in osdmap_set_max_osd() 1510 array_size(map->max_osd, sizeof(*map->osd_primary_affinity)), in set_primary_affinity() 1515 for (i = 0; i < map->max_osd; i++) in set_primary_affinity() 1536 if (len != map->max_osd) in decode_primary_affinity() 1539 ceph_decode_need(p, end, map->max_osd*sizeof(u32), e_inval); in decode_primary_affinity() [all …]
|
| H A D | debugfs.c | 84 for (i = 0; i < map->max_osd; i++) { in osdmap_show()
|
| /linux/include/linux/ceph/ |
| H A D | osdmap.h | 177 u32 max_osd; /* size of osd_state, _offload, _addr arrays */ member 203 return osd >= 0 && osd < map->max_osd && in ceph_osd_exists() 224 if (osd >= map->max_osd) in ceph_osd_addr()
|