函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fscache.h Create Date:2022-07-27 07:37:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:scache_alloc_page - Allocate a block in which to store a page*@cookie: The cookie representing the cache object*@page: The netfs page to allocate a page for*@gfp: The conditions under which memory allocation should be made* Request Allocation a block in

函数原型:static inline int fscache_alloc_page(struct fscache_cookie *cookie, struct page *page, gfp_t gfp)

返回类型:int

参数:

类型参数名称
struct fscache_cookie *cookie
struct page *page
gfp_tgfp
628  如果fscache_cookie_valid(cookie)且fscache_cookie_enabled(cookie)则返回:__fscache_alloc_page(cookie, page, gfp)
630  否则返回:负ENOBUFS