函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\matrix.c Create Date:2022-07-27 11:17:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:void irq_matrix_remove_managed(struct irq_matrix *m, const struct cpumask *msk)

返回类型:void

参数:

类型参数名称
struct irq_matrix *m
const struct cpumask *msk
256  cm等于per_cpu_ptr(maps, cpu)
257  end等于alloc_end
259  如果WARN_ON_ONCE(!managed)则继续下一循环
263  bitmap_andnot(scratch_map, managed_map, alloc_map, end)
265  bit等于find_first_bit(scratch_map, end)
266  如果WARN_ON_ONCE(bit >= end)则继续下一循环
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  如果online
273  available自加
274  global_available自加
276  trace_irq_matrix_remove_managed(bit, cpu, m, cm)
调用者
名称描述
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
vector_free_reserved_and_managed