函数逻辑报告 |
Source Code:include\linux\fscache.h |
Create Date:2022-07-27 07:37:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:scache_read_or_alloc_pages - Read pages from the cache and/or allocate* blocks in which to store them*@cookie: The cookie representing the cache object*@mapping: The netfs inode mapping to which the pages will be attached*@pages: A list of potential netfs
函数原型:static inline int fscache_read_or_alloc_pages(struct fscache_cookie *cookie, struct address_space *mapping, struct list_head *pages, unsigned *nr_pages, fscache_rw_complete_t end_io_func, void *context, gfp_t gfp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fscache_cookie * | cookie | |
struct address_space * | mapping | |
struct list_head * | pages | |
unsigned * | nr_pages | |
fscache_rw_complete_t | end_io_func | |
void * | context | |
gfp_t | gfp |
597 | 如果fscache_cookie_valid(cookie)且fscache_cookie_enabled(cookie)则返回:__fscache_read_or_alloc_pages(cookie, mapping, pages, nr_pages, end_io_func, context, gfp) |
601 | 否则返回:负ENOBUFS |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |