函数逻辑报告 |
Source Code:fs\buffer.c |
Create Date:2022-07-29 10:45:21 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Attach the singly-linked list of buffers created by nobh_write_begin, to* the page (converting it to circular linked list and taking care of page* dirty races).
函数原型:static void attach_nobh_buffers(struct page *page, struct buffer_head *head)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct buffer_head * | head |
2554 | BUG_ON(!PageLocked(page)) |
2556 | 加自旋锁 |
2558 | 循环 |
2559 | 如果PageDirty(page)则set_buffer_dirty(bh) |
2565 | line definitions |
2566 | 自旋锁解锁 |
名称 | 描述 |
---|---|
nobh_write_begin | On entry, the page is fully not uptodate.* On exit the page is fully uptodate in the areas outside (from,to)* The filesystem needs to handle block truncation upon failure. |
nobh_write_end |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |