Lines Matching refs:ceph_opts
756 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts) in rbd_client_create() argument
769 rbdc->client = ceph_create_client(ceph_opts, rbdc); in rbd_client_create()
772 ceph_opts = NULL; /* Now rbdc->client is responsible for ceph_opts */ in rbd_client_create()
790 if (ceph_opts) in rbd_client_create()
791 ceph_destroy_options(ceph_opts); in rbd_client_create()
808 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts) in rbd_client_find() argument
813 if (ceph_opts->flags & CEPH_OPT_NOSHARE) in rbd_client_find()
818 if (!ceph_compare_options(ceph_opts, client_node->client)) { in rbd_client_find()
953 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts) in rbd_get_client() argument
959 rbdc = rbd_client_find(ceph_opts); in rbd_get_client()
961 ceph_destroy_options(ceph_opts); in rbd_get_client()
975 rbdc = rbd_client_create(ceph_opts); in rbd_get_client()
6493 struct ceph_options **ceph_opts, in rbd_add_parse_args() argument
6589 *ceph_opts = pctx.copts; in rbd_add_parse_args()
7062 struct ceph_options *ceph_opts = NULL; in do_rbd_add() local
7075 rc = rbd_add_parse_args(buf, &ceph_opts, &rbd_opts, &spec); in do_rbd_add()
7079 rbdc = rbd_get_client(ceph_opts); in do_rbd_add()