Lines Matching refs:mount_info
1770 static struct nfs_server *nfs_try_mount_request(struct nfs_mount_info *mount_info, in nfs_try_mount_request() argument
1778 struct nfs_parsed_mount_data *args = mount_info->parsed; in nfs_try_mount_request()
1782 status = nfs_request_mount(args, mount_info->mntfh, authlist, in nfs_try_mount_request()
1797 return nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount_request()
1824 server = nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount_request()
1840 return nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount_request()
1844 struct nfs_mount_info *mount_info, in nfs_try_mount() argument
1849 if (mount_info->parsed->need_mount) in nfs_try_mount()
1850 server = nfs_try_mount_request(mount_info, nfs_mod); in nfs_try_mount()
1852 server = nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount()
1857 return nfs_fs_mount_common(server, flags, dev_name, mount_info, nfs_mod); in nfs_try_mount()
2303 void nfs_fill_super(struct super_block *sb, struct nfs_mount_info *mount_info) in nfs_fill_super() argument
2305 struct nfs_parsed_mount_data *data = mount_info->parsed; in nfs_fill_super()
2330 void nfs_clone_super(struct super_block *sb, struct nfs_mount_info *mount_info) in nfs_clone_super() argument
2332 const struct super_block *old_sb = mount_info->cloned->sb; in nfs_clone_super()
2503 struct nfs_mount_info *mount_info) in nfs_set_sb_security() argument
2510 error = security_sb_set_mnt_opts(s, &mount_info->parsed->lsm_opts, in nfs_set_sb_security()
2524 struct nfs_mount_info *mount_info) in nfs_clone_sb_security() argument
2529 return security_sb_clone_mnt_opts(mount_info->cloned->sb, s); in nfs_clone_sb_security()
2535 struct nfs_mount_info *mount_info, in nfs_fs_mount_common() argument
2554 if (mount_info->cloned != NULL && mount_info->cloned->sb != NULL) in nfs_fs_mount_common()
2555 if (mount_info->cloned->sb->s_flags & MS_SYNCHRONOUS) in nfs_fs_mount_common()
2579 mount_info->fill_super(s, mount_info); in nfs_fs_mount_common()
2580 nfs_get_cache_cookie(s, mount_info->parsed, mount_info->cloned); in nfs_fs_mount_common()
2583 mntroot = nfs_get_root(s, mount_info->mntfh, dev_name); in nfs_fs_mount_common()
2587 error = mount_info->set_security(s, mntroot, mount_info); in nfs_fs_mount_common()
2612 struct nfs_mount_info mount_info = { in nfs_fs_mount() local
2620 mount_info.parsed = nfs_alloc_parsed_mount_data(); in nfs_fs_mount()
2621 mount_info.mntfh = nfs_alloc_fhandle(); in nfs_fs_mount()
2622 if (mount_info.parsed == NULL || mount_info.mntfh == NULL) in nfs_fs_mount()
2626 error = nfs_validate_mount_data(fs_type, raw_data, mount_info.parsed, mount_info.mntfh, dev_name); in nfs_fs_mount()
2628 error = nfs_validate_text_mount_data(raw_data, mount_info.parsed, dev_name); in nfs_fs_mount()
2634 nfs_mod = get_nfs_version(mount_info.parsed->version); in nfs_fs_mount()
2640 mntroot = nfs_mod->rpc_ops->try_mount(flags, dev_name, &mount_info, nfs_mod); in nfs_fs_mount()
2644 nfs_free_parsed_mount_data(mount_info.parsed); in nfs_fs_mount()
2645 nfs_free_fhandle(mount_info.mntfh); in nfs_fs_mount()
2675 struct nfs_mount_info mount_info = { in nfs_xdev_mount() local
2686 mount_info.mntfh = mount_info.cloned->fh; in nfs_xdev_mount()
2695 dev_name, &mount_info, nfs_mod); in nfs_xdev_mount()