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()
1061 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_get_tree() local
1075 fsc = create_fs_client(pctx->opts, pctx->copts); in ceph_get_tree()
1076 pctx->opts = NULL; in ceph_get_tree()
1077 pctx->copts = NULL; in ceph_get_tree()
1138 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_free_fc() local
1140 if (pctx) { in ceph_free_fc()
1141 destroy_mount_options(pctx->opts); in ceph_free_fc()
1142 ceph_destroy_options(pctx->copts); in ceph_free_fc()
1143 kfree(pctx); in ceph_free_fc()
1149 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_reconfigure_fc() local
1150 struct ceph_mount_options *fsopt = pctx->opts; in ceph_reconfigure_fc()
1174 struct ceph_parse_opts_ctx *pctx; in ceph_init_fs_context() local
1177 pctx = kzalloc(sizeof(*pctx), GFP_KERNEL); in ceph_init_fs_context()
1178 if (!pctx) in ceph_init_fs_context()
1181 pctx->copts = ceph_alloc_options(); in ceph_init_fs_context()
1182 if (!pctx->copts) in ceph_init_fs_context()
1185 pctx->opts = kzalloc(sizeof(*pctx->opts), GFP_KERNEL); in ceph_init_fs_context()
1186 if (!pctx->opts) in ceph_init_fs_context()
1189 fsopt = pctx->opts; in ceph_init_fs_context()
1209 fc->fs_private = pctx; in ceph_init_fs_context()
1214 destroy_mount_options(pctx->opts); in ceph_init_fs_context()
1215 ceph_destroy_options(pctx->copts); in ceph_init_fs_context()
1216 kfree(pctx); in ceph_init_fs_context()