Lines Matching refs:rbd_opts
762 struct rbd_options *rbd_opts = private; in parse_rbd_opts_token() local
789 rbd_opts->read_only = true; in parse_rbd_opts_token()
792 rbd_opts->read_only = false; in parse_rbd_opts_token()
4885 struct rbd_options *rbd_opts = NULL; in rbd_add_parse_args() local
4949 rbd_opts = kzalloc(sizeof (*rbd_opts), GFP_KERNEL); in rbd_add_parse_args()
4950 if (!rbd_opts) in rbd_add_parse_args()
4953 rbd_opts->read_only = RBD_READ_ONLY_DEFAULT; in rbd_add_parse_args()
4957 parse_rbd_opts_token, rbd_opts); in rbd_add_parse_args()
4965 *opts = rbd_opts; in rbd_add_parse_args()
4972 kfree(rbd_opts); in rbd_add_parse_args()
5407 struct rbd_options *rbd_opts = NULL; in do_rbd_add() local
5417 rc = rbd_add_parse_args(buf, &ceph_opts, &rbd_opts, &spec); in do_rbd_add()
5420 read_only = rbd_opts->read_only; in do_rbd_add()
5421 kfree(rbd_opts); in do_rbd_add()
5422 rbd_opts = NULL; /* done with this */ in do_rbd_add()