Home
last modified time | relevance | path

Searched refs:osds (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/net/ceph/
Dosdmap.c1247 pg->pg_temp.osds[i] = ceph_decode_32(p); in __decode_pg_temp()
2016 !memcmp(lhs->osds, rhs->osds, rhs->size * sizeof(rhs->osds[0]))) in __osds_equal()
2050 if (set->osds[i] != CRUSH_ITEM_NONE) in osds_valid()
2062 memcpy(dest->osds, src->osds, src->size * sizeof(src->osds[0])); in ceph_osds_copy()
2125 if (acting->osds[i] == osd) in calc_pg_rank()
2303 if (!ceph_osd_exists(osdmap, set->osds[i])) { in remove_nonexistent_osds()
2308 set->osds[i - removed] = set->osds[i]; in remove_nonexistent_osds()
2314 if (!ceph_osd_exists(osdmap, set->osds[i])) in remove_nonexistent_osds()
2315 set->osds[i] = CRUSH_ITEM_NONE; in remove_nonexistent_osds()
2348 if (pi->size > ARRAY_SIZE(raw->osds)) { in pg_to_raw_osds()
[all …]
Ddebugfs.c98 pg->pg_temp.osds[i]); in osdmap_show()
116 pg->pg_upmap.osds[i]); in osdmap_show()
189 seq_printf(s, "%s%d", (!i ? "" : ","), t->up.osds[i]); in dump_target()
192 seq_printf(s, "%s%d", (!i ? "" : ","), t->acting.osds[i]); in dump_target()
347 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show()
355 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show()
363 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show()
Dosd_client.c1158 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in DEFINE_RB_FUNCS()
1340 erase_osd(&osdc->osds, osd); in close_osd()
1394 osd = lookup_osd(&osdc->osds, o); in lookup_create_osd()
1402 insert_osd(&osdc->osds, osd); in lookup_create_osd()
3288 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in handle_timeout()
3879 for (n = rb_first(&osdc->osds); n; ) { in handle_one_map()
4544 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in ceph_osdc_sync()
5120 for (n = rb_first(&osdc->osds); n; ) { in ceph_osdc_reopen_osds()
5140 osdc->osds = RB_ROOT; in ceph_osdc_init()
5211 while (!RB_EMPTY_ROOT(&osdc->osds)) { in ceph_osdc_stop()
[all …]
/Linux-v5.4/include/linux/ceph/
Dosdmap.h144 int osds[]; member
247 int osds[CEPH_PG_MAX_SIZE]; member
Dosd_client.h345 struct rb_root osds; /* osds */ member