Function report |
Source Code:lib\cpu_rmap.c |
Create Date:2022-07-28 07:17:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:q_cpu_rmap_add - add an IRQ to a CPU affinity reverse-map*@rmap: The reverse-map*@irq: The IRQ number* This adds an IRQ affinity notifier that will update the reverse-map* automatically.* Must be called in process context, after the IRQ is allocated but
Proto:int irq_cpu_rmap_add(struct cpu_rmap *rmap, int irq)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct cpu_rmap * | rmap | |
int | irq |
287 | glue = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
293 | release = q_cpu_rmap_release - reclaiming callback for IRQ subsystem*@ref: kref to struct irq_affinity_notify passed by irq/manage.c |
296 | index = pu_rmap_add - add object to a rmap*@rmap: CPU rmap allocated with alloc_cpu_rmap()*@obj: Object to add to rmap* Return index of object. |
297 | rc = irq_set_affinity_notifier(irq, & notify) |
298 | If rc Then |
302 | Return rc |
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 |