函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:增加cpu_rmap

函数原型:int cpu_rmap_add(struct cpu_rmap *rmap, void *obj)

返回类型:int

参数:

类型参数名称
struct cpu_rmap *rmap
void *obj
142  BUG_ON(used >= size)
143  index等于used自加
144  obj[index]等于obj
145  返回:index
调用者
名称描述
irq_cpu_rmap_addq_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