函数逻辑报告 |
Source Code:include\linux\blkdev.h |
Create Date:2022-07-27 06:47:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_rq_get_max_sectors
函数原型:static inline unsigned int blk_rq_get_max_sectors(struct request *rq, sector_t offset)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq | |
sector_t | offset |
1025 | 如果blk_rq_is_passthrough(rq)则返回:max_hw_sectors |
1028 | 如果非chunk_sectors或req_op(rq)恒等于REQ_OP_DISCARD或req_op(rq)恒等于REQ_OP_SECURE_ERASE则返回:blk_queue_get_max_sectors(q, req_op(rq)) |
1033 | 返回:两数取小(Return maximum size of a request at given offset. Only valid for* file system requests., blk_queue_get_max_sectors(q, req_op(rq))) |
名称 | 描述 |
---|---|
bio_attempt_discard_merge | |
ll_back_merge_fn | |
ll_front_merge_fn | |
req_attempt_discard_merge | |
ll_merge_requests_fn |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |