tag | line | file | source code |
server | 76 | fs/nfs/inode.c | struct nfs_server *server; |
server | 112 | fs/nfs/inode.c | server = &sb->u.nfs_sb.s_server; |
server | 113 | fs/nfs/inode.c | server->file = filp; |
server | 114 | fs/nfs/inode.c | server->lock = 0; |
server | 115 | fs/nfs/inode.c | server->wait = NULL; |
server | 116 | fs/nfs/inode.c | server->flags = data->flags; |
server | 117 | fs/nfs/inode.c | server->rsize = data->rsize; |
server | 118 | fs/nfs/inode.c | if (server->rsize <= 0) |
server | 119 | fs/nfs/inode.c | server->rsize = NFS_DEF_FILE_IO_BUFFER_SIZE; |
server | 120 | fs/nfs/inode.c | else if (server->rsize >= NFS_MAX_FILE_IO_BUFFER_SIZE) |
server | 121 | fs/nfs/inode.c | server->rsize = NFS_MAX_FILE_IO_BUFFER_SIZE; |
server | 122 | fs/nfs/inode.c | server->wsize = data->wsize; |
server | 123 | fs/nfs/inode.c | if (server->wsize <= 0) |
server | 124 | fs/nfs/inode.c | server->wsize = NFS_DEF_FILE_IO_BUFFER_SIZE; |
server | 125 | fs/nfs/inode.c | else if (server->wsize >= NFS_MAX_FILE_IO_BUFFER_SIZE) |
server | 126 | fs/nfs/inode.c | server->wsize = NFS_MAX_FILE_IO_BUFFER_SIZE; |
server | 127 | fs/nfs/inode.c | server->timeo = data->timeo*HZ/10; |
server | 128 | fs/nfs/inode.c | server->retrans = data->retrans; |
server | 129 | fs/nfs/inode.c | server->acregmin = data->acregmin*HZ; |
server | 130 | fs/nfs/inode.c | server->acregmax = data->acregmax*HZ; |
server | 131 | fs/nfs/inode.c | server->acdirmin = data->acdirmin*HZ; |
server | 132 | fs/nfs/inode.c | server->acdirmax = data->acdirmax*HZ; |
server | 133 | fs/nfs/inode.c | strcpy(server->hostname, data->hostname); |
server | 229 | fs/nfs/proc.c | int nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 237 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 242 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 265 | fs/nfs/proc.c | int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 273 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 279 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 302 | fs/nfs/proc.c | int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, const char *name, |
server | 314 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 320 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 344 | fs/nfs/proc.c | int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 351 | fs/nfs/proc.c | if (!(*p0 = nfs_rpc_alloc(server->rsize))) |
server | 356 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, *p0, p, server->rsize)) < 0) |
server | 379 | fs/nfs/proc.c | int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 388 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 396 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 425 | fs/nfs/proc.c | int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 433 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 442 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 465 | fs/nfs/proc.c | int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir, |
server | 474 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 481 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 505 | fs/nfs/proc.c | int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 512 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 518 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 540 | fs/nfs/proc.c | int nfs_proc_rename(struct nfs_server *server, |
server | 549 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 557 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 579 | fs/nfs/proc.c | int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 587 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 594 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 616 | fs/nfs/proc.c | int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir, |
server | 624 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 632 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 654 | fs/nfs/proc.c | int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 663 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 670 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 694 | fs/nfs/proc.c | int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, const char *name) |
server | 701 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->wsize))) |
server | 707 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) { |
server | 729 | fs/nfs/proc.c | int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 740 | fs/nfs/proc.c | size = server->rsize; |
server | 741 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 748 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 785 | fs/nfs/proc.c | int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 793 | fs/nfs/proc.c | if (!(p0 = nfs_rpc_alloc(server->rsize))) |
server | 798 | fs/nfs/proc.c | if ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) { |
server | 52 | fs/nfs/sock.c | static int do_nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
server | 78 | fs/nfs/sock.c | file = server->file; |
server | 86 | fs/nfs/sock.c | init_timeout = server->timeo; |
server | 88 | fs/nfs/sock.c | retrans = server->retrans; |
server | 90 | fs/nfs/sock.c | server_name = server->hostname; |
server | 96 | fs/nfs/sock.c | | ((server->flags & NFS_MOUNT_INTR) |
server | 136 | fs/nfs/sock.c | if (server->flags & NFS_MOUNT_SOFT) { |
server | 230 | fs/nfs/sock.c | int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size) |
server | 234 | fs/nfs/sock.c | while (server->lock) |
server | 235 | fs/nfs/sock.c | sleep_on(&server->wait); |
server | 236 | fs/nfs/sock.c | server->lock = 1; |
server | 237 | fs/nfs/sock.c | result = do_nfs_rpc_call(server, start, end, size); |
server | 238 | fs/nfs/sock.c | server->lock = 0; |
server | 239 | fs/nfs/sock.c | wake_up(&server->wait); |
server | 52 | include/linux/nfs_fs.h | extern int nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 54 | include/linux/nfs_fs.h | extern int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 56 | include/linux/nfs_fs.h | extern int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, |
server | 59 | include/linux/nfs_fs.h | extern int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 62 | include/linux/nfs_fs.h | extern int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 65 | include/linux/nfs_fs.h | extern int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 68 | include/linux/nfs_fs.h | extern int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir, |
server | 71 | include/linux/nfs_fs.h | extern int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, |
server | 73 | include/linux/nfs_fs.h | extern int nfs_proc_rename(struct nfs_server *server, |
server | 76 | include/linux/nfs_fs.h | extern int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 78 | include/linux/nfs_fs.h | extern int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir, |
server | 80 | include/linux/nfs_fs.h | extern int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 83 | include/linux/nfs_fs.h | extern int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, |
server | 85 | include/linux/nfs_fs.h | extern int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 87 | include/linux/nfs_fs.h | extern int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, |
server | 92 | include/linux/nfs_fs.h | extern int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size); |