Lines Matching refs:osdc
62 struct ceph_osd_client *osdc = &client->osdc; in osdmap_show() local
66 down_read(&osdc->lock); in osdmap_show()
67 map = osdc->osdmap; in osdmap_show()
72 osdc->epoch_barrier, map->flags); in osdmap_show()
140 up_read(&osdc->lock); in osdmap_show()
351 struct ceph_osd_client *osdc = &client->osdc; in osdc_show() local
354 down_read(&osdc->lock); in osdc_show()
356 atomic_read(&osdc->num_requests), in osdc_show()
357 atomic_read(&osdc->num_homeless)); in osdc_show()
358 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show()
363 dump_requests(s, &osdc->homeless_osd); in osdc_show()
366 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show()
371 dump_linger_requests(s, &osdc->homeless_osd); in osdc_show()
374 for (n = rb_first(&osdc->osds); n; n = rb_next(n)) { in osdc_show()
380 up_read(&osdc->lock); in osdc_show()
400 DEFINE_SHOW_ATTRIBUTE(osdc);
430 client->osdc.debugfs_file = debugfs_create_file("osdc", in ceph_debugfs_client_init()
461 debugfs_remove(client->osdc.debugfs_file); in ceph_debugfs_client_cleanup()