函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:intel_tlb_lookup

函数原型:static void intel_tlb_lookup(const unsigned char desc)

返回类型:void

参数:

类型参数名称
const unsigned chardesc
858  如果desc恒等于0则返回
862 descriptor不等于descdescriptor不等于0循环如果tlb_type恒等于0则
867  返回
870  :tlb_type恒等于STLB_4K
871  如果tlb_lli_4k[ENTRIES]小于entriestlb_lli_4k[ENTRIES]等于entries
873  如果tlb_lld_4k[ENTRIES]小于entriestlb_lld_4k[ENTRIES]等于entries
875  退出
876  :tlb_type恒等于STLB_4K_2M
877  如果tlb_lli_4k[ENTRIES]小于entriestlb_lli_4k[ENTRIES]等于entries
879  如果tlb_lld_4k[ENTRIES]小于entriestlb_lld_4k[ENTRIES]等于entries
881  如果tlb_lli_2m[ENTRIES]小于entriestlb_lli_2m[ENTRIES]等于entries
883  如果tlb_lld_2m[ENTRIES]小于entriestlb_lld_2m[ENTRIES]等于entries
885  如果tlb_lli_4m[ENTRIES]小于entriestlb_lli_4m[ENTRIES]等于entries
887  如果tlb_lld_4m[ENTRIES]小于entriestlb_lld_4m[ENTRIES]等于entries
889  退出
890  :tlb_type恒等于TLB_INST_ALL
891  如果tlb_lli_4k[ENTRIES]小于entriestlb_lli_4k[ENTRIES]等于entries
893  如果tlb_lli_2m[ENTRIES]小于entriestlb_lli_2m[ENTRIES]等于entries
895  如果tlb_lli_4m[ENTRIES]小于entriestlb_lli_4m[ENTRIES]等于entries
897  退出
898  :tlb_type恒等于TLB_INST_4K
899  如果tlb_lli_4k[ENTRIES]小于entriestlb_lli_4k[ENTRIES]等于entries
901  退出
902  :tlb_type恒等于TLB_INST_4M
903  如果tlb_lli_4m[ENTRIES]小于entriestlb_lli_4m[ENTRIES]等于entries
905  退出
906  :tlb_type恒等于TLB_INST_2M_4M
907  如果tlb_lli_2m[ENTRIES]小于entriestlb_lli_2m[ENTRIES]等于entries
909  如果tlb_lli_4m[ENTRIES]小于entriestlb_lli_4m[ENTRIES]等于entries
911  退出
912  :tlb_type恒等于TLB_DATA_4K
913  :tlb_type恒等于TLB_DATA0_4K
914  如果tlb_lld_4k[ENTRIES]小于entriestlb_lld_4k[ENTRIES]等于entries
916  退出
917  :tlb_type恒等于TLB_DATA_4M
918  :tlb_type恒等于TLB_DATA0_4M
919  如果tlb_lld_4m[ENTRIES]小于entriestlb_lld_4m[ENTRIES]等于entries
921  退出
922  :tlb_type恒等于TLB_DATA_2M_4M
923  :tlb_type恒等于TLB_DATA0_2M_4M
924  如果tlb_lld_2m[ENTRIES]小于entriestlb_lld_2m[ENTRIES]等于entries
926  如果tlb_lld_4m[ENTRIES]小于entriestlb_lld_4m[ENTRIES]等于entries
928  退出
929  :tlb_type恒等于TLB_DATA_4K_4M
930  如果tlb_lld_4k[ENTRIES]小于entriestlb_lld_4k[ENTRIES]等于entries
932  如果tlb_lld_4m[ENTRIES]小于entriestlb_lld_4m[ENTRIES]等于entries
934  退出
935  :tlb_type恒等于TLB_DATA_1G
936  如果tlb_lld_1g[ENTRIES]小于entriestlb_lld_1g[ENTRIES]等于entries
938  退出
调用者
名称描述
intel_detect_tlb