tag | line | file | source code |
server | 65 | fs/nfs/inode.c | struct nfs_server *server; |
server | 97 | fs/nfs/inode.c | server = &sb->u.nfs_sb.s_server; |
server | 98 | fs/nfs/inode.c | server->file = filp; |
server | 99 | fs/nfs/inode.c | server->lock = 0; |
server | 100 | fs/nfs/inode.c | server->wait = NULL; |
server | 101 | fs/nfs/inode.c | server->flags = data->flags; |
server | 102 | fs/nfs/inode.c | server->rsize = data->rsize; |
server | 103 | fs/nfs/inode.c | if (server->rsize <= 0) |
server | 104 | fs/nfs/inode.c | server->rsize = NFS_DEF_FILE_IO_BUFFER_SIZE; |
server | 105 | fs/nfs/inode.c | else if (server->rsize >= NFS_MAX_FILE_IO_BUFFER_SIZE) |
server | 106 | fs/nfs/inode.c | server->rsize = NFS_MAX_FILE_IO_BUFFER_SIZE; |
server | 107 | fs/nfs/inode.c | server->wsize = data->wsize; |
server | 108 | fs/nfs/inode.c | if (server->wsize <= 0) |
server | 109 | fs/nfs/inode.c | server->wsize = NFS_DEF_FILE_IO_BUFFER_SIZE; |
server | 110 | fs/nfs/inode.c | else if (server->wsize >= NFS_MAX_FILE_IO_BUFFER_SIZE) |
server | 111 | fs/nfs/inode.c | server->wsize = NFS_MAX_FILE_IO_BUFFER_SIZE; |
server | 112 | fs/nfs/inode.c | server->timeo = data->timeo*HZ/10; |
server | 113 | fs/nfs/inode.c | server->retrans = data->retrans; |
server | 114 | fs/nfs/inode.c | server->acregmin = data->acregmin*HZ; |
server | 115 | fs/nfs/inode.c | server->acregmax = data->acregmax*HZ; |
server | 116 | fs/nfs/inode.c | server->acdirmin = data->acdirmin*HZ; |
server | 117 | fs/nfs/inode.c | server->acdirmax = data->acdirmax*HZ; |
server | 118 | fs/nfs/inode.c | strcpy(server->hostname, data->hostname); |
server | 190 | fs/nfs/proc.c | int nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 203 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 224 | fs/nfs/proc.c | int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 238 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 259 | fs/nfs/proc.c | int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, const char *name, |
server | 277 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 299 | fs/nfs/proc.c | int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 312 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 337 | fs/nfs/proc.c | int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 354 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 380 | fs/nfs/proc.c | int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 397 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 418 | fs/nfs/proc.c | int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir, |
server | 434 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 456 | fs/nfs/proc.c | int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 469 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 489 | fs/nfs/proc.c | int nfs_proc_rename(struct nfs_server *server, |
server | 506 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 526 | fs/nfs/proc.c | int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 541 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 561 | fs/nfs/proc.c | int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir, |
server | 577 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 597 | fs/nfs/proc.c | int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 613 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 635 | fs/nfs/proc.c | int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 648 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 668 | fs/nfs/proc.c | int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 679 | fs/nfs/proc.c | size = server->rsize; |
server | 687 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 722 | fs/nfs/proc.c | int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 735 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 34 | fs/nfs/sock.c | static int do_nfs_rpc_call(struct nfs_server *server, int *start, int *end) |
server | 57 | fs/nfs/sock.c | file = server->file; |
server | 65 | fs/nfs/sock.c | init_timeout = server->timeo; |
server | 67 | fs/nfs/sock.c | retrans = server->retrans; |
server | 69 | fs/nfs/sock.c | server_name = server->hostname; |
server | 75 | fs/nfs/sock.c | | ((server->flags & NFS_MOUNT_INTR) |
server | 109 | fs/nfs/sock.c | if (server->flags & NFS_MOUNT_SOFT) { |
server | 173 | fs/nfs/sock.c | int nfs_rpc_call(struct nfs_server *server, int *start, int *end) |
server | 177 | fs/nfs/sock.c | while (server->lock) |
server | 178 | fs/nfs/sock.c | sleep_on(&server->wait); |
server | 179 | fs/nfs/sock.c | server->lock = 1; |
server | 180 | fs/nfs/sock.c | result = do_nfs_rpc_call(server, start, end); |
server | 181 | fs/nfs/sock.c | server->lock = 0; |
server | 182 | fs/nfs/sock.c | wake_up(&server->wait); |
server | 58 | include/linux/nfs_fs.h | extern int nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 60 | include/linux/nfs_fs.h | extern int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 62 | include/linux/nfs_fs.h | extern int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, |
server | 65 | include/linux/nfs_fs.h | extern int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 67 | include/linux/nfs_fs.h | extern int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 70 | include/linux/nfs_fs.h | extern int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 73 | include/linux/nfs_fs.h | extern int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir, |
server | 76 | include/linux/nfs_fs.h | extern int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, |
server | 78 | include/linux/nfs_fs.h | extern int nfs_proc_rename(struct nfs_server *server, |
server | 81 | include/linux/nfs_fs.h | extern int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 83 | include/linux/nfs_fs.h | extern int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir, |
server | 85 | include/linux/nfs_fs.h | extern int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 88 | include/linux/nfs_fs.h | extern int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 90 | include/linux/nfs_fs.h | extern int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 92 | include/linux/nfs_fs.h | extern int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 97 | include/linux/nfs_fs.h | extern int nfs_rpc_call(struct nfs_server *server, int *start, int *end); |