Lines Matching refs:pctx
267 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_old_source() local
268 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_old_source()
274 pctx->copts, fc->log.log, ','); in ceph_parse_old_source()
287 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_new_source() local
288 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_new_source()
343 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_source() local
344 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_source()
395 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mon_addr() local
396 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mon_addr()
403 pctx->copts, fc->log.log, '/'); in ceph_parse_mon_addr()
409 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_parse_mount_param() local
410 struct ceph_mount_options *fsopt = pctx->opts; in ceph_parse_mount_param()
415 ret = ceph_parse_param(param, pctx->copts, fc->log.log); in ceph_parse_mount_param()
1294 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_get_tree() local
1295 struct ceph_mount_options *fsopt = pctx->opts; in ceph_get_tree()
1311 fsc = create_fs_client(pctx->opts, pctx->copts); in ceph_get_tree()
1312 pctx->opts = NULL; in ceph_get_tree()
1313 pctx->copts = NULL; in ceph_get_tree()
1375 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_free_fc() local
1377 if (pctx) { in ceph_free_fc()
1378 destroy_mount_options(pctx->opts); in ceph_free_fc()
1379 ceph_destroy_options(pctx->copts); in ceph_free_fc()
1380 kfree(pctx); in ceph_free_fc()
1387 struct ceph_parse_opts_ctx *pctx = fc->fs_private; in ceph_reconfigure_fc() local
1388 struct ceph_mount_options *fsopt = pctx->opts; in ceph_reconfigure_fc()
1430 struct ceph_parse_opts_ctx *pctx; in ceph_init_fs_context() local
1433 pctx = kzalloc(sizeof(*pctx), GFP_KERNEL); in ceph_init_fs_context()
1434 if (!pctx) in ceph_init_fs_context()
1437 pctx->copts = ceph_alloc_options(); in ceph_init_fs_context()
1438 if (!pctx->copts) in ceph_init_fs_context()
1441 pctx->opts = kzalloc(sizeof(*pctx->opts), GFP_KERNEL); in ceph_init_fs_context()
1442 if (!pctx->opts) in ceph_init_fs_context()
1445 fsopt = pctx->opts; in ceph_init_fs_context()
1465 fc->fs_private = pctx; in ceph_init_fs_context()
1470 destroy_mount_options(pctx->opts); in ceph_init_fs_context()
1471 ceph_destroy_options(pctx->copts); in ceph_init_fs_context()
1472 kfree(pctx); in ceph_init_fs_context()