Lines Matching refs:map
57 struct ceph_osdmap *map = client->osdc.osdmap; in osdmap_show() local
60 if (map == NULL) in osdmap_show()
63 seq_printf(s, "epoch %d\n", map->epoch); in osdmap_show()
65 (map->flags & CEPH_OSDMAP_NEARFULL) ? " NEARFULL" : "", in osdmap_show()
66 (map->flags & CEPH_OSDMAP_FULL) ? " FULL" : ""); in osdmap_show()
68 for (n = rb_first(&map->pg_pools); n; n = rb_next(n)) { in osdmap_show()
76 for (i = 0; i < map->max_osd; i++) { in osdmap_show()
77 struct ceph_entity_addr *addr = &map->osd_addr[i]; in osdmap_show()
78 int state = map->osd_state[i]; in osdmap_show()
83 ((map->osd_weight[i]*100) >> 16), in osdmap_show()
85 ((ceph_get_primary_affinity(map, i)*100) >> 16)); in osdmap_show()
87 for (n = rb_first(&map->pg_temp); n; n = rb_next(n)) { in osdmap_show()
98 for (n = rb_first(&map->primary_temp); n; n = rb_next(n)) { in osdmap_show()