Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:void irq_matrix_assign_system(struct irq_matrix *m, unsigned int bit, bool replace)

Type:void

Parameter:

TypeParameterName
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  Atomically set a bit in memory
190  If replace Then
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  If bit >= alloc_start && bit < alloc_end Then systembits_inalloc++
198  trace_irq_matrix_assign_system(bit, m)
Caller
NameDescribe
lapic_assign_system_vectors