函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\stat.c Create Date:2022-07-29 10:32:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__inode_sub_bytes

函数原型:void __inode_sub_bytes(struct inode *inode, loff_t bytes)

返回类型:void

参数:

类型参数名称
struct inode *inode
loff_tbytes
700  i_blocks减等于bytes右移9位
701  bytes与等于511
702  如果i_bytes小于bytes
703  i_blocks自减
704  i_bytes加等于512
706  i_bytes减等于bytes
调用者
名称描述
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