Lines Matching refs:filep
25 static void nfs42_set_netaddr(struct file *filep, struct nfs42_netaddr *naddr) in nfs42_set_netaddr() argument
27 struct nfs_client *clp = (NFS_SERVER(file_inode(filep)))->nfs_client; in nfs42_set_netaddr()
44 static int _nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep, in _nfs42_proc_fallocate() argument
47 struct inode *inode = file_inode(filep); in _nfs42_proc_fallocate()
84 static int nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep, in nfs42_proc_fallocate() argument
87 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_fallocate()
92 lock = nfs_get_lock_context(nfs_file_open_context(filep)); in nfs42_proc_fallocate()
96 exception.inode = file_inode(filep); in nfs42_proc_fallocate()
100 err = _nfs42_proc_fallocate(msg, filep, lock, offset, len); in nfs42_proc_fallocate()
112 int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_allocate() argument
117 struct inode *inode = file_inode(filep); in nfs42_proc_allocate()
125 err = nfs42_proc_fallocate(&msg, filep, offset, len); in nfs42_proc_allocate()
133 int nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_deallocate() argument
138 struct inode *inode = file_inode(filep); in nfs42_proc_deallocate()
149 err = nfs42_proc_fallocate(&msg, filep, offset, len); in nfs42_proc_deallocate()
618 static loff_t _nfs42_proc_llseek(struct file *filep, in _nfs42_proc_llseek() argument
621 struct inode *inode = file_inode(filep); in _nfs42_proc_llseek()
660 return vfs_setpos(filep, res.sr_offset, inode->i_sb->s_maxbytes); in _nfs42_proc_llseek()
663 loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence) in nfs42_proc_llseek() argument
665 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_llseek()
670 lock = nfs_get_lock_context(nfs_file_open_context(filep)); in nfs42_proc_llseek()
674 exception.inode = file_inode(filep); in nfs42_proc_llseek()
678 err = _nfs42_proc_llseek(filep, lock, offset, whence); in nfs42_proc_llseek()