函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\perfctr-watchdog.c Create Date:2022-07-27 09:14:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:reserve_perfctr_nmi

函数原型:int reserve_perfctr_nmi(unsigned int msr)

返回类型:int

参数:

类型参数名称
unsigned intmsr
113  counter等于verts an msr to an appropriate reservation bit
115  如果counter大于his number is calculated from Intel's MSR_P4_CRU_ESCR5 register and it's* offset from MSR_P4_BSU_ESCR0.* It will be the max for all platforms (for now)则返回:1
118  如果非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).则返回:1
120  返回:0