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:Mark dquot dirty in atomic manner, and return it's old dirty flag state
Proto:int dquot_mark_dquot_dirty(struct dquot *dquot)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dquot * | dquot |
| 352 | ret = 1 |
| 354 | If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return 0 |
| 361 | If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return 1 |
| 364 | spin_lock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) |
| 368 | ret = 0 |
| 370 | spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats) |
| 371 | 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 |