Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:08 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Initialise the state of a blockdev page's buffers.
Proto:static sector_t init_page_buffers(struct page *page, struct block_device *bdev, sector_t block, int size)
Type:sector_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct block_device * | bdev | |
sector_t | block | |
int | size |
939 | uptodate = PageUptodate(page) |
940 | end_block = blkdev_max_block(I_BDEV( will die ), size) |
942 | Do |
943 | If Not buffer_mapped(bh) Then |
944 | I/O completion = NULL |
945 | reserved for b_end_io = NULL |
947 | start block number = block |
950 | If block < end_block Then set_buffer_mapped(bh) |
953 | block++ |
960 | Return end_block |
Name | Describe |
---|---|
grow_dev_page | Create the page-cache page that contains the requested block.* This is used purely for blockdev mappings. |
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 |