Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_matrix_remove_managed - Remove managed interrupts in a CPU map*@m: Matrix pointer*@msk: On which CPUs the bits should be removed* Can be called for offline CPUs* This removes not allocated managed interrupts from the map

Proto:void irq_matrix_remove_managed(struct irq_matrix *m, const struct cpumask *msk)

Type:void

Parameter:

TypeParameterName
struct irq_matrix *m
const struct cpumask *msk
256  cm = per_cpu_ptr(maps, cpu)
257  end = alloc_end
259  If WARN_ON_ONCE(!managed) Then Continue
263  bitmap_andnot(scratch_map, managed_map, alloc_map, end)
265  bit = find the first set bit in a memory region(scratch_map, end)
266  If WARN_ON_ONCE(bit >= end) Then Continue
269  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
271  managed--
272  If online Then
273  available++
274  global_available++
276  trace_irq_matrix_remove_managed(bit, cpu, m, cm)
Caller
NameDescribe
irq_matrix_reserve_managedq_matrix_reserve_managed - Reserve a managed interrupt in a CPU map*@m: Matrix pointer*@msk: On which CPUs the bits should be reserved