函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\scsi\scsi_request.h Create Date:2022-07-27 19:10:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:scsi_req

函数原型:static inline struct scsi_request *scsi_req(struct request *rq)

返回类型:struct scsi_request

参数:

类型参数名称
struct request *rq
22  返回:lk_mq_rq_to_pdu - cast a request to a PDU*@rq: the request to be casted* Return: pointer to the PDU* Driver command data is immediately after the request. So add request to get* the PDU.
调用者
名称描述
blk_fill_sghdr_rq
blk_complete_sghdr_rq
sg_io
sg_scsi_ioctlsg_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
__blk_send_genericSend basic block requests
bsg_scsi_fill_hdr
bsg_scsi_complete_rq
bsg_scsi_free_rq