Lines Matching refs:OsVoidFunc
37 #define OS_MHOOK_NODE_DEAD ((OsVoidFunc)2)
44 OS_SEC_ALW_INLINE INLINE bool OsMhookBoundaryCheck(OsVoidFunc hook) in OsMhookBoundaryCheck()
49 OS_SEC_ALW_INLINE INLINE bool OsMhookValidCheck(OsVoidFunc hook) in OsMhookValidCheck()
56 OsVoidFunc *tmp_ = hook; \
57 while (!OsMhookBoundaryCheck((OsVoidFunc)((pfn) = (funcType)(*tmp_)))) { \
58 if (OsMhookValidCheck((OsVoidFunc)(pfn))) { \
67 OsVoidFunc *hook = g_hookCb[(hookType)].mulHook; \
143 OsVoidFunc sigHook;
144 OsVoidFunc *mulHook;
157 extern U32 OsMhookAdd(U32 hookType, OsVoidFunc hook);
162 extern U32 OsMhookDel(U32 hookType, OsVoidFunc hook);
167 extern U32 OsHookAdd(enum HookType hookType, OsVoidFunc hook);
172 extern U32 OsHookDel(enum HookType hookType, OsVoidFunc hook);
177 extern U32 OsShookReg(U32 hookType, OsVoidFunc hook);