Function report |
Source Code:block\blk-mq.c |
Create Date:2022-07-28 17:10:51 |
Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:'cpu' is going away. splice any existing rq_list entries from this* software queue to the hw queue dispatch list, and ensure that it* gets run.
Proto:static int blk_mq_hctx_notify_dead(unsigned int cpu, struct hlist_node *node)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | cpu | |
struct hlist_node * | node |
2201 | hctx = hlist_entry_safe(node, structblk_mq_hw_ctx, cpuhp_dead) |
2202 | ctx = __blk_mq_get_ctx(@queue: Pointer to the request queue that owns this hardware context., cpu) |
2206 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then |
2208 | blk_mq_hctx_clear_pending(hctx, ctx) |
2210 | spin_unlock( & lock) |
2212 | If list_empty - tests whether a list is empty*@head: the list to test. Then Return 0 |
2215 | spin_lock( & @lock: Protects the dispatch list. ) |
2219 | blk_mq_run_hw_queue(hctx, true) |
2220 | 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 |