函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:de_reserved_space is managed internally by quota, and protected by* i_lock similar to i_blocks+i_bytes.

函数原型:static qsize_t *inode_reserved_space(struct inode *inode)

返回类型:qsize_t

参数:

类型参数名称
struct inode *inode
1613  BUG_ON(!get_reserved_space)
1614  返回:get_reserved_space(inode)
调用者
名称描述
__inode_get_rsv_space
__dquot_alloc_spaceThis operation can block, but only after everything is updated
dquot_claim_space_nodirtyConvert in-memory reserved quotas to real consumed quotas
dquot_reclaim_space_nodirtyConvert allocated space back to in-memory reserved quotas
__dquot_free_spaceThis operation can block, but only after everything is updated