Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\scsi_ioctl.c Create Date:2022-07-28 17:36:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:scsi_req_init - initialize certain fields of a scsi_request structure*@req: Pointer to a scsi_request structure.* Initializes .__cmd[], .cmd, .cmd_len and .sense_len but no other members* of struct scsi_request.

Proto:void scsi_req_init(struct scsi_request *req)

Type:void

Parameter:

TypeParameterName
struct scsi_request *req
805  memset(__cmd, 0, size of __cmd )
806  cmd = __cmd
807  cmd_len = BLK_MAX_CDB
808  sense_len = 0