Lines Matching refs:inode

840 	struct inode *inode = file_inode(filp);  in cache_read()  local
846 inode_lock(inode); /* protect against multiple concurrent in cache_read()
859 inode_unlock(inode); in cache_read()
913 inode_unlock(inode); in cache_read()
960 struct inode *inode = file_inode(filp); in cache_write() local
966 inode_lock(inode); in cache_write()
968 inode_unlock(inode); in cache_write()
1002 static int cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl()
1031 static int cache_open(struct inode *inode, struct file *filp, in cache_open() argument
1038 nonseekable_open(inode, filp); in cache_open()
1058 static int cache_release(struct inode *inode, struct file *filp, in cache_release() argument
1458 static int content_open(struct inode *inode, struct file *file, in content_open() argument
1478 static int content_release(struct inode *inode, struct file *file, in content_release() argument
1481 int ret = seq_release(inode, file); in content_release()
1486 static int open_flush(struct inode *inode, struct file *file, in open_flush() argument
1491 return nonseekable_open(inode, file); in open_flush()
1494 static int release_flush(struct inode *inode, struct file *file, in release_flush() argument
1582 struct inode *inode = file_inode(filp); in cache_ioctl_procfs() local
1583 struct cache_detail *cd = pde_data(inode); in cache_ioctl_procfs()
1585 return cache_ioctl(inode, filp, cmd, arg, cd); in cache_ioctl_procfs()
1588 static int cache_open_procfs(struct inode *inode, struct file *filp) in cache_open_procfs() argument
1590 struct cache_detail *cd = pde_data(inode); in cache_open_procfs()
1592 return cache_open(inode, filp, cd); in cache_open_procfs()
1595 static int cache_release_procfs(struct inode *inode, struct file *filp) in cache_release_procfs() argument
1597 struct cache_detail *cd = pde_data(inode); in cache_release_procfs()
1599 return cache_release(inode, filp, cd); in cache_release_procfs()
1611 static int content_open_procfs(struct inode *inode, struct file *filp) in content_open_procfs() argument
1613 struct cache_detail *cd = pde_data(inode); in content_open_procfs()
1615 return content_open(inode, filp, cd); in content_open_procfs()
1618 static int content_release_procfs(struct inode *inode, struct file *filp) in content_release_procfs() argument
1620 struct cache_detail *cd = pde_data(inode); in content_release_procfs()
1622 return content_release(inode, filp, cd); in content_release_procfs()
1632 static int open_flush_procfs(struct inode *inode, struct file *filp) in open_flush_procfs() argument
1634 struct cache_detail *cd = pde_data(inode); in open_flush_procfs()
1636 return open_flush(inode, filp, cd); in open_flush_procfs()
1639 static int release_flush_procfs(struct inode *inode, struct file *filp) in release_flush_procfs() argument
1641 struct cache_detail *cd = pde_data(inode); in release_flush_procfs()
1643 return release_flush(inode, filp, cd); in release_flush_procfs()
1794 struct inode *inode = file_inode(filp); in cache_ioctl_pipefs() local
1795 struct cache_detail *cd = RPC_I(inode)->private; in cache_ioctl_pipefs()
1797 return cache_ioctl(inode, filp, cmd, arg, cd); in cache_ioctl_pipefs()
1800 static int cache_open_pipefs(struct inode *inode, struct file *filp) in cache_open_pipefs() argument
1802 struct cache_detail *cd = RPC_I(inode)->private; in cache_open_pipefs()
1804 return cache_open(inode, filp, cd); in cache_open_pipefs()
1807 static int cache_release_pipefs(struct inode *inode, struct file *filp) in cache_release_pipefs() argument
1809 struct cache_detail *cd = RPC_I(inode)->private; in cache_release_pipefs()
1811 return cache_release(inode, filp, cd); in cache_release_pipefs()
1824 static int content_open_pipefs(struct inode *inode, struct file *filp) in content_open_pipefs() argument
1826 struct cache_detail *cd = RPC_I(inode)->private; in content_open_pipefs()
1828 return content_open(inode, filp, cd); in content_open_pipefs()
1831 static int content_release_pipefs(struct inode *inode, struct file *filp) in content_release_pipefs() argument
1833 struct cache_detail *cd = RPC_I(inode)->private; in content_release_pipefs()
1835 return content_release(inode, filp, cd); in content_release_pipefs()
1845 static int open_flush_pipefs(struct inode *inode, struct file *filp) in open_flush_pipefs() argument
1847 struct cache_detail *cd = RPC_I(inode)->private; in open_flush_pipefs()
1849 return open_flush(inode, filp, cd); in open_flush_pipefs()
1852 static int release_flush_pipefs(struct inode *inode, struct file *filp) in release_flush_pipefs() argument
1854 struct cache_detail *cd = RPC_I(inode)->private; in release_flush_pipefs()
1856 return release_flush(inode, filp, cd); in release_flush_pipefs()