Function report |
Source Code:fs\quota\quota_v2.c |
Create Date:2022-07-28 20:33:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:v2_write_dquot
Proto:static int v2_write_dquot(struct dquot *dquot)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dquot * | dquot |
| 319 | dqopt = sb_dqopt( superblock this applies to ) |
| 321 | bool alloc = false |
| 329 | If Not Offset of dquot on disk [dq_lock, stable once set] Then |
| 330 | alloc = true |
| 331 | lock for writing |
| 332 | Else |
| 333 | lock for reading |
| 335 | ret = qtree_write_dquot(dqi_priv, dquot) |
| 338 | If alloc Then lease a write lock |
| 340 | Else lease a read lock |
| 342 | 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 |