Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:de_reserved_space is managed internally by quota, and protected by* i_lock similar to i_blocks+i_bytes.

Proto:static qsize_t *inode_reserved_space(struct inode *inode)

Type:qsize_t

Parameter:

TypeParameterName
struct inode *inode
1613  BUG_ON(!get_reserved_space)
1614  Return get_reserved_space(inode)
Caller
NameDescribe
__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