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 | 201 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 217 | fs/nfs/proc.c | int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 229 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 245 | fs/nfs/proc.c | int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, const char *name, |
server | 261 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 278 | fs/nfs/proc.c | int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 289 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 309 | fs/nfs/proc.c | int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 324 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 345 | fs/nfs/proc.c | int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 360 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 376 | fs/nfs/proc.c | int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir, |
server | 390 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 407 | fs/nfs/proc.c | int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 418 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 433 | fs/nfs/proc.c | int nfs_proc_rename(struct nfs_server *server, |
server | 448 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 463 | fs/nfs/proc.c | int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 476 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 491 | fs/nfs/proc.c | int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir, |
server | 505 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 520 | fs/nfs/proc.c | int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 534 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 551 | fs/nfs/proc.c | int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 562 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 577 | fs/nfs/proc.c | int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 587 | fs/nfs/proc.c | size = server->rsize; |
server | 594 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 624 | fs/nfs/proc.c | int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 635 | 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); |