Lines Matching refs:ceph_opts
755 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts) in rbd_client_create() argument
768 rbdc->client = ceph_create_client(ceph_opts, rbdc); in rbd_client_create()
771 ceph_opts = NULL; /* Now rbdc->client is responsible for ceph_opts */ in rbd_client_create()
789 if (ceph_opts) in rbd_client_create()
790 ceph_destroy_options(ceph_opts); in rbd_client_create()
807 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts) in rbd_client_find() argument
812 if (ceph_opts->flags & CEPH_OPT_NOSHARE) in rbd_client_find()
817 if (!ceph_compare_options(ceph_opts, client_node->client)) { in rbd_client_find()
952 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts) in rbd_get_client() argument
958 rbdc = rbd_client_find(ceph_opts); in rbd_get_client()
960 ceph_destroy_options(ceph_opts); in rbd_get_client()
974 rbdc = rbd_client_create(ceph_opts); in rbd_get_client()
6507 struct ceph_options **ceph_opts, in rbd_add_parse_args() argument
6603 *ceph_opts = pctx.copts; in rbd_add_parse_args()
7167 struct ceph_options *ceph_opts = NULL; in do_rbd_add() local
7180 rc = rbd_add_parse_args(buf, &ceph_opts, &rbd_opts, &spec); in do_rbd_add()
7184 rbdc = rbd_get_client(ceph_opts); in do_rbd_add()