Lines Matching refs:hookCnt
57 U32 hookCnt; in OsHookConfigInit() local
62 hookCnt = g_hookCb[hookIndex].num; in OsHookConfigInit()
63 if (hookCnt > 0) { in OsHookConfigInit()
65 size += hookCnt + 1; in OsHookConfigInit()
88 hookCnt = g_hookCb[hookIndex].num; in OsHookConfigInit()
89 if (hookCnt == 0) { in OsHookConfigInit()
94 *(hooks + hookCnt) = (OsVoidFunc)OS_MHOOK_BOUNDARY; in OsHookConfigInit()
95 hooks += hookCnt + 1; in OsHookConfigInit()
111 U32 hookCnt = 0; in OsMhookAdd() local
140 hookCnt++; in OsMhookAdd()
153 if ((hookCnt == 0) && (g_hookChgHandler[hookType] != NULL)) { in OsMhookAdd()
174 U32 hookCnt = 0; in OsMhookDel() local
196 hookCnt++; in OsMhookDel()
204 if ((hookCnt == 1) && (g_hookChgHandler[hookType] != NULL)) { in OsMhookDel()