函数逻辑报告 |
Source Code:block\blk-map.c |
Create Date:2022-07-27 18:40:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lk_rq_map_kern - map kernel data to a request, for passthrough requests*@q: request queue where request should be inserted*@rq: request to fill*@kbuf: the kernel buffer*@len: length of user data*@gfp_mask: memory allocation flags* Description:
函数原型:int blk_rq_map_kern(struct request_queue *q, struct request *rq, void *kbuf, unsigned int len, gfp_t gfp_mask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
struct request * | rq | |
void * | kbuf | |
unsigned int | len | |
gfp_t | gfp_mask |
226 | do_copy等于0 |
230 | 如果len大于queue_max_hw_sectors(q)左移9位则返回:负EINVAL |
235 | do_copy等于非blk_rq_aligned(q, addr, len)或object_is_on_stack(kbuf) |
251 | ret等于Append a bio to a passthrough request. Only works if the bio can be merged* into the request based on the driver constraints. |
252 | 如果此条件成立可能性小(为编译器优化)(ret)则 |
255 | 返回:ret |
258 | 返回:0 |
名称 | 描述 |
---|---|
sg_scsi_ioctl | sg_scsi_ioctl -- handle deprecated SCSI_IOCTL_SEND_COMMAND ioctl*@q: request queue to send scsi commands down*@disk: gendisk to operate on (option)*@mode: mode used to open the file through which the ioctl has been* submitted*@sic: userspace structure |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |