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:Write all dquot structures to quota files
Proto:int dquot_writeback_dquots(struct super_block *sb, int type)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb | |
int | type |
629 | ret = 0 |
636 | If Not sb_has_quota_active(sb, cnt) Then Continue |
638 | spin_lock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) |
645 | WARN_ON(!st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from) |
651 | spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) |
652 | err = write_dquot(dquot) |
653 | If err Then |
658 | clear_dquot_dirty(dquot) |
668 | When cnt < MAXQUOTAS cycle If ( cnt == type || type == -1 ) && sb_has_quota_active(sb, cnt) && info_dirty( & Information for each quota type [cnt]) Then |
671 | write_info(sb, cnt) |
672 | dqstats_inc(DQST_SYNCS) |
674 | Return ret |
Name | Describe |
---|---|
dquot_quota_sync | Write all dquot structures to disk and make them visible from userspace |
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 |