Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\truncate.c Create Date:2022-07-28 14:14:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:runcate_inode_pages - truncate *all* the pages from an offset*@mapping: mapping to truncate*@lstart: offset from which to truncate* Called under (and serialised by) inode->i_mutex.* Note: When this function returns, there can be a page in the process of

Proto:void truncate_inode_pages(struct address_space *mapping, loff_t lstart)

Type:void

Parameter:

TypeParameterName
struct address_space *mapping>nrpages can be non-zero when this function returns even after
loff_tlstart
476  runcate_inode_pages_range - truncate range of pages specified by start & end byte offsets*@mapping: mapping to truncate*@lstart: offset from which to truncate*@lend: offset to which to truncate (inclusive)* Truncate the page cache, removing the pages that
Caller
NameDescribe
truncate_inode_pages_finalruncate_inode_pages_final - truncate *all* pages before inode dies*@mapping: mapping to truncate* Called under (and serialized by) inode->i_mutex.* Filesystems have to use this in the .evict_inode path to inform the
truncate_pagecacheruncate_pagecache - unmap and remove pagecache that has been truncated*@inode: inode*@newsize: new file size* inode's new i_size must already be written before truncate_pagecache* is called.* This function should typically be called before the filesystem
dquot_quota_syncWrite all dquot structures to disk and make them visible from userspace
dquot_disableTurn quota off on a device. type == -1 ==> quotaoff for all types (umount)