Lines Matching refs:rbd_client

198 struct rbd_client {  struct
339 struct rbd_client *rbd_client; member
657 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts) in rbd_client_create()
659 struct rbd_client *rbdc; in rbd_client_create()
663 rbdc = kmalloc(sizeof(struct rbd_client), GFP_KERNEL); in rbd_client_create()
698 static struct rbd_client *__rbd_get_client(struct rbd_client *rbdc) in __rbd_get_client()
709 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts) in rbd_client_find()
711 struct rbd_client *client_node; in rbd_client_find()
873 struct rbd_client *rbdc = container_of(kref, struct rbd_client, kref); in rbd_client_release()
888 static void rbd_put_client(struct rbd_client *rbdc) in rbd_put_client()
916 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts) in rbd_get_client()
918 struct rbd_client *rbdc; in rbd_get_client()
1478 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_osd_req_create()
2633 cid.gid = ceph_client_gid(rbd_dev->rbd_client->client); in rbd_get_cid()
2672 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_lock()
2696 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_unlock()
2719 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_notify_op_lock()
2846 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in get_lock_owner_info()
2893 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in find_watcher()
2936 struct ceph_client *client = rbd_dev->rbd_client->client; in rbd_try_lock()
3087 ceph_osdc_sync(&rbd_dev->rbd_client->client->osdc); in rbd_release_lock()
3239 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_acknowledge_notify()
3367 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_register_watch()
3388 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_unregister_watch()
3441 ceph_osdc_flush_notifies(&rbd_dev->rbd_client->client->osdc); in rbd_unregister_watch()
3449 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_reacquire_lock()
3533 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_method_sync()
3773 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_read_sync()
4018 if (!ceph_test_opt(rbd_dev->rbd_client->client, NOCRC)) in rbd_init_disk()
4094 ceph_client_addr(rbd_dev->rbd_client->client); in rbd_client_addr_show()
4106 ceph_client_gid(rbd_dev->rbd_client->client)); in rbd_client_id_show()
4114 return sprintf(buf, "%pU\n", &rbd_dev->rbd_client->client->fsid); in rbd_cluster_fsid_show()
4346 rbd_put_client(rbd_dev->rbd_client); in rbd_dev_free()
4373 static struct rbd_device *__rbd_dev_create(struct rbd_client *rbdc, in __rbd_dev_create()
4413 rbd_dev->rbd_client = rbdc; in __rbd_dev_create()
4422 static struct rbd_device *rbd_dev_create(struct rbd_client *rbdc, in rbd_dev_create()
4639 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __get_parent_info()
4682 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __get_parent_info_legacy()
5020 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_spec_fill_names()
5610 parent = __rbd_dev_create(rbd_dev->rbd_client, rbd_dev->parent_spec); in rbd_dev_probe_parent()
5620 __rbd_get_client(rbd_dev->rbd_client); in rbd_dev_probe_parent()
5833 struct rbd_client *rbdc; in do_rbd_add()