Home
last modified time | relevance | path

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

/Linux-v4.19/net/ceph/
Dosdmap.c932 map->pg_upmap_items = RB_ROOT; in ceph_osdmap_alloc()
964 while (!RB_EMPTY_ROOT(&map->pg_upmap_items)) { in ceph_osdmap_destroy()
966 rb_entry(rb_first(&map->pg_upmap_items), in ceph_osdmap_destroy()
968 rb_erase(&pg->node, &map->pg_upmap_items); in ceph_osdmap_destroy()
1412 pg->pg_upmap_items.len = len; in __decode_pg_upmap_items()
1414 pg->pg_upmap_items.from_to[i][0] = ceph_decode_32(p); in __decode_pg_upmap_items()
1415 pg->pg_upmap_items.from_to[i][1] = ceph_decode_32(p); in __decode_pg_upmap_items()
1426 return decode_pg_mapping(p, end, &map->pg_upmap_items, in decode_pg_upmap_items()
1433 return decode_pg_mapping(p, end, &map->pg_upmap_items, in decode_new_pg_upmap_items()
1440 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-v4.19/include/linux/ceph/
Dosdmap.h153 } pg_upmap_items; member
174 struct rb_root pg_upmap_items; /* from -> to within raw set */ member