Function report |
Source Code:block\blk-core.c |
Create Date:2022-07-28 16:59:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bio_check_ro
Proto:static inline bool bio_check_ro(struct bio *bio, struct hd_struct *part)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct bio * | bio | |
struct hd_struct * | part |
794 | If policy && op_is_write(op) Then |
797 | If Check if the bio or request is one that needs special treatment in the* flush state machine. && Not bio_sectors(bio) Then Return false |
800 | WARN_ONCE(1, "generic_make_request: Trying to write to read-only block-device %s (partno %d)\n", bio_devname(bio, b), partno) |
805 | Return false |
808 | Return false |
Name | Describe |
---|---|
blk_partition_remap | Remap block n of partition p to block n+start(p) of the disk. |
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 |