taglinefilesource code
server65fs/nfs/inode.cstruct nfs_server *server;
server97fs/nfs/inode.cserver = &sb->u.nfs_sb.s_server;
server98fs/nfs/inode.cserver->file = filp;
server99fs/nfs/inode.cserver->lock = 0;
server100fs/nfs/inode.cserver->wait = NULL;
server101fs/nfs/inode.cserver->flags = data->flags;
server102fs/nfs/inode.cserver->rsize = data->rsize;
server103fs/nfs/inode.cif (server->rsize <= 0)
server104fs/nfs/inode.cserver->rsize = NFS_DEF_FILE_IO_BUFFER_SIZE;
server105fs/nfs/inode.celse if (server->rsize >= NFS_MAX_FILE_IO_BUFFER_SIZE)
server106fs/nfs/inode.cserver->rsize = NFS_MAX_FILE_IO_BUFFER_SIZE;
server107fs/nfs/inode.cserver->wsize = data->wsize;
server108fs/nfs/inode.cif (server->wsize <= 0)
server109fs/nfs/inode.cserver->wsize = NFS_DEF_FILE_IO_BUFFER_SIZE;
server110fs/nfs/inode.celse if (server->wsize >= NFS_MAX_FILE_IO_BUFFER_SIZE)
server111fs/nfs/inode.cserver->wsize = NFS_MAX_FILE_IO_BUFFER_SIZE;
server112fs/nfs/inode.cserver->timeo = data->timeo*HZ/10;
server113fs/nfs/inode.cserver->retrans = data->retrans;
server114fs/nfs/inode.cserver->acregmin = data->acregmin*HZ;
server115fs/nfs/inode.cserver->acregmax = data->acregmax*HZ;
server116fs/nfs/inode.cserver->acdirmin = data->acdirmin*HZ;
server117fs/nfs/inode.cserver->acdirmax = data->acdirmax*HZ;
server118fs/nfs/inode.cstrcpy(server->hostname, data->hostname);
server169fs/nfs/proc.cint nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle,
server178fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server194fs/nfs/proc.cint nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle,
server204fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server220fs/nfs/proc.cint nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, const char *name,
server234fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server251fs/nfs/proc.cint nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle,
server260fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server280fs/nfs/proc.cint nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle,
server293fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server314fs/nfs/proc.cint nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle,
server327fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server343fs/nfs/proc.cint nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir,
server355fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server372fs/nfs/proc.cint nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, const char *name)
server381fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server396fs/nfs/proc.cint nfs_proc_rename(struct nfs_server *server,
server409fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server424fs/nfs/proc.cint nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle,
server435fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server450fs/nfs/proc.cint nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir,
server462fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server477fs/nfs/proc.cint nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir,
server489fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server506fs/nfs/proc.cint nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, const char *name)
server515fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server530fs/nfs/proc.cint nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle,
server540fs/nfs/proc.csize = server->rsize;
server545fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server575fs/nfs/proc.cint nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle,
server584fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p)) < 0) {
server34fs/nfs/sock.cstatic int do_nfs_rpc_call(struct nfs_server *server, int *start, int *end)
server57fs/nfs/sock.cfile = server->file;
server65fs/nfs/sock.cinit_timeout = server->timeo;
server67fs/nfs/sock.cretrans = server->retrans;
server69fs/nfs/sock.cserver_name = server->hostname;
server75fs/nfs/sock.c| ((server->flags & NFS_MOUNT_INTR)
server109fs/nfs/sock.cif (server->flags & NFS_MOUNT_SOFT) {
server173fs/nfs/sock.cint nfs_rpc_call(struct nfs_server *server, int *start, int *end)
server177fs/nfs/sock.cwhile (server->lock)
server178fs/nfs/sock.csleep_on(&server->wait);
server179fs/nfs/sock.cserver->lock = 1;
server180fs/nfs/sock.cresult = do_nfs_rpc_call(server, start, end);
server181fs/nfs/sock.cserver->lock = 0;
server182fs/nfs/sock.cwake_up(&server->wait);
server58include/linux/nfs_fs.hextern int nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle,
server60include/linux/nfs_fs.hextern int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle,
server62include/linux/nfs_fs.hextern int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir,
server65include/linux/nfs_fs.hextern int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle,
server67include/linux/nfs_fs.hextern int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle,
server70include/linux/nfs_fs.hextern int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle,
server73include/linux/nfs_fs.hextern int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir,
server76include/linux/nfs_fs.hextern int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir,
server78include/linux/nfs_fs.hextern int nfs_proc_rename(struct nfs_server *server,
server81include/linux/nfs_fs.hextern int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle,
server83include/linux/nfs_fs.hextern int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir,
server85include/linux/nfs_fs.hextern int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir,
server88include/linux/nfs_fs.hextern int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir,
server90include/linux/nfs_fs.hextern int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle,
server92include/linux/nfs_fs.hextern int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle,
server97include/linux/nfs_fs.hextern int nfs_rpc_call(struct nfs_server *server, int *start, int *end);