函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

返回类型:void

参数:

类型参数名称
struct irq_matrix *m
unsigned intbit
323  cm等于this_cpu_ptr(maps)
325  如果WARN_ON_ONCE(bit < alloc_start || bit >= alloc_end)则返回
327  如果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).)则返回
329  allocated自加
330  total_allocated自加
331  available自减
332  global_available自减
333  trace_irq_matrix_assign(bit, 当前cpu ID(), m, cm)
调用者
名称描述
lapic_assign_system_vectors