Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\cpu_rmap.c Create Date:2022-07-28 07:17:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:int cpu_rmap_add(struct cpu_rmap *rmap, void *obj)

Type:int

Parameter:

TypeParameterName
struct cpu_rmap *rmap
void *obj
142  BUG_ON(used >= size)
143  index = used++
144  obj[index] = obj
145  Return index
Caller
NameDescribe
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