Lines Matching refs:rbd_opts
763 struct rbd_options *rbd_opts = private; in parse_rbd_opts_token() local
787 rbd_opts->queue_depth = intval; in parse_rbd_opts_token()
790 rbd_opts->read_only = true; in parse_rbd_opts_token()
793 rbd_opts->read_only = false; in parse_rbd_opts_token()
4877 struct rbd_options *rbd_opts = NULL; in rbd_add_parse_args() local
4941 rbd_opts = kzalloc(sizeof (*rbd_opts), GFP_KERNEL); in rbd_add_parse_args()
4942 if (!rbd_opts) in rbd_add_parse_args()
4945 rbd_opts->read_only = RBD_READ_ONLY_DEFAULT; in rbd_add_parse_args()
4946 rbd_opts->queue_depth = RBD_QUEUE_DEPTH_DEFAULT; in rbd_add_parse_args()
4950 parse_rbd_opts_token, rbd_opts); in rbd_add_parse_args()
4958 *opts = rbd_opts; in rbd_add_parse_args()
4965 kfree(rbd_opts); in rbd_add_parse_args()
5401 struct rbd_options *rbd_opts = NULL; in do_rbd_add() local
5411 rc = rbd_add_parse_args(buf, &ceph_opts, &rbd_opts, &spec); in do_rbd_add()
5439 rbd_dev = rbd_dev_create(rbdc, spec, rbd_opts); in do_rbd_add()
5446 rbd_opts = NULL; /* rbd_dev now owns this */ in do_rbd_add()
5482 kfree(rbd_opts); in do_rbd_add()