Lines Matching refs:pctx
256 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_old_source() local
257 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_old_source()
263 pctx->copts, fc->log.log, ','); in ceph_parse_old_source()
276 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_new_source() local
277 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_new_source()
332 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_source() local
333 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_source()
384 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mon_addr() local
385 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mon_addr()
392 pctx->copts, fc->log.log, '/'); in ceph_parse_mon_addr()
398 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mount_param() local
399 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mount_param()
404 ret = ceph_parse_param(param, pctx->copts, fc->log.log); in ceph_parse_mount_param()
1199 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_get_tree() local
1200 struct ceph_mount_options *fsopt = pctx->opts; in ceph_get_tree()
1216 fsc = create_fs_client(pctx->opts, pctx->copts); in ceph_get_tree()
1217 pctx->opts = NULL; in ceph_get_tree()
1218 pctx->copts = NULL; in ceph_get_tree()
1279 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_free_fc() local
1281 if (pctx) { in ceph_free_fc()
1282 destroy_mount_options(pctx->opts); in ceph_free_fc()
1283 ceph_destroy_options(pctx->copts); in ceph_free_fc()
1284 kfree(pctx); in ceph_free_fc()
1290 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_reconfigure_fc() local
1291 struct ceph_mount_options *fsopt = pctx->opts; in ceph_reconfigure_fc()
1322 struct ceph_parse_opts_ctx *pctx; in ceph_init_fs_context() local
1325 pctx = kzalloc(sizeof(*pctx), GFP_KERNEL); in ceph_init_fs_context()
1326 if (!pctx) in ceph_init_fs_context()
1329 pctx->copts = ceph_alloc_options(); in ceph_init_fs_context()
1330 if (!pctx->copts) in ceph_init_fs_context()
1333 pctx->opts = kzalloc(sizeof(*pctx->opts), GFP_KERNEL); in ceph_init_fs_context()
1334 if (!pctx->opts) in ceph_init_fs_context()
1337 fsopt = pctx->opts; in ceph_init_fs_context()
1357 fc->fs_private = pctx; in ceph_init_fs_context()
1362 destroy_mount_options(pctx->opts); in ceph_init_fs_context()
1363 ceph_destroy_options(pctx->copts); in ceph_init_fs_context()
1364 kfree(pctx); in ceph_init_fs_context()