函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:34:50 |
| Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:For address_spaces which do not use buffers. Just tag the page as dirty in* the xarray.* This is also used when a single buffer is being dirtied: we want to set the* page dirty in that case, but not all the buffers. This is a "bottom-up"
函数原型:int __set_page_dirty_nobuffers(struct page *page)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct page * | page |
| 2467 | lock_page_memcg(page) |
| 2468 | 如果非TestSetPageDirty(page)则 |
| 2469 | mapping等于page_mapping(page) |
| 2472 | 如果非mapping则 |
| 2473 | unlock_page_memcg(page) |
| 2474 | 返回:1 |
| 2477 | xa_lock_irqsave( & i_pages, flags) |
| 2478 | BUG_ON(page_mapping(page) != mapping) |
| 2483 | xa_unlock_irqrestore( & i_pages, flags) |
| 2484 | unlock_page_memcg(page) |
| 2486 | 如果host则 |
| 2490 | 返回:1 |
| 2492 | unlock_page_memcg(page) |
| 2493 | 返回:0 |
| 名称 | 描述 |
|---|---|
| redirty_page_for_writepage | When a writepage implementation decides that it doesn't want to write this* page for some reason, it should redirty the locked page via* redirty_page_for_writepage() and it should then unlock the page and return 0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |