Lines Matching refs:rbd_client

198 struct rbd_client {  struct
342 struct rbd_client *rbd_client; member
655 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts) in rbd_client_create()
657 struct rbd_client *rbdc; in rbd_client_create()
661 rbdc = kmalloc(sizeof(struct rbd_client), GFP_KERNEL); in rbd_client_create()
696 static struct rbd_client *__rbd_get_client(struct rbd_client *rbdc) in __rbd_get_client()
707 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts) in rbd_client_find()
709 struct rbd_client *client_node; in rbd_client_find()
820 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts) in rbd_get_client()
822 struct rbd_client *rbdc; in rbd_get_client()
842 struct rbd_client *rbdc = container_of(kref, struct rbd_client, kref); in rbd_client_release()
857 static void rbd_put_client(struct rbd_client *rbdc) in rbd_put_client()
1935 osdc = &rbd_dev->rbd_client->client->osdc; in rbd_osd_req_create()
1984 osdc = &rbd_dev->rbd_client->client->osdc; in rbd_osd_req_create_copyup()
2610 osdc = &rbd_dev->rbd_client->client->osdc; in rbd_img_obj_parent_read_full_callback()
2647 osdc = &rbd_dev->rbd_client->client->osdc; in rbd_img_obj_parent_read_full_callback()
2791 osdc = &rbd_dev->rbd_client->client->osdc; in rbd_img_obj_exists_callback()
2870 osdc = &rbd_dev->rbd_client->client->osdc; in rbd_img_obj_exists_submit()
2932 osdc = &rbd_dev->rbd_client->client->osdc; in rbd_img_obj_request_submit()
2996 osdc = &rbd_dev->rbd_client->client->osdc; in rbd_img_parent_read_callback()
3075 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_notify_ack_sync()
3138 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_watch_request_helper()
3188 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_dev_header_watch_sync()
3258 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_method_sync()
3526 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_read_sync()
3803 if (!ceph_test_opt(rbd_dev->rbd_client->client, NOCRC)) in rbd_init_disk()
3876 ceph_client_id(rbd_dev->rbd_client->client)); in rbd_client_id_show()
4064 static struct rbd_device *rbd_dev_create(struct rbd_client *rbdc, in rbd_dev_create()
4080 rbd_dev->rbd_client = rbdc; in rbd_dev_create()
4094 rbd_put_client(rbd_dev->rbd_client); in rbd_dev_destroy()
4527 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_spec_fill_names()
4982 static int rbd_add_get_pool_id(struct rbd_client *rbdc, const char *pool_name) in rbd_add_get_pool_id()
5170 parent = rbd_dev_create(rbd_dev->rbd_client, rbd_dev->parent_spec); in rbd_dev_probe_parent()
5180 __rbd_get_client(rbd_dev->rbd_client); in rbd_dev_probe_parent()
5409 struct rbd_client *rbdc; in do_rbd_add()
5596 ceph_osdc_flush_notifies(&rbd_dev->rbd_client->client->osdc); in do_rbd_remove()