Lines Matching refs:ceph_opts
654 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts) in rbd_client_create() argument
667 rbdc->client = ceph_create_client(ceph_opts, rbdc, 0, 0); in rbd_client_create()
670 ceph_opts = NULL; /* Now rbdc->client is responsible for ceph_opts */ in rbd_client_create()
688 if (ceph_opts) in rbd_client_create()
689 ceph_destroy_options(ceph_opts); in rbd_client_create()
706 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts) in rbd_client_find() argument
711 if (ceph_opts->flags & CEPH_OPT_NOSHARE) in rbd_client_find()
716 if (!ceph_compare_options(ceph_opts, client_node->client)) { in rbd_client_find()
822 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts) in rbd_get_client() argument
827 rbdc = rbd_client_find(ceph_opts); in rbd_get_client()
829 ceph_destroy_options(ceph_opts); in rbd_get_client()
831 rbdc = rbd_client_create(ceph_opts); in rbd_get_client()
4867 struct ceph_options **ceph_opts, in rbd_add_parse_args() argument
4957 *ceph_opts = copts; in rbd_add_parse_args()
5400 struct ceph_options *ceph_opts = NULL; in do_rbd_add() local
5411 rc = rbd_add_parse_args(buf, &ceph_opts, &rbd_opts, &spec); in do_rbd_add()
5415 rbdc = rbd_get_client(ceph_opts); in do_rbd_add()