Lines Matching refs:pctx
263 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_old_source() local
264 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_old_source()
270 pctx->copts, fc->log.log, ','); in ceph_parse_old_source()
283 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_new_source() local
284 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_new_source()
339 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_source() local
340 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_source()
391 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mon_addr() local
392 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mon_addr()
399 pctx->copts, fc->log.log, '/'); in ceph_parse_mon_addr()
405 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mount_param() local
406 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mount_param()
411 ret = ceph_parse_param(param, pctx->copts, fc->log.log); in ceph_parse_mount_param()
1285 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_get_tree() local
1286 struct ceph_mount_options *fsopt = pctx->opts; in ceph_get_tree()
1302 fsc = create_fs_client(pctx->opts, pctx->copts); in ceph_get_tree()
1303 pctx->opts = NULL; in ceph_get_tree()
1304 pctx->copts = NULL; in ceph_get_tree()
1365 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_free_fc() local
1367 if (pctx) { in ceph_free_fc()
1368 destroy_mount_options(pctx->opts); in ceph_free_fc()
1369 ceph_destroy_options(pctx->copts); in ceph_free_fc()
1370 kfree(pctx); in ceph_free_fc()
1377 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_reconfigure_fc() local
1378 struct ceph_mount_options *fsopt = pctx->opts; in ceph_reconfigure_fc()
1419 struct ceph_parse_opts_ctx *pctx; in ceph_init_fs_context() local
1422 pctx = kzalloc(sizeof(*pctx), GFP_KERNEL); in ceph_init_fs_context()
1423 if (!pctx) in ceph_init_fs_context()
1426 pctx->copts = ceph_alloc_options(); in ceph_init_fs_context()
1427 if (!pctx->copts) in ceph_init_fs_context()
1430 pctx->opts = kzalloc(sizeof(*pctx->opts), GFP_KERNEL); in ceph_init_fs_context()
1431 if (!pctx->opts) in ceph_init_fs_context()
1434 fsopt = pctx->opts; in ceph_init_fs_context()
1454 fc->fs_private = pctx; in ceph_init_fs_context()
1459 destroy_mount_options(pctx->opts); in ceph_init_fs_context()
1460 ceph_destroy_options(pctx->copts); in ceph_init_fs_context()
1461 kfree(pctx); in ceph_init_fs_context()