Function report |
Source Code:fs\splice.c |
Create Date:2022-07-28 20:11:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Attempt to steal a page from a pipe buffer. This should perhaps go into* a vm helper function, it's already simplified quite a bit by the* addition of remove_mapping(). If success is returned, the caller may
Proto:static int page_cache_pipe_buf_steal(struct pipe_inode_info *pipe, struct pipe_buffer *buf)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct pipe_inode_info * | pipe | |
struct pipe_buffer * | buf |
55 | mapping = page_mapping(page) |
56 | If mapping Then |
57 | WARN_ON(!PageUptodate(page)) |
78 | flags |= page is on the LRU |
79 | Return 0 |
87 | out_unlock : |
89 | Return 1 |
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 |