函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-27 15:34:57
Last Modify:2022-05-23 13:25:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This cancels just the dirty bit on the kernel page itself, it does NOT* actually remove dirty bits on any mmap's that may be around

函数原型:void __cancel_dirty_page(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
2618  mapping等于page_mapping(page)
2620  如果mapping_cap_account_dirty(mapping)则
2621  inode等于host
2623  struct wb_lock_cookie cookie = {}
2625  lock_page_memcg(page)
2626  wb等于unlocked_inode_to_wb_begin(inode, & cookie)
2628  如果TestClearPageDirty(page)则Helper function for deaccounting dirty page without writeback.* Caller must hold lock_page_memcg().
2631  unlocked_inode_to_wb_end(inode, & cookie)
2632  unlock_page_memcg(page)
2633  否则
2634  ClearPageDirty(page)
调用者
名称描述
cancel_dirty_page