Lines Matching refs:map
56 struct ceph_osdmap *map = client->osdc.osdmap; in osdmap_show() local
59 if (map == NULL) in osdmap_show()
62 seq_printf(s, "epoch %d\n", map->epoch); in osdmap_show()
64 (map->flags & CEPH_OSDMAP_NEARFULL) ? " NEARFULL" : "", in osdmap_show()
65 (map->flags & CEPH_OSDMAP_FULL) ? " FULL" : ""); in osdmap_show()
67 for (n = rb_first(&map->pg_pools); n; n = rb_next(n)) { in osdmap_show()
75 for (i = 0; i < map->max_osd; i++) { in osdmap_show()
76 struct ceph_entity_addr *addr = &map->osd_addr[i]; in osdmap_show()
77 int state = map->osd_state[i]; in osdmap_show()
82 ((map->osd_weight[i]*100) >> 16), in osdmap_show()
84 ((ceph_get_primary_affinity(map, i)*100) >> 16)); in osdmap_show()
86 for (n = rb_first(&map->pg_temp); n; n = rb_next(n)) { in osdmap_show()
97 for (n = rb_first(&map->primary_temp); n; n = rb_next(n)) { in osdmap_show()