Function report |
Source Code:block\bsg-lib.c |
Create Date:2022-07-28 17:38:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alled right after the request is allocated for the request_queue
Proto:static int bsg_init_rq(struct blk_mq_tag_set *set, struct request *req, unsigned int hctx_idx, unsigned int numa_node)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct blk_mq_tag_set * | set | |
struct request * | req | |
unsigned int | hctx_idx | |
unsigned int | numa_node |
293 | 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. |
295 | reply = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
298 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |