Lines Matching refs:rbd_client

204 struct rbd_client {  struct
389 struct rbd_client *rbd_client; member
756 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts) in rbd_client_create()
758 struct rbd_client *rbdc; in rbd_client_create()
762 rbdc = kmalloc(sizeof(struct rbd_client), GFP_KERNEL); in rbd_client_create()
797 static struct rbd_client *__rbd_get_client(struct rbd_client *rbdc) in __rbd_get_client()
808 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts) in rbd_client_find()
810 struct rbd_client *client_node; in rbd_client_find()
927 struct rbd_client *rbdc = container_of(kref, struct rbd_client, kref); in rbd_client_release()
942 static void rbd_put_client(struct rbd_client *rbdc) in rbd_put_client()
953 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts) in rbd_get_client()
955 struct rbd_client *rbdc; in rbd_get_client()
1455 struct ceph_options *opt = rbd_dev->rbd_client->client->options; in rbd_osd_format_read()
1475 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_obj_add_osd_request()
1770 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_object_map_lock()
1828 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_object_map_unlock()
1867 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_object_map_load()
2101 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_object_map_update()
3670 cid.gid = ceph_client_gid(rbd_dev->rbd_client->client); in rbd_get_cid()
3710 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_lock()
3733 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_unlock()
3756 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_notify_op_lock()
3898 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in get_lock_owner_info()
3945 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in find_watcher()
3988 struct ceph_client *client = rbd_dev->rbd_client->client; in rbd_try_lock()
4349 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_acknowledge_notify()
4477 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_register_watch()
4498 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_unregister_watch()
4554 ceph_osdc_flush_notifies(&rbd_dev->rbd_client->client->osdc); in rbd_unregister_watch()
4562 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_reacquire_lock()
4650 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_method_sync()
4804 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_read_sync()
5016 if (!ceph_test_opt(rbd_dev->rbd_client->client, NOCRC)) in rbd_init_disk()
5087 ceph_client_addr(rbd_dev->rbd_client->client); in rbd_client_addr_show()
5099 ceph_client_gid(rbd_dev->rbd_client->client)); in rbd_client_id_show()
5107 return sprintf(buf, "%pU\n", &rbd_dev->rbd_client->client->fsid); in rbd_cluster_fsid_show()
5345 rbd_put_client(rbd_dev->rbd_client); in rbd_dev_free()
5372 static struct rbd_device *__rbd_dev_create(struct rbd_client *rbdc, in __rbd_dev_create()
5418 rbd_dev->rbd_client = rbdc; in __rbd_dev_create()
5427 static struct rbd_device *rbd_dev_create(struct rbd_client *rbdc, in rbd_dev_create()
5680 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __get_parent_info()
5723 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __get_parent_info_legacy()
6061 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_spec_fill_names()
6815 parent = __rbd_dev_create(rbd_dev->rbd_client, rbd_dev->parent_spec); in rbd_dev_probe_parent()
6825 __rbd_get_client(rbd_dev->rbd_client); in rbd_dev_probe_parent()
7057 struct rbd_client *rbdc; in do_rbd_add()