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 | 169 | fs/nfs/proc.c | int nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 178 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 194 | fs/nfs/proc.c | int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 204 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 220 | fs/nfs/proc.c | int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, const char *name, |
server | 234 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 251 | fs/nfs/proc.c | int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 260 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 280 | fs/nfs/proc.c | int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 293 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 314 | fs/nfs/proc.c | int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 327 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 343 | fs/nfs/proc.c | int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir, |
server | 355 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 372 | fs/nfs/proc.c | int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 381 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 396 | fs/nfs/proc.c | int nfs_proc_rename(struct nfs_server *server, |
server | 409 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 424 | fs/nfs/proc.c | int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 435 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 450 | fs/nfs/proc.c | int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir, |
server | 462 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 477 | fs/nfs/proc.c | int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 489 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 506 | fs/nfs/proc.c | int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 515 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 530 | fs/nfs/proc.c | int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 540 | fs/nfs/proc.c | size = server->rsize; |
server | 545 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p)) < 0) { |
server | 575 | fs/nfs/proc.c | int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 584 | 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); |