Function report |
Source Code:include\linux\fscache.h |
Create Date:2022-07-28 06:39:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto: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)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If fscache_cookie_valid(cookie) && fscache_cookie_enabled(cookie) Then Return __fscache_read_or_alloc_pages(cookie, mapping, pages, nr_pages, end_io_func, context, gfp) |
601 | Else Return -ENOBUFS |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |