函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\filemap.c Create Date:2022-07-27 15:23:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:delete_from_page_cache - delete page from page cache*@page: the page which the kernel is trying to remove from page cache* This must be called only on pages that have been verified to be in the page* cache and locked

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

返回类型:void

参数:

类型参数名称
struct page *page
268  mapping等于page_mapping(page)
271  BUG_ON(!PageLocked(page))
272  xa_lock_irqsave( & i_pages, flags)
273  Delete a page from the page cache and free it. Caller has to make* sure the page is locked and that nobody else uses it - or that usage* is safe. The caller must hold the i_pages lock.
274  xa_unlock_irqrestore( & i_pages, flags)
276  page_cache_free_page(mapping, page)
调用者
名称描述
truncate_inode_page