Searched refs:osds (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/net/ceph/ |
D | osdmap.c | 1231 pg->pg_temp.osds[i] = ceph_decode_32(p); in __decode_pg_temp() 1995 !memcmp(lhs->osds, rhs->osds, rhs->size * sizeof(rhs->osds[0]))) in __osds_equal() 2029 if (set->osds[i] != CRUSH_ITEM_NONE) in osds_valid() 2041 memcpy(dest->osds, src->osds, src->size * sizeof(src->osds[0])); in ceph_osds_copy() 2104 if (acting->osds[i] == osd) in calc_pg_rank() 2282 if (!ceph_osd_exists(osdmap, set->osds[i])) { in remove_nonexistent_osds() 2287 set->osds[i - removed] = set->osds[i]; in remove_nonexistent_osds() 2293 if (!ceph_osd_exists(osdmap, set->osds[i])) in remove_nonexistent_osds() 2294 set->osds[i] = CRUSH_ITEM_NONE; in remove_nonexistent_osds() 2327 if (pi->size > ARRAY_SIZE(raw->osds)) { in pg_to_raw_osds() [all …]
|
D | debugfs.c | 98 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()
|
D | osd_client.c | 1068 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in DEFINE_RB_FUNCS() 1250 erase_osd(&osdc->osds, osd); in close_osd() 1304 osd = lookup_osd(&osdc->osds, o); in lookup_create_osd() 1312 insert_osd(&osdc->osds, osd); in lookup_create_osd() 3177 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in handle_timeout() 3769 for (n = rb_first(&osdc->osds); n; ) { in handle_one_map() 4436 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in ceph_osdc_sync() 5000 osdc->osds = RB_ROOT; in ceph_osdc_init() 5070 while (!RB_EMPTY_ROOT(&osdc->osds)) { in ceph_osdc_stop() 5071 struct ceph_osd *osd = rb_entry(rb_first(&osdc->osds), in ceph_osdc_stop()
|
/Linux-v4.19/include/linux/ceph/ |
D | osdmap.h | 145 int osds[]; member 248 int osds[CEPH_PG_MAX_SIZE]; member
|
D | osd_client.h | 338 struct rb_root osds; /* osds */ member
|