Lines Matching refs:ceph_opts
657 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts) in rbd_client_create() argument
670 rbdc->client = ceph_create_client(ceph_opts, rbdc); in rbd_client_create()
673 ceph_opts = NULL; /* Now rbdc->client is responsible for ceph_opts */ in rbd_client_create()
691 if (ceph_opts) in rbd_client_create()
692 ceph_destroy_options(ceph_opts); in rbd_client_create()
709 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts) in rbd_client_find() argument
714 if (ceph_opts->flags & CEPH_OPT_NOSHARE) in rbd_client_find()
719 if (!ceph_compare_options(ceph_opts, client_node->client)) { in rbd_client_find()
916 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts) in rbd_get_client() argument
922 rbdc = rbd_client_find(ceph_opts); in rbd_get_client()
924 ceph_destroy_options(ceph_opts); in rbd_get_client()
937 rbdc = rbd_client_create(ceph_opts); in rbd_get_client()
5309 struct ceph_options **ceph_opts, in rbd_add_parse_args() argument
5402 *ceph_opts = copts; in rbd_add_parse_args()
5830 struct ceph_options *ceph_opts = NULL; in do_rbd_add() local
5840 rc = rbd_add_parse_args(buf, &ceph_opts, &rbd_opts, &spec); in do_rbd_add()
5844 rbdc = rbd_get_client(ceph_opts); in do_rbd_add()