truncate_inode_pages(9) centos man page | unix.com

Man Page: truncate_inode_pages

Operating Environment: centos

Section: 9

TRUNCATE_INODE_PAGES(9) 				    Memory Management in Linux					   TRUNCATE_INODE_PAGES(9)

NAME
truncate_inode_pages - truncate *all* the pages from an offset
SYNOPSIS
void truncate_inode_pages(struct address_space * mapping, loff_t lstart);
ARGUMENTS
mapping mapping to truncate lstart offset from which to truncate
DESCRIPTION
Called under (and serialised by) inode->i_mutex.
NOTE
When this function returns, there can be a page in the process of deletion (inside __delete_from_page_cache) in the specified range. Thus mapping->nrpages can be non-zero when this function returns even after truncation of the whole mapping.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 TRUNCATE_INODE_PAGES(9)
Related Man Pages
mpage_readpages(9) - suse
wctrans(3) - centos
mpage_readpages(9) - centos
wctrans(3) - linux
write_cache_pages(9) - centos
Similar Topics in the Unix Linux Community
Weird 'find' results
CentOS7 restoring file capabilities
Docker learning Phase-I
Unsure why access time on a directory change isn't changing
Controlling user input