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 *rbdc = NULL, *iter; in rbd_client_find()
875 struct rbd_client *rbdc = container_of(kref, struct rbd_client, kref); in rbd_client_release()
890 static void rbd_put_client(struct rbd_client *rbdc) in rbd_put_client()
901 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts) in rbd_get_client()
903 struct rbd_client *rbdc; in rbd_get_client()
1392 struct ceph_options *opt = rbd_dev->rbd_client->client->options; in rbd_osd_format_read()
1412 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_obj_add_osd_request()
1707 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_object_map_lock()
1765 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_object_map_unlock()
1804 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_object_map_load()
2038 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_object_map_update()
3606 cid.gid = ceph_client_gid(rbd_dev->rbd_client->client); in rbd_get_cid()
3646 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_lock()
3669 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_unlock()
3692 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_notify_op_lock()
3834 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in get_lock_owner_info()
3881 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in find_watcher()
3928 struct ceph_client *client = rbd_dev->rbd_client->client; in rbd_try_lock()
4289 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_acknowledge_notify()
4417 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_register_watch()
4438 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __rbd_unregister_watch()
4494 ceph_osdc_flush_notifies(&rbd_dev->rbd_client->client->osdc); in rbd_unregister_watch()
4502 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_reacquire_lock()
4590 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_method_sync()
4743 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_obj_read_sync()
4949 if (!ceph_test_opt(rbd_dev->rbd_client->client, NOCRC)) in rbd_init_disk()
5010 ceph_client_addr(rbd_dev->rbd_client->client); in rbd_client_addr_show()
5022 ceph_client_gid(rbd_dev->rbd_client->client)); in rbd_client_id_show()
5030 return sprintf(buf, "%pU\n", &rbd_dev->rbd_client->client->fsid); in rbd_cluster_fsid_show()
5268 rbd_put_client(rbd_dev->rbd_client); in rbd_dev_free()
5295 static struct rbd_device *__rbd_dev_create(struct rbd_client *rbdc, in __rbd_dev_create()
5341 rbd_dev->rbd_client = rbdc; in __rbd_dev_create()
5350 static struct rbd_device *rbd_dev_create(struct rbd_client *rbdc, in rbd_dev_create()
5603 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __get_parent_info()
5646 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in __get_parent_info_legacy()
5984 struct ceph_osd_client *osdc = &rbd_dev->rbd_client->client->osdc; in rbd_spec_fill_names()
6739 parent = __rbd_dev_create(rbd_dev->rbd_client, rbd_dev->parent_spec); in rbd_dev_probe_parent()
6749 __rbd_get_client(rbd_dev->rbd_client); in rbd_dev_probe_parent()
6981 struct rbd_client *rbdc; in do_rbd_add()