Home
last modified time | relevance | path

Searched defs:hookType (Results 1 – 5 of 5) sorted by relevance

/kernel/uniproton/src/om/include/
Dprt_hook_external.h65 #define OS_MHOOK_ACTIVATE(hookType, funcType, list) \ argument
74 #define OS_SHOOK_ACTIVATE(hookType, funcType, list) \ argument
81 #define OS_MHOOK_ACTIVATE_PARA0(hookType) OS_MHOOK_ACTIVATE((hookType), OsFunPara0, pfn()) argument
82 #define OS_MHOOK_ACTIVATE_PARA1(hookType, arg0) OS_MHOOK_ACTIVATE((hookType), OsFunPara1, pfn((uint… argument
83 #define OS_MHOOK_ACTIVATE_PARA2(hookType, arg0, arg1) OS_MHOOK_ACTIVATE((hookType), \ argument
85 #define OS_MHOOK_ACTIVATE_PARA3(hookType, arg0, arg1, arg2) OS_MHOOK_ACTIVATE((hookType), \ argument
87 #define OS_MHOOK_ACTIVATE_PARA4(hookType, arg0, arg1, arg2, arg3) \ argument
90 #define OS_MHOOK_ACTIVATE_PARA5(hookType, arg0, arg1, arg2, arg3, arg4) \ argument
94 #define OS_SHOOK_ACTIVATE_PARA0(hookType) OS_SHOOK_ACTIVATE((hookType), OsFunPara0, pfn()) argument
95 #define OS_SHOOK_ACTIVATE_PARA1(hookType, arg0) OS_SHOOK_ACTIVATE((hookType), OsFunPara1, pfn((uint… argument
[all …]
/kernel/uniproton/src/om/hook/
Dprt_hook_init.c46 OS_SEC_L4_TEXT void OsMhookReserve(U32 hookType, U32 incCnt) in OsMhookReserve()
106 OS_SEC_L4_TEXT U32 OsMhookAdd(U32 hookType, OsVoidFunc hook) in OsMhookAdd()
169 OS_SEC_L4_TEXT U32 OsMhookDel(U32 hookType, OsVoidFunc hook) in OsMhookDel()
229 OS_SEC_L4_TEXT U32 OsHookAdd(enum HookType hookType, OsVoidFunc hook) in OsHookAdd()
245 OS_SEC_L4_TEXT U32 OsHookDel(enum HookType hookType, OsVoidFunc hook) in OsHookDel()
261 OS_SEC_L4_TEXT U32 OsShookReg(U32 hookType, OsVoidFunc hook) in OsShookReg()
Dprt_hook_internal.h27 #define OS_IS_SHOOK_TYPE(hookType) ((hookType) >= OS_SHOOK_TYPE_START && (hookType) < (U32)OS_HOOK_… argument
/kernel/liteos_m/utils/
Dlos_hook.h96 #define LOS_HookReg(hookType, hookFn) hookType##_RegHook(hookFn) argument
118 #define LOS_HookUnReg(hookType, hookFn) hookType##_UnRegHook(hookFn) argument
123 #define OsHookCall(hookType, ...) hookType##_CallHook(__VA_ARGS__) argument
/kernel/liteos_a/kernel/include/
Dlos_hook.h100 #define LOS_HookReg(hookType, hookFn) hookType##_RegHook(hookFn) argument
122 #define LOS_HookUnReg(hookType, hookFn) hookType##_UnRegHook(hookFn) argument
127 #define OsHookCall(hookType, ...) hookType##_CallHook(__VA_ARGS__) argument