Lines Matching refs:map
59 struct ceph_osdmap *map = osdc->osdmap; in osdmap_show() local
62 if (map == NULL) in osdmap_show()
66 seq_printf(s, "epoch %u barrier %u flags 0x%x\n", map->epoch, in osdmap_show()
67 osdc->epoch_barrier, map->flags); in osdmap_show()
69 for (n = rb_first(&map->pg_pools); n; n = rb_next(n)) { in osdmap_show()
79 for (i = 0; i < map->max_osd; i++) { in osdmap_show()
80 struct ceph_entity_addr *addr = &map->osd_addr[i]; in osdmap_show()
81 u32 state = map->osd_state[i]; in osdmap_show()
86 ((map->osd_weight[i]*100) >> 16), in osdmap_show()
88 ((ceph_get_primary_affinity(map, i)*100) >> 16), in osdmap_show()
89 ceph_get_crush_locality(map, i, in osdmap_show()
92 for (n = rb_first(&map->pg_temp); n; n = rb_next(n)) { in osdmap_show()
103 for (n = rb_first(&map->primary_temp); n; n = rb_next(n)) { in osdmap_show()
110 for (n = rb_first(&map->pg_upmap); n; n = rb_next(n)) { in osdmap_show()
121 for (n = rb_first(&map->pg_upmap_items); n; n = rb_next(n)) { in osdmap_show()