Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\filemap.c Create Date:2022-07-28 14:00:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void delete_from_page_cache(struct page *page)

Type:void

Parameter:

TypeParameterName
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)
Caller
NameDescribe
truncate_inode_page