函数逻辑报告 |
Source Code:fs\buffer.c |
Create Date:2022-07-29 10:45:10 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:fsync_buffers_list
函数原型:static int fsync_buffers_list(spinlock_t *lock, struct list_head *list)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
spinlock_t * | lock | |
struct list_head * | list |
718 | err等于0 |
721 | 初始化链表头 |
722 | blk_start_plug( & plug) |
724 | 加自旋锁 |
759 | 自旋锁解锁 |
760 | blk_finish_plug( & plug) |
761 | 加自旋锁 |
770 | smp_mb() |
771 | 如果buffer_dirty(bh)则 |
776 | 自旋锁解锁 |
777 | wait_on_buffer(bh) |
781 | 加自旋锁 |
784 | 自旋锁解锁 |
788 | 否则返回:err2 |
名称 | 描述 |
---|---|
sync_mapping_buffers | sync_mapping_buffers - write out & wait upon a mapping's "associated" buffers*@mapping: the mapping which wants those buffers written* Starts I/O against the buffers at mapping->private_list, and waits upon* that I/O. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |