Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mtrr\mtrr.c Create Date:2022-07-28 08:05:12
Last Modify:2022-05-18 17:35:08 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:int mtrr_del(int reg, unsigned long base, unsigned long size)

Type:int

Parameter:

TypeParameterName
intreg
unsigned longbase
unsigned longsize
545  If Not mtrr_enabled() Then Return -ENODEV
547  If mtrr_check(base, size) Then Return -EINVAL
549  Return 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
Caller
NameDescribe
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