Lines Matching refs:pg_upmap
1119 map->pg_upmap = RB_ROOT; in ceph_osdmap_alloc()
1149 while (!RB_EMPTY_ROOT(&map->pg_upmap)) { in ceph_osdmap_destroy()
1151 rb_entry(rb_first(&map->pg_upmap), in ceph_osdmap_destroy()
1153 rb_erase(&pg->node, &map->pg_upmap); in ceph_osdmap_destroy()
1586 return decode_pg_mapping(p, end, &map->pg_upmap, __decode_pg_upmap, in decode_pg_upmap()
1592 return decode_pg_mapping(p, end, &map->pg_upmap, __decode_pg_upmap, in decode_new_pg_upmap()
1598 return decode_pg_mapping(p, end, &map->pg_upmap, NULL, true); in decode_old_pg_upmap()
1769 WARN_ON(!RB_EMPTY_ROOT(&map->pg_upmap)); in osdmap_decode()
2564 pg = lookup_pg_mapping(&osdmap->pg_upmap, pgid); in apply_upmap()
2567 for (i = 0; i < pg->pg_upmap.len; i++) { in apply_upmap()
2568 int osd = pg->pg_upmap.osds[i]; in apply_upmap()
2577 for (i = 0; i < pg->pg_upmap.len; i++) in apply_upmap()
2578 raw->osds[i] = pg->pg_upmap.osds[i]; in apply_upmap()
2579 raw->size = pg->pg_upmap.len; in apply_upmap()