Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:"Put" data from a page to cleancache and associate it with the* (previously-obtained per-filesystem) poolid and the page's,* inode and page index. Page must be locked. Note that a put_page

Proto:void __cleancache_put_page(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
218  struct cleancache_filekey key = {key = {0}}
220  If Not cleancache_ops is set by cleancache_register_ops to contain the pointers* to the cleancache "backend" implementation functions. Then
221  cleancache_puts++
222  Return
225  VM_BUG_ON_PAGE(!PageLocked(page), page)
226  pool_id = cleancache_poolid
227  If pool_id >= 0 && If the filesystem uses exportable filehandles, use the filehandle as* the key, else use the inode number. >= 0 Then
229  put_page(pool_id, key, Our offset within mapping. , page)
230  cleancache_puts++