Lines Matching refs:nfs_server
185 struct nfs_server *server = NFS_SB(sb); in nfs_sb_active()
197 struct nfs_server *server = NFS_SB(sb); in nfs_sb_deactive()
205 int (*fn)(struct nfs_server *, void *), in __nfs_list_for_each_server() argument
208 struct nfs_server *server, *last = NULL; in __nfs_list_for_each_server()
232 int (*fn)(struct nfs_server *, void *), in nfs_client_for_each_server() argument
244 struct nfs_server *server = NFS_SB(dentry->d_sb); in nfs_statfs()
335 static void nfs_show_mountd_netid(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_netid()
367 static void nfs_show_mountd_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mountd_options()
402 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options()
410 static void nfs_show_nfsv4_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_nfsv4_options()
428 static void nfs_show_mount_options(struct seq_file *m, struct nfs_server *nfss, in nfs_show_mount_options()
538 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_options()
553 static void show_lease(struct seq_file *m, struct nfs_server *server) in show_lease()
564 static void show_sessions(struct seq_file *m, struct nfs_server *server) in show_sessions()
570 static void show_sessions(struct seq_file *m, struct nfs_server *server) {} in show_sessions()
575 static void show_pnfs(struct seq_file *m, struct nfs_server *server) in show_pnfs()
584 static void show_implementation_id(struct seq_file *m, struct nfs_server *nfss) in show_implementation_id()
596 static void show_pnfs(struct seq_file *m, struct nfs_server *server) in show_pnfs()
600 static void show_implementation_id(struct seq_file *m, struct nfs_server *nfss) in show_implementation_id()
635 struct nfs_server *nfss = NFS_SB(root->d_sb); in nfs_show_stats()
730 struct nfs_server *server; in nfs_umount_begin()
827 .dirpath = ctx->nfs_server.export_path, in nfs_request_mount()
851 request.hostname = ctx->nfs_server.hostname; in nfs_request_mount()
857 memcpy(request.sap, &ctx->nfs_server.address, in nfs_request_mount()
858 ctx->nfs_server.addrlen); in nfs_request_mount()
859 ctx->mount_server.addrlen = ctx->nfs_server.addrlen; in nfs_request_mount()
878 static struct nfs_server *nfs_try_mount_request(struct fs_context *fc) in nfs_try_mount_request()
885 struct nfs_server *server = ERR_PTR(-EACCES); in nfs_try_mount_request()
977 nfs_compare_remount_data(struct nfs_server *nfss, in nfs_compare_remount_data()
993 ctx->nfs_server.port != nfss->port || in nfs_compare_remount_data()
994 ctx->nfs_server.addrlen != nfss->nfs_client->cl_addrlen || in nfs_compare_remount_data()
995 !rpc_cmp_addr((struct sockaddr *)&ctx->nfs_server.address, in nfs_compare_remount_data()
1006 struct nfs_server *nfss = sb->s_fs_info; in nfs_reconfigure()
1040 struct nfs_server *server = NFS_SB(sb); in nfs_fill_super()
1081 static int nfs_compare_mount_options(const struct super_block *s, const struct nfs_server *b, in nfs_compare_mount_options()
1084 const struct nfs_server *a = s->s_fs_info; in nfs_compare_mount_options()
1115 struct nfs_server *server = fc->s_fs_info; in nfs_set_super()
1125 static int nfs_compare_super_address(struct nfs_server *server1, in nfs_compare_super_address()
1126 struct nfs_server *server2) in nfs_compare_super_address()
1167 static int nfs_compare_userns(const struct nfs_server *old, in nfs_compare_userns()
1168 const struct nfs_server *new) in nfs_compare_userns()
1184 struct nfs_server *server = fc->s_fs_info, *old = NFS_SB(sb); in nfs_compare_super()
1205 struct nfs_server *nfss = NFS_SB(sb); in nfs_get_cache_cookie()
1216 struct nfs_server *mnt_s = NFS_SB(ctx->clone_data.sb); in nfs_get_cache_cookie()
1246 struct nfs_server *server = ctx->server; in nfs_get_tree_common()
1325 struct nfs_server *server = NFS_SB(s); in nfs_kill_super()