Lines Matching refs:mount_info
1773 static struct nfs_server *nfs_try_mount_request(struct nfs_mount_info *mount_info, in nfs_try_mount_request() argument
1781 struct nfs_parsed_mount_data *args = mount_info->parsed; in nfs_try_mount_request()
1785 status = nfs_request_mount(args, mount_info->mntfh, authlist, in nfs_try_mount_request()
1800 return nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount_request()
1827 server = nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount_request()
1843 return nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount_request()
1847 struct nfs_mount_info *mount_info, in nfs_try_mount() argument
1852 if (mount_info->parsed->need_mount) in nfs_try_mount()
1853 server = nfs_try_mount_request(mount_info, nfs_mod); in nfs_try_mount()
1855 server = nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount()
1860 return nfs_fs_mount_common(server, flags, dev_name, mount_info, nfs_mod); in nfs_try_mount()
2306 void nfs_fill_super(struct super_block *sb, struct nfs_mount_info *mount_info) in nfs_fill_super() argument
2308 struct nfs_parsed_mount_data *data = mount_info->parsed; in nfs_fill_super()
2333 void nfs_clone_super(struct super_block *sb, struct nfs_mount_info *mount_info) in nfs_clone_super() argument
2335 const struct super_block *old_sb = mount_info->cloned->sb; in nfs_clone_super()
2506 struct nfs_mount_info *mount_info) in nfs_set_sb_security() argument
2513 error = security_sb_set_mnt_opts(s, &mount_info->parsed->lsm_opts, in nfs_set_sb_security()
2527 struct nfs_mount_info *mount_info) in nfs_clone_sb_security() argument
2532 return security_sb_clone_mnt_opts(mount_info->cloned->sb, s); in nfs_clone_sb_security()
2538 struct nfs_mount_info *mount_info, in nfs_fs_mount_common() argument
2557 if (mount_info->cloned != NULL && mount_info->cloned->sb != NULL) in nfs_fs_mount_common()
2558 if (mount_info->cloned->sb->s_flags & MS_SYNCHRONOUS) in nfs_fs_mount_common()
2582 mount_info->fill_super(s, mount_info); in nfs_fs_mount_common()
2583 nfs_get_cache_cookie(s, mount_info->parsed, mount_info->cloned); in nfs_fs_mount_common()
2586 mntroot = nfs_get_root(s, mount_info->mntfh, dev_name); in nfs_fs_mount_common()
2590 error = mount_info->set_security(s, mntroot, mount_info); in nfs_fs_mount_common()
2615 struct nfs_mount_info mount_info = { in nfs_fs_mount() local
2623 mount_info.parsed = nfs_alloc_parsed_mount_data(); in nfs_fs_mount()
2624 mount_info.mntfh = nfs_alloc_fhandle(); in nfs_fs_mount()
2625 if (mount_info.parsed == NULL || mount_info.mntfh == NULL) in nfs_fs_mount()
2629 error = nfs_validate_mount_data(fs_type, raw_data, mount_info.parsed, mount_info.mntfh, dev_name); in nfs_fs_mount()
2631 error = nfs_validate_text_mount_data(raw_data, mount_info.parsed, dev_name); in nfs_fs_mount()
2637 nfs_mod = get_nfs_version(mount_info.parsed->version); in nfs_fs_mount()
2643 mntroot = nfs_mod->rpc_ops->try_mount(flags, dev_name, &mount_info, nfs_mod); in nfs_fs_mount()
2647 nfs_free_parsed_mount_data(mount_info.parsed); in nfs_fs_mount()
2648 nfs_free_fhandle(mount_info.mntfh); in nfs_fs_mount()
2678 struct nfs_mount_info mount_info = { in nfs_xdev_mount() local
2689 mount_info.mntfh = mount_info.cloned->fh; in nfs_xdev_mount()
2698 dev_name, &mount_info, nfs_mod); in nfs_xdev_mount()