Function report |
Source Code:fs\inode.c |
Create Date:2022-07-28 20:07:58 |
| Last Modify:2020-03-18 19:19:59 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get a unique inode number
Proto:ino_t iunique(struct super_block *sb, ino_t max_reserved)
Type:ino_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | sb | |
| ino_t | max_reserved |
| 1278 | DEFINE_SPINLOCK(iunique_lock) |
| 1282 | spin_lock( & iunique_lock) |
| 1283 | Do |
| 1284 | If counter <= max_reserved Then counter = max_reserved + 1 |
| 1288 | spin_unlock( & iunique_lock) |
| 1290 | Return res |
| 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 |