MCPcopy Create free account
hub / github.com/F-Stack/f-stack / invlop_handler_one_req

Function invlop_handler_one_req

freebsd/amd64/amd64/mp_machdep.c:1045–1089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1043}
1044
1045static void
1046invlop_handler_one_req(enum invl_op_codes smp_tlb_op, pmap_t smp_tlb_pmap,
1047 vm_offset_t smp_tlb_addr1, vm_offset_t smp_tlb_addr2)
1048{
1049 switch (smp_tlb_op) {
1050 case INVL_OP_TLB:
1051 invltlb_handler(smp_tlb_pmap);
1052 break;
1053 case INVL_OP_TLB_INVPCID:
1054 invltlb_invpcid_handler(smp_tlb_pmap);
1055 break;
1056 case INVL_OP_TLB_INVPCID_PTI:
1057 invltlb_invpcid_pti_handler(smp_tlb_pmap);
1058 break;
1059 case INVL_OP_TLB_PCID:
1060 invltlb_pcid_handler(smp_tlb_pmap);
1061 break;
1062 case INVL_OP_PGRNG:
1063 invlrng_handler(smp_tlb_addr1, smp_tlb_addr2);
1064 break;
1065 case INVL_OP_PGRNG_INVPCID:
1066 invlrng_invpcid_handler(smp_tlb_pmap, smp_tlb_addr1,
1067 smp_tlb_addr2);
1068 break;
1069 case INVL_OP_PGRNG_PCID:
1070 invlrng_pcid_handler(smp_tlb_pmap, smp_tlb_addr1,
1071 smp_tlb_addr2);
1072 break;
1073 case INVL_OP_PG:
1074 invlpg_handler(smp_tlb_addr1);
1075 break;
1076 case INVL_OP_PG_INVPCID:
1077 invlpg_invpcid_handler(smp_tlb_pmap, smp_tlb_addr1);
1078 break;
1079 case INVL_OP_PG_PCID:
1080 invlpg_pcid_handler(smp_tlb_pmap, smp_tlb_addr1);
1081 break;
1082 case INVL_OP_CACHE:
1083 invlcache_handler();
1084 break;
1085 default:
1086 __assert_unreachable();
1087 break;
1088 }
1089}
1090
1091void
1092invlop_handler(void)

Callers 1

invlop_handlerFunction · 0.85

Calls 11

invltlb_invpcid_handlerFunction · 0.85
invltlb_pcid_handlerFunction · 0.85
invlrng_invpcid_handlerFunction · 0.85
invlrng_pcid_handlerFunction · 0.85
invlpg_invpcid_handlerFunction · 0.85
invlpg_pcid_handlerFunction · 0.85
invltlb_handlerFunction · 0.70
invlrng_handlerFunction · 0.70
invlpg_handlerFunction · 0.70
invlcache_handlerFunction · 0.70

Tested by

no test coverage detected