Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:runcate_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

Proto:void truncate_inode_pages_final(struct address_space *mapping)

Type:void

Parameter:

TypeParameterName
struct address_space *mapping
501  mapping_set_exiting(mapping)
508  nrpages = nrpages
509  smp_rmb()
510  nrexceptional = nrexceptional
512  If nrpages || nrexceptional Then
519  xa_lock_irq( & i_pages)
520  xa_unlock_irq( & i_pages)
527  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
Caller
NameDescribe
bdev_evict_inode