Lines Matching refs:inode
785 struct inode *inode = file_inode(filp); in cache_read() local
791 inode_lock(inode); /* protect against multiple concurrent in cache_read()
804 inode_unlock(inode); in cache_read()
858 inode_unlock(inode); in cache_read()
923 struct inode *inode = file_inode(filp); in cache_write() local
929 inode_lock(inode); in cache_write()
931 inode_unlock(inode); in cache_write()
965 static int cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl()
994 static int cache_open(struct inode *inode, struct file *filp, in cache_open() argument
1001 nonseekable_open(inode, filp); in cache_open()
1019 static int cache_release(struct inode *inode, struct file *filp, in cache_release() argument
1398 static int content_open(struct inode *inode, struct file *file, in content_open() argument
1418 static int content_release(struct inode *inode, struct file *file, in content_release() argument
1421 int ret = seq_release(inode, file); in content_release()
1426 static int open_flush(struct inode *inode, struct file *file, in open_flush() argument
1431 return nonseekable_open(inode, file); in open_flush()
1434 static int release_flush(struct inode *inode, struct file *file, in release_flush() argument
1519 struct inode *inode = file_inode(filp); in cache_ioctl_procfs() local
1520 struct cache_detail *cd = PDE_DATA(inode); in cache_ioctl_procfs()
1522 return cache_ioctl(inode, filp, cmd, arg, cd); in cache_ioctl_procfs()
1525 static int cache_open_procfs(struct inode *inode, struct file *filp) in cache_open_procfs() argument
1527 struct cache_detail *cd = PDE_DATA(inode); in cache_open_procfs()
1529 return cache_open(inode, filp, cd); in cache_open_procfs()
1532 static int cache_release_procfs(struct inode *inode, struct file *filp) in cache_release_procfs() argument
1534 struct cache_detail *cd = PDE_DATA(inode); in cache_release_procfs()
1536 return cache_release(inode, filp, cd); in cache_release_procfs()
1550 static int content_open_procfs(struct inode *inode, struct file *filp) in content_open_procfs() argument
1552 struct cache_detail *cd = PDE_DATA(inode); in content_open_procfs()
1554 return content_open(inode, filp, cd); in content_open_procfs()
1557 static int content_release_procfs(struct inode *inode, struct file *filp) in content_release_procfs() argument
1559 struct cache_detail *cd = PDE_DATA(inode); in content_release_procfs()
1561 return content_release(inode, filp, cd); in content_release_procfs()
1571 static int open_flush_procfs(struct inode *inode, struct file *filp) in open_flush_procfs() argument
1573 struct cache_detail *cd = PDE_DATA(inode); in open_flush_procfs()
1575 return open_flush(inode, filp, cd); in open_flush_procfs()
1578 static int release_flush_procfs(struct inode *inode, struct file *filp) in release_flush_procfs() argument
1580 struct cache_detail *cd = PDE_DATA(inode); in release_flush_procfs()
1582 return release_flush(inode, filp, cd); in release_flush_procfs()
1738 struct inode *inode = file_inode(filp); in cache_ioctl_pipefs() local
1739 struct cache_detail *cd = RPC_I(inode)->private; in cache_ioctl_pipefs()
1741 return cache_ioctl(inode, filp, cmd, arg, cd); in cache_ioctl_pipefs()
1744 static int cache_open_pipefs(struct inode *inode, struct file *filp) in cache_open_pipefs() argument
1746 struct cache_detail *cd = RPC_I(inode)->private; in cache_open_pipefs()
1748 return cache_open(inode, filp, cd); in cache_open_pipefs()
1751 static int cache_release_pipefs(struct inode *inode, struct file *filp) in cache_release_pipefs() argument
1753 struct cache_detail *cd = RPC_I(inode)->private; in cache_release_pipefs()
1755 return cache_release(inode, filp, cd); in cache_release_pipefs()
1769 static int content_open_pipefs(struct inode *inode, struct file *filp) in content_open_pipefs() argument
1771 struct cache_detail *cd = RPC_I(inode)->private; in content_open_pipefs()
1773 return content_open(inode, filp, cd); in content_open_pipefs()
1776 static int content_release_pipefs(struct inode *inode, struct file *filp) in content_release_pipefs() argument
1778 struct cache_detail *cd = RPC_I(inode)->private; in content_release_pipefs()
1780 return content_release(inode, filp, cd); in content_release_pipefs()
1790 static int open_flush_pipefs(struct inode *inode, struct file *filp) in open_flush_pipefs() argument
1792 struct cache_detail *cd = RPC_I(inode)->private; in open_flush_pipefs()
1794 return open_flush(inode, filp, cd); in open_flush_pipefs()
1797 static int release_flush_pipefs(struct inode *inode, struct file *filp) in release_flush_pipefs() argument
1799 struct cache_detail *cd = RPC_I(inode)->private; in release_flush_pipefs()
1801 return release_flush(inode, filp, cd); in release_flush_pipefs()