Lines Matching refs:ceph_opts
705 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts) in rbd_client_create() argument
718 rbdc->client = ceph_create_client(ceph_opts, rbdc); in rbd_client_create()
721 ceph_opts = NULL; /* Now rbdc->client is responsible for ceph_opts */ in rbd_client_create()
739 if (ceph_opts) in rbd_client_create()
740 ceph_destroy_options(ceph_opts); in rbd_client_create()
757 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts) in rbd_client_find() argument
762 if (ceph_opts->flags & CEPH_OPT_NOSHARE) in rbd_client_find()
767 if (!ceph_compare_options(ceph_opts, client_node->client)) { in rbd_client_find()
902 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts) in rbd_get_client() argument
908 rbdc = rbd_client_find(ceph_opts); in rbd_get_client()
910 ceph_destroy_options(ceph_opts); in rbd_get_client()
924 rbdc = rbd_client_create(ceph_opts); in rbd_get_client()
6412 struct ceph_options **ceph_opts, in rbd_add_parse_args() argument
6508 *ceph_opts = pctx.copts; in rbd_add_parse_args()
6981 struct ceph_options *ceph_opts = NULL; in do_rbd_add() local
6994 rc = rbd_add_parse_args(buf, &ceph_opts, &rbd_opts, &spec); in do_rbd_add()
6998 rbdc = rbd_get_client(ceph_opts); in do_rbd_add()