Lines Matching refs:mount_info

1802 static struct nfs_server *nfs_try_mount_request(struct nfs_mount_info *mount_info,  in nfs_try_mount_request()  argument
1810 struct nfs_parsed_mount_data *args = mount_info->parsed; in nfs_try_mount_request()
1814 status = nfs_request_mount(args, mount_info->mntfh, authlist, in nfs_try_mount_request()
1829 return nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount_request()
1856 server = nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount_request()
1872 return nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount_request()
1876 struct nfs_mount_info *mount_info, in nfs_try_mount() argument
1881 if (mount_info->parsed->need_mount) in nfs_try_mount()
1882 server = nfs_try_mount_request(mount_info, nfs_mod); in nfs_try_mount()
1884 server = nfs_mod->rpc_ops->create_server(mount_info, nfs_mod); in nfs_try_mount()
1889 return nfs_fs_mount_common(server, flags, dev_name, mount_info, nfs_mod); in nfs_try_mount()
2343 void nfs_fill_super(struct super_block *sb, struct nfs_mount_info *mount_info) in nfs_fill_super() argument
2345 struct nfs_parsed_mount_data *data = mount_info->parsed; in nfs_fill_super()
2372 struct nfs_mount_info *mount_info) in nfs_clone_super() argument
2374 const struct super_block *old_sb = mount_info->cloned->sb; in nfs_clone_super()
2545 struct nfs_mount_info *mount_info) in nfs_set_sb_security() argument
2552 error = security_sb_set_mnt_opts(s, &mount_info->parsed->lsm_opts, in nfs_set_sb_security()
2566 struct nfs_mount_info *mount_info) in nfs_clone_sb_security() argument
2578 error = security_sb_clone_mnt_opts(mount_info->cloned->sb, s, kflags, in nfs_clone_sb_security()
2592 struct nfs_mount_info *mount_info, in nfs_fs_mount_common() argument
2611 if (mount_info->cloned != NULL && mount_info->cloned->sb != NULL) in nfs_fs_mount_common()
2612 if (mount_info->cloned->sb->s_flags & SB_SYNCHRONOUS) in nfs_fs_mount_common()
2638 mount_info->fill_super(s, mount_info); in nfs_fs_mount_common()
2639 nfs_get_cache_cookie(s, mount_info->parsed, mount_info->cloned); in nfs_fs_mount_common()
2644 mntroot = nfs_get_root(s, mount_info->mntfh, dev_name); in nfs_fs_mount_common()
2648 error = mount_info->set_security(s, mntroot, mount_info); in nfs_fs_mount_common()
2673 struct nfs_mount_info mount_info = { in nfs_fs_mount() local
2681 mount_info.parsed = nfs_alloc_parsed_mount_data(); in nfs_fs_mount()
2682 mount_info.mntfh = nfs_alloc_fhandle(); in nfs_fs_mount()
2683 if (mount_info.parsed == NULL || mount_info.mntfh == NULL) in nfs_fs_mount()
2687 error = nfs_validate_mount_data(fs_type, raw_data, mount_info.parsed, mount_info.mntfh, dev_name); in nfs_fs_mount()
2689 error = nfs_validate_text_mount_data(raw_data, mount_info.parsed, dev_name); in nfs_fs_mount()
2695 nfs_mod = get_nfs_version(mount_info.parsed->version); in nfs_fs_mount()
2701 mntroot = nfs_mod->rpc_ops->try_mount(flags, dev_name, &mount_info, nfs_mod); in nfs_fs_mount()
2705 nfs_free_parsed_mount_data(mount_info.parsed); in nfs_fs_mount()
2706 nfs_free_fhandle(mount_info.mntfh); in nfs_fs_mount()
2736 struct nfs_mount_info mount_info = { in nfs_xdev_mount() local
2747 mount_info.mntfh = mount_info.cloned->fh; in nfs_xdev_mount()
2756 dev_name, &mount_info, nfs_mod); in nfs_xdev_mount()