函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_matrix_assign_system - Assign system wide entry in the matrix*@m: Matrix pointer*@bit: Which bit to reserve*@replace: Replace an already allocated vector with a system* vector at the same bit position.* The BUG_ON()s below are on purpose

函数原型:void irq_matrix_assign_system(struct irq_matrix *m, unsigned int bit, bool replace)

返回类型:void

参数:

类型参数名称
struct irq_matrix *m
unsigned intbit
boolreplace
184  cm等于this_cpu_ptr(maps)
186  BUG_ON(bit > matrix_bits)
187  BUG_ON(online_maps > 1 || (online_maps && !replace))
189  设置内存位
190  如果replace
191  BUG_ON(!st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).)
192  allocated自减
193  total_allocated自减
195  如果bit大于等于alloc_startbit小于alloc_endsystembits_inalloc自加
198  trace_irq_matrix_assign_system(bit, m)
调用者
名称描述
lapic_assign_system_vectors
lapic_assign_legacy_vector