Lines Matching defs:ceph_opts
648 * consumes ceph_opts. Caller holds client_mutex.
650 static struct rbd_client *rbd_client_create(struct ceph_options *ceph_opts)
663 rbdc->client = ceph_create_client(ceph_opts, rbdc, 0, 0);
666 ceph_opts = NULL; /* Now rbdc->client is responsible for ceph_opts */
684 if (ceph_opts)
685 ceph_destroy_options(ceph_opts);
702 static struct rbd_client *rbd_client_find(struct ceph_options *ceph_opts)
707 if (ceph_opts->flags & CEPH_OPT_NOSHARE)
712 if (!ceph_compare_options(ceph_opts, client_node->client)) {
812 * not exist create it. Either way, ceph_opts is consumed by this
815 static struct rbd_client *rbd_get_client(struct ceph_options *ceph_opts)
820 rbdc = rbd_client_find(ceph_opts);
822 ceph_destroy_options(ceph_opts);
824 rbdc = rbd_client_create(ceph_opts);
4851 * ceph_opts
4884 struct ceph_options **ceph_opts,
4973 *ceph_opts = copts;
5402 struct ceph_options *ceph_opts = NULL;
5413 rc = rbd_add_parse_args(buf, &ceph_opts, &rbd_opts, &spec);
5420 rbdc = rbd_get_client(ceph_opts);