函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\cpu_rmap.c Create Date:2022-07-27 08:16:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:int irq_cpu_rmap_add(struct cpu_rmap *rmap, int irq)

返回类型:int

参数:

类型参数名称
struct cpu_rmap *rmap
intirq
287  glue等于分配内存并置零
290  如果非glue则返回:负ENOMEM
292  notify等于IRQ更新时的回调
293  release等于回收IRQ子系统回调
294  rmap等于rmap
295  得到cpu_rmap引用
296  index等于增加cpu_rmap
297  rc等于irq_set_affinity_notifier(irq, & notify)
298  如果rc
299  释放cpu_rmap引用
300  kfree(glue)
302  返回:rc