函数逻辑报告 |
Source Code:fs\fs-writeback.c |
Create Date:2022-07-29 10:41:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:The @s_sync_lock is used to serialise concurrent sync operations* to avoid lock contention problems with concurrent wait_sb_inodes() calls.* Concurrent callers will block on the s_sync_lock rather than doing contending* walks
函数原型:static void wait_sb_inodes(struct super_block *sb)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | sb |
2375 | mutex_lock( & s_sync_lock) |
2387 | spin_lock_irq( & s_inode_wblist_lock) |
2388 | 加入二个链表项并重新初始化 |
2408 | 链表项移动到尾部 |
2418 | spin_unlock_irq( & s_inode_wblist_lock) |
2420 | 加自旋锁 |
2421 | 如果Misc 按位与I_FREEING按位或I_WILL_FREE按位或I_NEW的值则 |
2428 | 自旋锁解锁 |
2438 | cond_resched() |
2440 | 放置一个索引节点 |
2443 | spin_lock_irq( & s_inode_wblist_lock) |
2445 | spin_unlock_irq( & s_inode_wblist_lock) |
名称 | 描述 |
---|---|
sync_inodes_sb | sync_inodes_sb - sync sb inode pages*@sb: the superblock* This function writes and waits on any dirty inode belonging to this* super_block. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |