Home
last modified time | relevance | path

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

/Linux-v5.4/net/ceph/
Dosdmap.c931 map->pg_upmap_items = RB_ROOT; in ceph_osdmap_alloc()
963 while (!RB_EMPTY_ROOT(&map->pg_upmap_items)) { in ceph_osdmap_destroy()
965 rb_entry(rb_first(&map->pg_upmap_items), in ceph_osdmap_destroy()
967 rb_erase(&pg->node, &map->pg_upmap_items); in ceph_osdmap_destroy()
1428 pg->pg_upmap_items.len = len; in __decode_pg_upmap_items()
1430 pg->pg_upmap_items.from_to[i][0] = ceph_decode_32(p); in __decode_pg_upmap_items()
1431 pg->pg_upmap_items.from_to[i][1] = ceph_decode_32(p); in __decode_pg_upmap_items()
1442 return decode_pg_mapping(p, end, &map->pg_upmap_items, in decode_pg_upmap_items()
1449 return decode_pg_mapping(p, end, &map->pg_upmap_items, in decode_new_pg_upmap_items()
1456 return decode_pg_mapping(p, end, &map->pg_upmap_items, NULL, true); in decode_old_pg_upmap_items()
[all …]
Ddebugfs.c119 for (n = rb_first(&map->pg_upmap_items); n; n = rb_next(n)) { in osdmap_show()
125 for (i = 0; i < pg->pg_upmap_items.len; i++) in osdmap_show()
127 pg->pg_upmap_items.from_to[i][0], in osdmap_show()
128 pg->pg_upmap_items.from_to[i][1]); in osdmap_show()
/Linux-v5.4/include/linux/ceph/
Dosdmap.h152 } pg_upmap_items; member
173 struct rb_root pg_upmap_items; /* from -> to within raw set */ member