Function report |
Source Code:fs\quota\dquot.c |
Create Date:2022-07-28 20:32:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Invalidate all dquots on the list
Proto:static void invalidate_dquots(struct super_block *sb, int type)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb | |
int | type |
540 | restart : |
541 | spin_lock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) |
543 | If superblock this applies to != sb Then Continue |
545 | If USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) != type Then Continue |
548 | If atomic_read( & Use count ) Then |
550 | spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) |
565 | Go to restart |
571 | remove_dquot_hash(dquot) |
572 | remove_free_dquot(dquot) |
573 | remove_inuse(dquot) |
574 | do_destroy_dquot(dquot) |
576 | spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) |
Name | Describe |
---|---|
dquot_disable | Turn quota off on a device. type == -1 ==> quotaoff for all types (umount) |
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 |