Function report |
Source Code:block\partition-generic.c |
Create Date:2022-07-28 17:21:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:read_dev_sector
Proto:unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p)
Type:unsigned char
Parameter:
Type | Parameter | Name |
---|---|---|
struct block_device * | bdev | |
sector_t | n | |
Sector * | p |
610 | page = read_mapping_page(mapping, ( The type of an index into the pagecache)(n >> (PAGE_SHIFT determines the page size - 9)), NULL) |
615 | Return page_address(page) + ((n & (1 << PAGE_SHIFT determines the page size - 9 ) - 1 ) << 9) |
616 | fail : |
619 | v = NULL |
620 | Return NULL |
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 |