Function report |
Source Code:block\blk-core.c |
Create Date:2022-07-28 16:59:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Remap block n of partition p to block n+start(p) of the disk.
Proto:static inline int blk_partition_remap(struct bio *bio)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bio * | bio |
846 | p = __disk_get_part(bi_disk, bi_partno) |
847 | If Value for the false possibility is greater at compile time(!p) Then Go to out |
849 | If Value for the false possibility is greater at compile time(should_fail_request(p, residual I/O count )) Then Go to out |
851 | If Value for the false possibility is greater at compile time(bio_check_ro(bio, p)) Then Go to out |
854 | If bio_sectors(bio) Then |
861 | bi_partno = 0 |
862 | ret = 0 |
863 | out : |
865 | Return ret |
Name | Describe |
---|---|
generic_make_request_checks |
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 |