函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Following list functions expect dq_list_lock to be held

函数原型:static inline void insert_dquot_hash(struct dquot *dquot)

返回类型:void

参数:

类型参数名称
struct dquot *dquot
278  head等于dquot_hashhashfn( superblock this applies to , ID this applies to (uid, gid, projid) )
279  hlist_add_head( & Hash list in memory [dq_list_lock] , head)
调用者
名称描述
dqgetGet reference to dquot* Locking is slightly tricky here. We are guarded from parallel quotaoff()* destroying our dquot by:* a) checking for quota flags under dq_list_lock and* b) getting a reference to dquot before we release dq_list_lock