Function report |
Source Code:block\blk-softirq.c |
Create Date:2022-07-28 17:06:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__blk_complete_request
Proto:void __blk_complete_request(struct request *req)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | req |
99 | bool shared = false |
103 | local_irq_save(flags) |
104 | cpu = smp_processor_id() |
109 | If Determine whether a bit is set(complete on same CPU-group , & * various queue flags, see QUEUE_* below) && ccpu != -1 Then |
110 | If Not Determine whether a bit is set(rce complete on same CPU , & * various queue flags, see QUEUE_* below) Then shared = cpus_share_cache(cpu, ccpu) |
125 | do_local : |
126 | list = this_cpu_ptr( & blk_cpu_done) |
135 | If next == ipi_list Then This function must run with irqs disabled! |
137 | Else if raise_blk_irq(ccpu, req) Then Go to do_local |
140 | local_irq_restore(flags) |
Name | Describe |
---|---|
__blk_mq_complete_request |
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 |