Function report | 
Source Code:kernel\irq\ipi.c | 
Create Date:2022-07-28 10:15:38 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__ipi_send_single - send an IPI to a target Linux SMP CPU*@desc: pointer to irq_desc of the IRQ*@cpu: destination CPU, must in the destination mask passed to* irq_reserve_ipi()* This function is for architecture or core code to speed up IPI sending. Not
Proto:int __ipi_send_single(struct irq_desc *desc, unsigned int cpu)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct irq_desc * | desc | |
| unsigned int | cpu | 
| 223 | data = irq_desc_get_irq_data(desc) | 
| 224 | chip = irq_data_get_irq_chip(data) | 
| 235 | If Not ipi_send_single Then | 
| 236 | ipi_send_mask(data, cpumask_of - the cpumask containing just a given cpu*@cpu: the cpu (<= nr_cpu_ids)(cpu)) | 
| 237 | Return 0 | 
| 241 | If irq_domain_is_ipi_per_cpu(domain) && cpu != ipi_offset Then | 
| 244 | irq = irq + cpu - ipi_offset | 
| 246 | data = irq_get_irq_data(irq) | 
| 248 | ipi_send_single(data, cpu) | 
| 249 | Return 0 | 
| Name | Describe | 
|---|---|
| ipi_send_single | pi_send_single - Send an IPI to a single CPU*@virq: linux irq number from irq_reserve_ipi()*@cpu: destination CPU, must in the destination mask passed to* irq_reserve_ipi()* Returns zero on success and negative error number on failure. | 
| 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  |