Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fscache.h Create Date:2022-07-28 06:39:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:scache_write_page - Request storage of a page in the cache*@cookie: The cookie representing the cache object*@page: The netfs page to store*@object_size: Updated size of object*@gfp: The conditions under which memory allocation should be made

Proto:static inline int fscache_write_page(struct fscache_cookie *cookie, struct page *page, loff_t object_size, gfp_t gfp)

Type:int

Parameter:

TypeParameterName
struct fscache_cookie *cookie
struct page *page
loff_tobject_size
gfp_tgfp
679  If fscache_cookie_valid(cookie) && fscache_cookie_enabled(cookie) Then Return __fscache_write_page(cookie, page, object_size, gfp)
681  Else Return -ENOBUFS