Lines Matching refs:pctx
240 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_source() local
241 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_source()
274 pctx->copts, fc->log.log); in ceph_parse_source()
286 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mount_param() local
287 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mount_param()
292 ret = ceph_parse_param(param, pctx->copts, fc->log.log); in ceph_parse_mount_param()
1045 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_get_tree() local
1059 fsc = create_fs_client(pctx->opts, pctx->copts); in ceph_get_tree()
1060 pctx->opts = NULL; in ceph_get_tree()
1061 pctx->copts = NULL; in ceph_get_tree()
1122 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_free_fc() local
1124 if (pctx) { in ceph_free_fc()
1125 destroy_mount_options(pctx->opts); in ceph_free_fc()
1126 ceph_destroy_options(pctx->copts); in ceph_free_fc()
1127 kfree(pctx); in ceph_free_fc()
1133 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_reconfigure_fc() local
1134 struct ceph_mount_options *fsopt = pctx->opts; in ceph_reconfigure_fc()
1158 struct ceph_parse_opts_ctx *pctx; in ceph_init_fs_context() local
1161 pctx = kzalloc(sizeof(*pctx), GFP_KERNEL); in ceph_init_fs_context()
1162 if (!pctx) in ceph_init_fs_context()
1165 pctx->copts = ceph_alloc_options(); in ceph_init_fs_context()
1166 if (!pctx->copts) in ceph_init_fs_context()
1169 pctx->opts = kzalloc(sizeof(*pctx->opts), GFP_KERNEL); in ceph_init_fs_context()
1170 if (!pctx->opts) in ceph_init_fs_context()
1173 fsopt = pctx->opts; in ceph_init_fs_context()
1193 fc->fs_private = pctx; in ceph_init_fs_context()
1198 destroy_mount_options(pctx->opts); in ceph_init_fs_context()
1199 ceph_destroy_options(pctx->copts); in ceph_init_fs_context()
1200 kfree(pctx); in ceph_init_fs_context()