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()
90 static int nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep, in nfs42_proc_fallocate() argument
93 struct inode *inode = file_inode(filep); in nfs42_proc_fallocate()
99 lock = nfs_get_lock_context(nfs_file_open_context(filep)); in nfs42_proc_fallocate()
111 err = _nfs42_proc_fallocate(msg, filep, lock, offset, len); in nfs42_proc_fallocate()
123 int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_allocate() argument
128 struct inode *inode = file_inode(filep); in nfs42_proc_allocate()
136 err = nfs42_proc_fallocate(&msg, filep, offset, len); in nfs42_proc_allocate()
144 int nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_deallocate() argument
149 struct inode *inode = file_inode(filep); in nfs42_proc_deallocate()
157 err = nfs42_proc_fallocate(&msg, filep, offset, len); in nfs42_proc_deallocate()
630 static loff_t _nfs42_proc_llseek(struct file *filep, in _nfs42_proc_llseek() argument
633 struct inode *inode = file_inode(filep); in _nfs42_proc_llseek()
675 return vfs_setpos(filep, res.sr_offset, inode->i_sb->s_maxbytes); in _nfs42_proc_llseek()
678 loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence) in nfs42_proc_llseek() argument
680 struct nfs_server *server = NFS_SERVER(file_inode(filep)); in nfs42_proc_llseek()
685 lock = nfs_get_lock_context(nfs_file_open_context(filep)); in nfs42_proc_llseek()
689 exception.inode = file_inode(filep); in nfs42_proc_llseek()
693 err = _nfs42_proc_llseek(filep, lock, offset, whence); in nfs42_proc_llseek()