函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bsg-lib.c Create Date:2022-07-27 19:14:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:alled right before the request is given to the request_queue user

函数原型:static void bsg_initialize_rq(struct request *req)

返回类型:void

参数:

类型参数名称
struct request *req
304  job等于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.
305  reply等于reply
307  memset(job, 0, job的长度)
308  reply等于reply
309  reply_len等于SCSI_SENSE_BUFFERSIZE
310  Used for driver-specific storage 等于job加1