Home
last modified time | relevance | path

Searched refs:g_excHeads (Results 1 – 1 of 1) sorted by relevance

/kernel/liteos_m/components/exchook/
Dlos_exchook.c45 STATIC struct Node *g_excHeads[EXC_TYPE_END + 1]; /* EXC_TYPE_END is used for the free list. */ variable
62 DoExcHookInRegOrder(excType, g_excHeads[excType]); in DoExcHook()
70 if (g_excHeads[EXC_TYPE_END] == NULL) { in GetFreeNode()
77 g_excNodes[i].next = g_excHeads[EXC_TYPE_END]; in GetFreeNode()
78 g_excHeads[EXC_TYPE_END] = &g_excNodes[i]; in GetFreeNode()
84 node = g_excHeads[EXC_TYPE_END]; in GetFreeNode()
85 g_excHeads[EXC_TYPE_END] = node->next; in GetFreeNode()
105 node->next = g_excHeads[excType]; in LOS_RegExcHook()
106 g_excHeads[excType] = node; in LOS_RegExcHook()
121 for (node = g_excHeads[excType]; node != NULL; node = node->next) { in LOS_UnRegExcHook()
[all …]