Lines Matching defs:ceph_opts
702 * consumes ceph_opts. Caller holds client_mutex.
704 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts)
717 rbdc->client = ceph_create_client(ceph_opts, rbdc);
720 ceph_opts = NULL; /* Now rbdc->client is responsible for ceph_opts */
738 if (ceph_opts)
739 ceph_destroy_options(ceph_opts);
756 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts)
760 if (ceph_opts->flags & CEPH_OPT_NOSHARE)
765 if (!ceph_compare_options(ceph_opts, iter->client)) {
897 * not exist create it. Either way, ceph_opts is consumed by this
900 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts)
906 rbdc = rbd_client_find(ceph_opts);
908 ceph_destroy_options(ceph_opts);
922 rbdc = rbd_client_create(ceph_opts);
6394 * ceph_opts
6427 struct ceph_options **ceph_opts,
6524 *ceph_opts = pctx.copts;
7081 struct ceph_options *ceph_opts = NULL;
7094 rc = rbd_add_parse_args(buf, &ceph_opts, &rbd_opts, &spec);
7098 rbdc = rbd_get_client(ceph_opts);