Searched refs:max_osd (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/include/linux/ceph/ |
D | osdmap.h | 44 u32 max_osd; /* size of osd_state, _offload, _addr arrays */ member 89 return (osd < map->max_osd) && (map->osd_state[osd] & CEPH_OSD_UP); in ceph_osd_is_up() 102 if (osd >= map->max_osd) in ceph_osd_addr()
|
/linux-3.4.99/net/ceph/ |
D | osdmap.c | 565 memcpy(state, map->osd_state, map->max_osd*sizeof(*state)); in osdmap_set_max_osd() 566 memcpy(addr, map->osd_addr, map->max_osd*sizeof(*addr)); in osdmap_set_max_osd() 567 memcpy(weight, map->osd_weight, map->max_osd*sizeof(*weight)); in osdmap_set_max_osd() 576 map->max_osd = max; in osdmap_set_max_osd() 655 dout("osdmap_decode max_osd = %d\n", map->max_osd); in osdmap_decode() 660 map->max_osd*(1 + sizeof(*map->osd_weight) + in osdmap_decode() 663 ceph_decode_copy(p, map->osd_state, map->max_osd); in osdmap_decode() 666 for (i = 0; i < map->max_osd; i++) in osdmap_decode() 670 ceph_decode_copy(p, map->osd_addr, map->max_osd*sizeof(*map->osd_addr)); in osdmap_decode() 671 for (i = 0; i < map->max_osd; i++) in osdmap_decode() [all …]
|
D | debugfs.c | 73 for (i = 0; i < client->osdc.osdmap->max_osd; i++) { in osdmap_show()
|