Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\intel.c Create Date:2022-07-28 07:57:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:intel_tlb_lookup

Proto:static void intel_tlb_lookup(const unsigned char desc)

Type:void

Parameter:

TypeParameterName
const unsigned chardesc
858  If desc == 0 Then Return
862  When descriptor != desc && descriptor != 0 cycle If tlb_type == 0 Then
867  Return
870  Case tlb_type == STLB_4K
871  If tlb_lli_4k[ENTRIES] < entries Then tlb_lli_4k[ENTRIES] = entries
873  If tlb_lld_4k[ENTRIES] < entries Then tlb_lld_4k[ENTRIES] = entries
875  Break
876  Case tlb_type == STLB_4K_2M
877  If tlb_lli_4k[ENTRIES] < entries Then tlb_lli_4k[ENTRIES] = entries
879  If tlb_lld_4k[ENTRIES] < entries Then tlb_lld_4k[ENTRIES] = entries
881  If tlb_lli_2m[ENTRIES] < entries Then tlb_lli_2m[ENTRIES] = entries
883  If tlb_lld_2m[ENTRIES] < entries Then tlb_lld_2m[ENTRIES] = entries
885  If tlb_lli_4m[ENTRIES] < entries Then tlb_lli_4m[ENTRIES] = entries
887  If tlb_lld_4m[ENTRIES] < entries Then tlb_lld_4m[ENTRIES] = entries
889  Break
890  Case tlb_type == TLB_INST_ALL
891  If tlb_lli_4k[ENTRIES] < entries Then tlb_lli_4k[ENTRIES] = entries
893  If tlb_lli_2m[ENTRIES] < entries Then tlb_lli_2m[ENTRIES] = entries
895  If tlb_lli_4m[ENTRIES] < entries Then tlb_lli_4m[ENTRIES] = entries
897  Break
898  Case tlb_type == TLB_INST_4K
899  If tlb_lli_4k[ENTRIES] < entries Then tlb_lli_4k[ENTRIES] = entries
901  Break
902  Case tlb_type == TLB_INST_4M
903  If tlb_lli_4m[ENTRIES] < entries Then tlb_lli_4m[ENTRIES] = entries
905  Break
906  Case tlb_type == TLB_INST_2M_4M
907  If tlb_lli_2m[ENTRIES] < entries Then tlb_lli_2m[ENTRIES] = entries
909  If tlb_lli_4m[ENTRIES] < entries Then tlb_lli_4m[ENTRIES] = entries
911  Break
912  Case tlb_type == TLB_DATA_4K
913  Case tlb_type == TLB_DATA0_4K
914  If tlb_lld_4k[ENTRIES] < entries Then tlb_lld_4k[ENTRIES] = entries
916  Break
917  Case tlb_type == TLB_DATA_4M
918  Case tlb_type == TLB_DATA0_4M
919  If tlb_lld_4m[ENTRIES] < entries Then tlb_lld_4m[ENTRIES] = entries
921  Break
922  Case tlb_type == TLB_DATA_2M_4M
923  Case tlb_type == TLB_DATA0_2M_4M
924  If tlb_lld_2m[ENTRIES] < entries Then tlb_lld_2m[ENTRIES] = entries
926  If tlb_lld_4m[ENTRIES] < entries Then tlb_lld_4m[ENTRIES] = entries
928  Break
929  Case tlb_type == TLB_DATA_4K_4M
930  If tlb_lld_4k[ENTRIES] < entries Then tlb_lld_4k[ENTRIES] = entries
932  If tlb_lld_4m[ENTRIES] < entries Then tlb_lld_4m[ENTRIES] = entries
934  Break
935  Case tlb_type == TLB_DATA_1G
936  If tlb_lld_1g[ENTRIES] < entries Then tlb_lld_1g[ENTRIES] = entries
938  Break
Caller
NameDescribe
intel_detect_tlb