Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_matrix_free - Free allocated interrupt in the matrix*@m: Matrix pointer*@cpu: Which CPU map needs be updated*@bit: The bit to remove*@managed: If true, the interrupt is managed and not accounted* as available.

Proto:void irq_matrix_free(struct irq_matrix *m, unsigned int cpu, unsigned int bit, bool managed)

Type:void

Parameter:

TypeParameterName
struct irq_matrix *m
unsigned intcpu
unsigned intbit
boolmanaged
414  cm = per_cpu_ptr(maps, cpu)
416  If WARN_ON_ONCE(bit < alloc_start || bit >= alloc_end) Then Return
419  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).
420  allocated--
421  If managed Then managed_allocated--
424  If online Then total_allocated--
427  If Not managed Then
428  available++
429  If online Then global_available++
432  trace_irq_matrix_free(bit, cpu, m, cm)
Caller
NameDescribe
clear_irq_vector