Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__inode_sub_bytes

Proto:void __inode_sub_bytes(struct inode *inode, loff_t bytes)

Type:void

Parameter:

TypeParameterName
struct inode *inode
loff_tbytes
700  i_blocks -= bytes >> 9
701  bytes &= 511
702  If i_bytes < bytes Then
703  i_blocks--
704  i_bytes += 512
706  i_bytes -= bytes
Caller
NameDescribe
inode_sub_bytes
dquot_reclaim_space_nodirtyConvert allocated space back to in-memory reserved quotas
__dquot_free_spaceThis operation can block, but only after everything is updated