Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_matrix_assign - Assign a preallocated interrupt in the local CPU map*@m: Matrix pointer*@bit: Which bit to mark* This should only be used to mark preallocated vectors

Proto:void irq_matrix_assign(struct irq_matrix *m, unsigned int bit)

Type:void

Parameter:

TypeParameterName
struct irq_matrix *m
unsigned intbit
323  cm = this_cpu_ptr(maps)
325  If WARN_ON_ONCE(bit < alloc_start || bit >= alloc_end) Then Return
327  If WARN_ON_ONCE(st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).) Then Return
329  allocated++
330  total_allocated++
331  available--
332  global_available--
333  trace_irq_matrix_assign(bit, smp_processor_id(), m, cm)