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:Read dquot from disk and alloc space for it
Proto:int dquot_acquire(struct dquot *dquot)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dquot * | dquot |
| 429 | dqopt = sb_dqopt( superblock this applies to ) |
| 431 | mutex_lock( & dquot IO lock ) |
| 433 | ret = read_dqblk(dquot) |
| 434 | If ret < 0 Then Go to out_iolock |
| 438 | smp_mb__before_atomic() |
| 442 | ret = commit_dqblk(dquot) |
| 448 | If ret < 0 Then Go to out_iolock |
| 450 | If ret2 < 0 Then |
| 452 | Go to out_iolock |
| 459 | smp_mb__before_atomic() |
| 461 | out_iolock : |
| 463 | 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 |