Home
last modified time | relevance | path

Searched refs:pg_upmap (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/ceph/
H A Dosdmap.h159 } pg_temp, pg_upmap; member
186 struct rb_root pg_upmap; /* PG := raw set */ member
/linux/net/ceph/
H A Dosdmap.c1123 map->pg_upmap = RB_ROOT; in ceph_osdmap_alloc()
1153 while (!RB_EMPTY_ROOT(&map->pg_upmap)) { in ceph_osdmap_destroy()
1155 rb_entry(rb_first(&map->pg_upmap), in ceph_osdmap_destroy()
1157 rb_erase(&pg->node, &map->pg_upmap); in ceph_osdmap_destroy()
1588 return decode_pg_mapping(p, end, &map->pg_upmap, __decode_pg_upmap, in decode_pg_upmap()
1594 return decode_pg_mapping(p, end, &map->pg_upmap, __decode_pg_upmap, in decode_new_pg_upmap()
1600 return decode_pg_mapping(p, end, &map->pg_upmap, NULL, true); in decode_old_pg_upmap()
1779 WARN_ON(!RB_EMPTY_ROOT(&map->pg_upmap)); in osdmap_decode()
2591 pg = lookup_pg_mapping(&osdmap->pg_upmap, pgid); in apply_upmap()
2594 for (i = 0; i < pg->pg_upmap.len; i++) { in apply_upmap()
[all …]
H A Ddebugfs.c115 for (n = rb_first(&map->pg_upmap); n; n = rb_next(n)) { in osdmap_show()
121 for (i = 0; i < pg->pg_upmap.len; i++) in osdmap_show()
123 pg->pg_upmap.osds[i]); in osdmap_show()