Lines Matching refs:rbd_client
204 struct rbd_client { struct
389 struct rbd_client *rbd_client; member
705 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts) in rbd_client_create()
707 struct rbd_client *rbdc; in rbd_client_create()
711 rbdc = kmalloc(sizeof(struct rbd_client), GFP_KERNEL); in rbd_client_create()
746 static struct rbd_client *__rbd_get_client(struct rbd_client *rbdc) in __rbd_get_client()
757 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts) in rbd_client_find()
759 struct rbd_client *client_node; in rbd_client_find()
876 struct rbd_client *rbdc = container_of(kref, struct rbd_client, kref); in rbd_client_release()
891 static void rbd_put_client(struct rbd_client *rbdc) in rbd_put_client()
902 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts) in rbd_get_client()
904 struct rbd_client *rbdc; in rbd_get_client()
1393 struct ceph_options *opt = rbd_dev->rbd_client->client->options; in rbd_osd_format_read()
1413 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_obj_add_osd_request()
1708 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_object_map_lock()
1766 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_object_map_unlock()
1805 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_object_map_load()
2039 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_object_map_update()
3607 cid.gid = ceph_client_gid(rbd_dev->rbd_client->client); in rbd_get_cid()
3647 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_lock()
3670 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_unlock()
3693 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_notify_op_lock()
3835 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in get_lock_owner_info()
3882 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in find_watcher()
3929 struct ceph_client *client = rbd_dev->rbd_client->client; in rbd_try_lock()
4290 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_acknowledge_notify()
4418 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_register_watch()
4439 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_unregister_watch()
4495 ceph_osdc_flush_notifies(&rbd_dev->rbd_client->client->osdc); in rbd_unregister_watch()
4503 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_reacquire_lock()
4591 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_method_sync()
4744 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_read_sync()
4953 if (!ceph_test_opt(rbd_dev->rbd_client->client, NOCRC)) in rbd_init_disk()
5014 ceph_client_addr(rbd_dev->rbd_client->client); in rbd_client_addr_show()
5026 ceph_client_gid(rbd_dev->rbd_client->client)); in rbd_client_id_show()
5034 return sprintf(buf, "%pU\n", &rbd_dev->rbd_client->client->fsid); in rbd_cluster_fsid_show()
5272 rbd_put_client(rbd_dev->rbd_client); in rbd_dev_free()
5299 static struct rbd_device *__rbd_dev_create(struct rbd_client *rbdc, in __rbd_dev_create()
5345 rbd_dev->rbd_client = rbdc; in __rbd_dev_create()
5354 static struct rbd_device *rbd_dev_create(struct rbd_client *rbdc, in rbd_dev_create()
5607 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __get_parent_info()
5650 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __get_parent_info_legacy()
5988 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_spec_fill_names()
6742 parent = __rbd_dev_create(rbd_dev->rbd_client, rbd_dev->parent_spec); in rbd_dev_probe_parent()
6752 __rbd_get_client(rbd_dev->rbd_client); in rbd_dev_probe_parent()
6984 struct rbd_client *rbdc; in do_rbd_add()