Function report |
Source Code:block\blk-core.c |
Create Date:2022-07-28 16:59:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lk_get_request - allocate a request*@q: request queue to allocate a request for*@op: operation (REQ_OP_*) and REQ_* flags, e.g. REQ_SYNC.*@flags: BLK_MQ_REQ_* flags, e.g. BLK_MQ_REQ_NOWAIT.
Proto:struct request *blk_get_request(struct request_queue *q, unsigned int op, blk_mq_req_flags_t flags)
Type:struct request
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
unsigned int | op | |
blk_mq_req_flags_t | flags |
585 | WARN_ON_ONCE(op & REQ_NOWAIT) |
586 | WARN_ON_ONCE(flags & ~(BLK_MQ_REQ_NOWAIT | BLK_MQ_REQ_PREEMPT)) |
588 | req = blk_mq_alloc_request(q, op, flags) |
589 | If Not IS_ERR(req) && initialize_rq_fn Then initialize_rq_fn(req) |
592 | Return req |
Name | Describe |
---|---|
sg_io | |
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 |
__blk_send_generic | Send basic block requests |
bsg_sg_io | |
bsg_transport_fill_hdr |
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 |