Function report |
Source Code:block\blk-merge.c |
Create Date:2022-07-28 17:05:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_recalc_rq_segments
Proto:unsigned int blk_recalc_rq_segments(struct request *rq)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | rq |
377 | nr_phys_segs = 0 |
378 | nr_sectors = 0 |
382 | If Not bio Then Return 0 |
386 | Case bio_op(bio) == REQ_OP_DISCARD |
387 | Case bio_op(bio) == REQ_OP_SECURE_ERASE |
388 | Case bio_op(bio) == REQ_OP_WRITE_ZEROES |
389 | Return 0 |
390 | Case bio_op(bio) == REQ_OP_WRITE_SAME |
391 | Return 1 |
394 | rq_for_each_bvec(bv, rq, iter) |
397 | Return nr_phys_segs |
Name | Describe |
---|---|
blk_update_request | lk_update_request - Special helper function for request stacking drivers*@req: the request being processed*@error: block status code*@nr_bytes: number of bytes to complete @req* Description:* Ends I/O on a number of bytes attached to @req, but doesn't |
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 |