Lines Matching refs:pctx
241 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_source() local
242 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_source()
275 pctx->copts, fc->log.log); in ceph_parse_source()
287 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mount_param() local
288 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mount_param()
293 ret = ceph_parse_param(param, pctx->copts, fc->log.log); in ceph_parse_mount_param()
1062 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_get_tree() local
1076 fsc = create_fs_client(pctx->opts, pctx->copts); in ceph_get_tree()
1077 pctx->opts = NULL; in ceph_get_tree()
1078 pctx->copts = NULL; in ceph_get_tree()
1139 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_free_fc() local
1141 if (pctx) { in ceph_free_fc()
1142 destroy_mount_options(pctx->opts); in ceph_free_fc()
1143 ceph_destroy_options(pctx->copts); in ceph_free_fc()
1144 kfree(pctx); in ceph_free_fc()
1150 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_reconfigure_fc() local
1151 struct ceph_mount_options *fsopt = pctx->opts; in ceph_reconfigure_fc()
1175 struct ceph_parse_opts_ctx *pctx; in ceph_init_fs_context() local
1178 pctx = kzalloc(sizeof(*pctx), GFP_KERNEL); in ceph_init_fs_context()
1179 if (!pctx) in ceph_init_fs_context()
1182 pctx->copts = ceph_alloc_options(); in ceph_init_fs_context()
1183 if (!pctx->copts) in ceph_init_fs_context()
1186 pctx->opts = kzalloc(sizeof(*pctx->opts), GFP_KERNEL); in ceph_init_fs_context()
1187 if (!pctx->opts) in ceph_init_fs_context()
1190 fsopt = pctx->opts; in ceph_init_fs_context()
1210 fc->fs_private = pctx; in ceph_init_fs_context()
1215 destroy_mount_options(pctx->opts); in ceph_init_fs_context()
1216 ceph_destroy_options(pctx->copts); in ceph_init_fs_context()
1217 kfree(pctx); in ceph_init_fs_context()