函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:delete_from_page_cache_batch

函数原型:void delete_from_page_cache_batch(struct address_space *mapping, struct pagevec *pvec)

返回类型:void

参数:

类型参数名称
struct address_space *mapping
struct pagevec *pvec
348  如果非pagevec_count(pvec)则返回
351  xa_lock_irqsave( & i_pages, flags)
352 i小于pagevec_count(pvec)循环
353  trace_mm_filemap_delete_from_page_cache(pages[i])
355  unaccount_page_cache_page(mapping, pages[i])
357  page_cache_delete_batch - delete several pages from page cache*@mapping: the mapping to which pages belong*@pvec: pagevec with pages to delete* The function walks over mapping->i_pages and removes pages passed in @pvec* from the mapping
358  xa_unlock_irqrestore( & i_pages, flags)
360 i小于pagevec_count(pvec)循环page_cache_free_page(mapping, pages[i])
调用者
名称描述
truncate_inode_pages_rangeruncate_inode_pages_range - truncate range of pages specified by start & end byte offsets*@mapping: mapping to truncate*@lstart: offset from which to truncate*@lend: offset to which to truncate (inclusive)* Truncate the page cache, removing the pages that