Lines Matching refs:inode
674 void truncate_pagecache(struct inode *inode, loff_t newsize) in truncate_pagecache() argument
676 struct address_space *mapping = inode->i_mapping; in truncate_pagecache()
707 void truncate_setsize(struct inode *inode, loff_t newsize) in truncate_setsize() argument
709 loff_t oldsize = inode->i_size; in truncate_setsize()
711 i_size_write(inode, newsize); in truncate_setsize()
713 pagecache_isize_extended(inode, oldsize, newsize); in truncate_setsize()
714 truncate_pagecache(inode, newsize); in truncate_setsize()
737 void pagecache_isize_extended(struct inode *inode, loff_t from, loff_t to) in pagecache_isize_extended() argument
739 int bsize = i_blocksize(inode); in pagecache_isize_extended()
744 WARN_ON(to > inode->i_size); in pagecache_isize_extended()
754 page = find_lock_page(inode->i_mapping, index); in pagecache_isize_extended()
782 void truncate_pagecache_range(struct inode *inode, loff_t lstart, loff_t lend) in truncate_pagecache_range() argument
784 struct address_space *mapping = inode->i_mapping; in truncate_pagecache_range()