Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dqinit_needed

Proto:static int dqinit_needed(struct inode *inode, int type)

Type:int

Parameter:

TypeParameterName
struct inode *inode
inttype
933  If IS_NOQUOTA(inode) Then Return 0
936  dquots = i_dquot(inode)
937  If type != -1 Then Return Not dquots[type]
939  When cnt < MAXQUOTAS cycle If Not dquots[cnt] Then
941  Return 1
942  Return 0
Caller
NameDescribe
add_dquot_refThis routine is guarded by s_umount semaphore