Function report |
Source Code:block\blk-merge.c |
Create Date:2022-07-28 17:06:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ll_front_merge_fn
Proto:int ll_front_merge_fn(struct request *req, struct bio *bio, unsigned int nr_segs)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | req | |
struct bio * | bio | |
unsigned int | nr_segs |
610 | If req_gap_front_merge(req, bio) Then Return 0 |
612 | If blk_integrity_rq(req) && integrity_req_gap_front_merge(req, bio) Then Return 0 |
615 | If blk_rq_sectors(req) + bio_sectors(bio) > blk_rq_get_max_sectors(req, device address in 512 byte sectors ) Then |
617 | req_set_nomerge(q, req) |
618 | Return 0 |
621 | Return ll_new_hw_segment(req, bio, nr_segs) |
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 |