Function report |
Source Code:block\blk-core.c |
Create Date:2022-07-28 16:59:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lk_queue_enter() - try to increase q->q_usage_counter*@q: request queue pointer*@flags: BLK_MQ_REQ_NOWAIT and/or BLK_MQ_REQ_PREEMPT
Proto:int blk_queue_enter(struct request_queue *q, blk_mq_req_flags_t flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct request_queue * | q | |
| blk_mq_req_flags_t | flags |
| 405 | pm = flags & BLK_MQ_REQ_PREEMPT |
| 407 | When (true) cycle |
| 408 | bool success = false |
| 425 | If success Then Return 0 |
| 428 | If flags & BLK_MQ_REQ_NOWAIT Then Return -EBUSY |
| 438 | smp_rmb() |
| 445 | If blk_queue_dying(q) Then Return -ENODEV |
| Name | Describe |
|---|---|
| generic_make_request | generic_make_request - hand a buffer to its device driver for I/O*@bio: The bio describing the location in memory and on the device.* generic_make_request() is used to make I/O requests of block* devices |
| direct_make_request | direct_make_request - hand a buffer directly to its device driver for I/O*@bio: The bio describing the location in memory and on the device.* This function behaves like generic_make_request(), but does not protect* against recursion |
| blk_mq_alloc_request | |
| blk_mq_alloc_request_hctx | |
| bdev_write_page | dev_write_page() - Start writing a page to a block device*@bdev: The device to write the page to*@sector: The offset on the device to write the page to (need not be aligned)*@page: The page to write*@wbc: The writeback_control for the write |
| 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 |