Function report |
Source Code:include\linux\blkdev.h |
Create Date:2022-07-28 05:46:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Some commands like WRITE SAME have a payload or data transfer size which* is different from the size of the request. Any driver that supports such* commands using the RQF_SPECIAL_PAYLOAD flag needs to use this helper to* calculate the data transfer size.
Proto:static inline unsigned int blk_rq_payload_bytes(struct request *rq)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request * | rq |
| 974 | If rq_flags & Look at ->special_vec for the actual data payload instead of thebio chain. Then Return bv_len |
| 976 | Return blk_rq_bytes(rq) |
| 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 |