taglinefilesource code
server76fs/nfs/inode.cstruct nfs_server *server;
server112fs/nfs/inode.cserver = &sb->u.nfs_sb.s_server;
server113fs/nfs/inode.cserver->file = filp;
server114fs/nfs/inode.cserver->lock = 0;
server115fs/nfs/inode.cserver->wait = NULL;
server116fs/nfs/inode.cserver->flags = data->flags;
server117fs/nfs/inode.cserver->rsize = data->rsize;
server118fs/nfs/inode.cif (server->rsize <= 0)
server119fs/nfs/inode.cserver->rsize = NFS_DEF_FILE_IO_BUFFER_SIZE;
server120fs/nfs/inode.celse if (server->rsize >= NFS_MAX_FILE_IO_BUFFER_SIZE)
server121fs/nfs/inode.cserver->rsize = NFS_MAX_FILE_IO_BUFFER_SIZE;
server122fs/nfs/inode.cserver->wsize = data->wsize;
server123fs/nfs/inode.cif (server->wsize <= 0)
server124fs/nfs/inode.cserver->wsize = NFS_DEF_FILE_IO_BUFFER_SIZE;
server125fs/nfs/inode.celse if (server->wsize >= NFS_MAX_FILE_IO_BUFFER_SIZE)
server126fs/nfs/inode.cserver->wsize = NFS_MAX_FILE_IO_BUFFER_SIZE;
server127fs/nfs/inode.cserver->timeo = data->timeo*HZ/10;
server128fs/nfs/inode.cserver->retrans = data->retrans;
server129fs/nfs/inode.cserver->acregmin = data->acregmin*HZ;
server130fs/nfs/inode.cserver->acregmax = data->acregmax*HZ;
server131fs/nfs/inode.cserver->acdirmin = data->acdirmin*HZ;
server132fs/nfs/inode.cserver->acdirmax = data->acdirmax*HZ;
server133fs/nfs/inode.cstrcpy(server->hostname, data->hostname);
server229fs/nfs/proc.cint nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle,
server237fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->rsize)))
server242fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) {
server265fs/nfs/proc.cint nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle,
server273fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server279fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server302fs/nfs/proc.cint nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, const char *name,
server314fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->rsize)))
server320fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) {
server344fs/nfs/proc.cint nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle,
server351fs/nfs/proc.cif (!(*p0 = nfs_rpc_alloc(server->rsize)))
server356fs/nfs/proc.cif ((status = nfs_rpc_call(server, *p0, p, server->rsize)) < 0)
server379fs/nfs/proc.cint nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle,
server388fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->rsize)))
server396fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) {
server425fs/nfs/proc.cint nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle,
server433fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server442fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server465fs/nfs/proc.cint nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir,
server474fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server481fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server505fs/nfs/proc.cint nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, const char *name)
server512fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server518fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server540fs/nfs/proc.cint nfs_proc_rename(struct nfs_server *server,
server549fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server557fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server579fs/nfs/proc.cint nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle,
server587fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server594fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server616fs/nfs/proc.cint nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir,
server624fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server632fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server654fs/nfs/proc.cint nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir,
server663fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server670fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server694fs/nfs/proc.cint nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, const char *name)
server701fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server707fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server729fs/nfs/proc.cint nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle,
server740fs/nfs/proc.csize = server->rsize;
server741fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->rsize)))
server748fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) {
server785fs/nfs/proc.cint nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle,
server793fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->rsize)))
server798fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) {
server52fs/nfs/sock.cstatic int do_nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size)
server78fs/nfs/sock.cfile = server->file;
server86fs/nfs/sock.cinit_timeout = server->timeo;
server88fs/nfs/sock.cretrans = server->retrans;
server90fs/nfs/sock.cserver_name = server->hostname;
server96fs/nfs/sock.c| ((server->flags & NFS_MOUNT_INTR)
server136fs/nfs/sock.cif (server->flags & NFS_MOUNT_SOFT) {
server230fs/nfs/sock.cint nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size)
server234fs/nfs/sock.cwhile (server->lock)
server235fs/nfs/sock.csleep_on(&server->wait);
server236fs/nfs/sock.cserver->lock = 1;
server237fs/nfs/sock.cresult = do_nfs_rpc_call(server, start, end, size);
server238fs/nfs/sock.cserver->lock = 0;
server239fs/nfs/sock.cwake_up(&server->wait);
server52include/linux/nfs_fs.hextern int nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle,
server54include/linux/nfs_fs.hextern int nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle,
server56include/linux/nfs_fs.hextern int nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir,
server59include/linux/nfs_fs.hextern int nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle,
server62include/linux/nfs_fs.hextern int nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle,
server65include/linux/nfs_fs.hextern int nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle,
server68include/linux/nfs_fs.hextern int nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir,
server71include/linux/nfs_fs.hextern int nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir,
server73include/linux/nfs_fs.hextern int nfs_proc_rename(struct nfs_server *server,
server76include/linux/nfs_fs.hextern int nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle,
server78include/linux/nfs_fs.hextern int nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir,
server80include/linux/nfs_fs.hextern int nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir,
server83include/linux/nfs_fs.hextern int nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir,
server85include/linux/nfs_fs.hextern int nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle,
server87include/linux/nfs_fs.hextern int nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle,
server92include/linux/nfs_fs.hextern int nfs_rpc_call(struct nfs_server *server, int *start, int *end, int size);