Function report |
Source Code:fs\quota\dquot.c |
Create Date:2022-07-28 20:32:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:find_dquot
Proto:static struct dquot *find_dquot(unsigned int hashent, struct super_block *sb, struct kqid qid)
Type:struct dquot
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | hashent | |
struct super_block * | sb | |
struct kqid | qid |
294 | dquot = hlist_entry(node, structdquot, dq_hash) |
295 | If superblock this applies to == sb && qid_eq( ID this applies to (uid, gid, projid) , qid) Then Return dquot |
298 | Return NULL |
Name | Describe |
---|---|
dqget | Get 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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |