Function report |
Source Code:fs\block_dev.c |
Create Date:2022-07-28 20:14:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:iterate_bdevs
Proto:void iterate_bdevs(void (*func)(struct block_device *, void *), void *arg)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
void (* | func | |
void * | arg |
2242 | spin_lock( & s_inode_list_lock) |
2247 | spin_lock( & _blocks, i_bytes, maybe i_size ) |
2250 | spin_unlock( & _blocks, i_bytes, maybe i_size ) |
2251 | Continue |
2254 | spin_unlock( & _blocks, i_bytes, maybe i_size ) |
2255 | spin_unlock( & s_inode_list_lock) |
2264 | put an inode |
2268 | mutex_lock( & open/close mutex ) |
2269 | If bd_openers Then func(bdev, arg) |
2273 | spin_lock( & s_inode_list_lock) |
2275 | spin_unlock( & s_inode_list_lock) |
2276 | put an inode |
Name | Describe |
---|---|
ksys_sync | Sync everything. We start by waking flusher threads so that most of* writeback runs on all devices in parallel. Then we sync all inodes reliably* which effectively also waits for all flusher threads to finish doing* writeback |
do_sync_work |
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 |