Lines Matching refs:rbd_opts
754 struct rbd_options *rbd_opts = private; in parse_rbd_opts_token() local
778 rbd_opts->queue_depth = intval; in parse_rbd_opts_token()
781 rbd_opts->read_only = true; in parse_rbd_opts_token()
784 rbd_opts->read_only = false; in parse_rbd_opts_token()
4871 struct rbd_options *rbd_opts = NULL; in rbd_add_parse_args() local
4935 rbd_opts = kzalloc(sizeof (*rbd_opts), GFP_KERNEL); in rbd_add_parse_args()
4936 if (!rbd_opts) in rbd_add_parse_args()
4939 rbd_opts->read_only = RBD_READ_ONLY_DEFAULT; in rbd_add_parse_args()
4940 rbd_opts->queue_depth = RBD_QUEUE_DEPTH_DEFAULT; in rbd_add_parse_args()
4944 parse_rbd_opts_token, rbd_opts); in rbd_add_parse_args()
4952 *opts = rbd_opts; in rbd_add_parse_args()
4959 kfree(rbd_opts); in rbd_add_parse_args()
5395 struct rbd_options *rbd_opts = NULL; in do_rbd_add() local
5408 rc = rbd_add_parse_args(buf, &ceph_opts, &rbd_opts, &spec); in do_rbd_add()
5436 rbd_dev = rbd_dev_create(rbdc, spec, rbd_opts); in do_rbd_add()
5443 rbd_opts = NULL; /* rbd_dev now owns this */ in do_rbd_add()
5479 kfree(rbd_opts); in do_rbd_add()