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:Caller is here responsible for sufficient locking (ie. inode->i_lock)

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

Type:void

Parameter:

TypeParameterName
struct inode *inode
loff_tbytes
679  i_blocks += bytes >> 9
680  bytes &= 511
681  i_bytes += bytes
682  If i_bytes >= 512 Then
683  i_blocks++
684  i_bytes -= 512
Caller
NameDescribe
inode_add_bytes
__dquot_alloc_spaceThis operation can block, but only after everything is updated
dquot_claim_space_nodirtyConvert in-memory reserved quotas to real consumed quotas