| 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:Call callback for every active dquot on given filesystem
Proto:int dquot_scan_active(struct super_block *sb, int (*fn)(struct dquot *dquot, unsigned long priv), unsigned long priv)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct super_block * | sb | |
| int (* | fn | |
| unsigned long | priv | 
| 585 | ret = 0 | 
| 589 | spin_lock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) | 
| 591 | If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Continue | 
| 593 | If superblock this applies to != sb Then Continue | 
| 596 | atomic_inc( & Use count ) | 
| 597 | spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) | 
| 611 | spin_lock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) | 
| 615 | spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) | 
| 616 | out : | 
| 618 | Return ret | 
| 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 |