函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mtrr\mtrr.c Create Date:2022-07-27 09:05:26
Last Modify:2022-05-18 17:35:08 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mtrr_del - delete a memory type region*@reg: Register returned by mtrr_add*@base: Physical base address*@size: Size of region* If register is supplied then base and size are ignored. This is* how drivers should call it.* Releases an MTRR region

函数原型:int mtrr_del(int reg, unsigned long base, unsigned long size)

返回类型:int

参数:

类型参数名称
intreg
unsigned longbase
unsigned longsize
545  如果非mtrr_enabled()则返回:负ENODEV
547  如果mtrr_check(base, size)则返回:负EINVAL
549  返回:mtrr_del_page - delete a memory type region*@reg: Register returned by mtrr_add*@base: Physical base address*@size: Size of region* If register is supplied then base and size are ignored. This is* how drivers should call it.* Releases an MTRR region
调用者
名称描述
arch_phys_wc_delarch_phys_wc_del - undoes arch_phys_wc_add*@handle: Return value from arch_phys_wc_add* This cleans up after mtrr_add_wc_if_needed.* The API guarantees that mtrr_del_wc_if_needed(error code) and* mtrr_del_wc_if_needed(0) do nothing.
mtrr_ioctl
mtrr_close