taglinefilesource code
server65fs/nfs/inode.cstruct nfs_server *server;
server97fs/nfs/inode.cserver = &sb->u.nfs_sb.s_server;
server98fs/nfs/inode.cserver->file = filp;
server99fs/nfs/inode.cserver->lock = 0;
server100fs/nfs/inode.cserver->wait = NULL;
server101fs/nfs/inode.cserver->flags = data->flags;
server102fs/nfs/inode.cserver->rsize = data->rsize;
server103fs/nfs/inode.cif (server->rsize <= 0)
server104fs/nfs/inode.cserver->rsize = NFS_DEF_FILE_IO_BUFFER_SIZE;
server105fs/nfs/inode.celse if (server->rsize >= NFS_MAX_FILE_IO_BUFFER_SIZE)
server106fs/nfs/inode.cserver->rsize = NFS_MAX_FILE_IO_BUFFER_SIZE;
server107fs/nfs/inode.cserver->wsize = data->wsize;
server108fs/nfs/inode.cif (server->wsize <= 0)
server109fs/nfs/inode.cserver->wsize = NFS_DEF_FILE_IO_BUFFER_SIZE;
server110fs/nfs/inode.celse if (server->wsize >= NFS_MAX_FILE_IO_BUFFER_SIZE)
server111fs/nfs/inode.cserver->wsize = NFS_MAX_FILE_IO_BUFFER_SIZE;
server112fs/nfs/inode.cserver->timeo = data->timeo*HZ/10;
server113fs/nfs/inode.cserver->retrans = data->retrans;
server114fs/nfs/inode.cserver->acregmin = data->acregmin*HZ;
server115fs/nfs/inode.cserver->acregmax = data->acregmax*HZ;
server116fs/nfs/inode.cserver->acdirmin = data->acdirmin*HZ;
server117fs/nfs/inode.cserver->acdirmax = data->acdirmax*HZ;
server118fs/nfs/inode.cstrcpy(server->hostname, data->hostname);
server239fs/nfs/proc.cint nfs_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle,
server247fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->rsize)))
server252fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) {
server275fs/nfs/proc.cint nfs_proc_setattr(struct nfs_server *server, struct nfs_fh *fhandle,
server283fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server289fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server312fs/nfs/proc.cint nfs_proc_lookup(struct nfs_server *server, struct nfs_fh *dir, const char *name,
server324fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->rsize)))
server330fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) {
server354fs/nfs/proc.cint nfs_proc_readlink(struct nfs_server *server, struct nfs_fh *fhandle,
server361fs/nfs/proc.cif (!(*p0 = nfs_rpc_alloc(server->rsize)))
server366fs/nfs/proc.cif ((status = nfs_rpc_call(server, *p0, p, server->rsize)) < 0)
server389fs/nfs/proc.cint nfs_proc_read(struct nfs_server *server, struct nfs_fh *fhandle,
server398fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->rsize)))
server406fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) {
server435fs/nfs/proc.cint nfs_proc_write(struct nfs_server *server, struct nfs_fh *fhandle,
server443fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server452fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server475fs/nfs/proc.cint nfs_proc_create(struct nfs_server *server, struct nfs_fh *dir,
server484fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server491fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server515fs/nfs/proc.cint nfs_proc_remove(struct nfs_server *server, struct nfs_fh *dir, const char *name)
server522fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server528fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server550fs/nfs/proc.cint nfs_proc_rename(struct nfs_server *server,
server559fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server567fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server589fs/nfs/proc.cint nfs_proc_link(struct nfs_server *server, struct nfs_fh *fhandle,
server597fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server604fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server626fs/nfs/proc.cint nfs_proc_symlink(struct nfs_server *server, struct nfs_fh *dir,
server634fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server642fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server664fs/nfs/proc.cint nfs_proc_mkdir(struct nfs_server *server, struct nfs_fh *dir,
server673fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server680fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server704fs/nfs/proc.cint nfs_proc_rmdir(struct nfs_server *server, struct nfs_fh *dir, const char *name)
server711fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->wsize)))
server717fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->wsize)) < 0) {
server739fs/nfs/proc.cint nfs_proc_readdir(struct nfs_server *server, struct nfs_fh *fhandle,
server750fs/nfs/proc.csize = server->rsize;
server751fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->rsize)))
server758fs/nfs/proc.cif ((status = nfs_rpc_call(server, p0, p, server->rsize)) < 0) {
server795fs/nfs/proc.cint nfs_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle,
server803fs/nfs/proc.cif (!(p0 = nfs_rpc_alloc(server->rsize)))
server808fs/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);