Home
last modified time | relevance | path

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

/base/startup/init/interfaces/innerkits/include/
Dhookmgr.h70 typedef struct tagHOOK_INFO HOOK_INFO; typedef
79 typedef int (*OhosHook)(const HOOK_INFO *hookInfo, void *executionContext);
108 int HookMgrAddEx(HOOK_MGR *hookMgr, const HOOK_INFO *hookInfo);
129 typedef void (*OhosHookPreExecution)(const HOOK_INFO *hookInfo, void *executionContext);
139 typedef void (*OhosHookPostExecution)(const HOOK_INFO *hookInfo, void *executionContext, int execut…
192 typedef void (*OhosHookTraversal)(const HOOK_INFO *hookInfo, void *traversalCookie);
/base/startup/init/test/moduletest/
Dhookmgr_moduletest.cpp50 static int OhosTestHookMultiThread(const HOOK_INFO *hookInfo, void *executionContext) in OhosTestHookMultiThread()
57 static int OhosTestHookMultiThreadAnother(const HOOK_INFO *hookInfo, void *executionContext) in OhosTestHookMultiThreadAnother()
64 static void OhosHookPrint(const HOOK_INFO *hookInfo, void *traversalCookie) in OhosHookPrint()
88 HOOK_INFO info;
/base/startup/init/services/modules/init_hook/
Dinit_hook.c88 static int ServiceClearHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in ServiceClearHookWrapper()
98 HOOK_INFO info; in InitAddClearServiceHook()
106 static int JobParseHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in JobParseHookWrapper()
116 HOOK_INFO info; in InitAddJobParseHook()
177 static int ParamSetInitCmdHook(const HOOK_INFO *hookInfo, void *cookie) in ParamSetInitCmdHook()
217 static int InitDebugHook(const HOOK_INFO *info, void *cookie) in InitDebugHook()
227 static int BootCompleteCmd(const HOOK_INFO *hookInfo, void *executionContext) in BootCompleteCmd()
/base/startup/init/interfaces/innerkits/init_module_engine/
Dinit_modulemgr.c83 static int moduleMgrCommandsInit(const HOOK_INFO *info, void *cookie) in moduleMgrCommandsInit()
92 static int loadAutorunModules(const HOOK_INFO *info, void *cookie) in loadAutorunModules()
/base/startup/init/services/modules/trace/
Dinit_trace_static.c20 static int InitTraceEarlyHook(const HOOK_INFO *info, void *cookie) in InitTraceEarlyHook()
/base/startup/init/services/modules/udid/
Dudid_static.c19 static int UDidCalc(const HOOK_INFO *hookInfo, void *cookie) in UDidCalc()
/base/startup/init/services/modules/bootchart/
Dbootchart_static.c19 static int bootchartEarlyHook(const HOOK_INFO *info, void *cookie) in bootchartEarlyHook()
/base/startup/init/services/modules/init_eng/
Dinit_eng_static.c21 static int InitEngEarlyHook(const HOOK_INFO *info, void *cookie) in InitEngEarlyHook()
/base/startup/init/test/fuzztest/hookmgradd_fuzzer/
Dhookmgradd_fuzzer.cpp20 static int TestHook(const HOOK_INFO *hookInfo, void *executionContext) in TestHook()
/base/startup/init/test/fuzztest/hookmgrdel_fuzzer/
Dhookmgrdel_fuzzer.cpp20 static int TestHook(const HOOK_INFO *hookInfo, void *executionContext) in TestHook()
/base/startup/init/test/fuzztest/hookmgrtraversal_fuzzer/
Dhookmgrtraversal_fuzzer.cpp20 static void HookTraversal(const HOOK_INFO *hookInfo, void *traversalCookie) in HookTraversal()
/base/startup/init/services/modules/selinux/
Dselinux_static.c21 static int SelinuxHook(const HOOK_INFO *hookInfo, void *cookie) in SelinuxHook()
/base/startup/init/services/modules/seccomp/
Dseccomp_policy_static.c45 static int SeccompHook(const HOOK_INFO *info, void *cookie) in SeccompHook()
/base/startup/init/test/unittest/innerkits/
Dhookmgr_unittest.cpp53 static int OhosTestHookRetOK(const HOOK_INFO *hookInfo, void *executionContext) in OhosTestHookRetOK()
58 static int OhosTestHookRetOKEx(const HOOK_INFO *hookInfo, void *executionContext) in OhosTestHookRetOKEx()
63 static int OhosTestHookRetOKEx2(const HOOK_INFO *hookInfo, void *executionContext) in OhosTestHookRetOKEx2()
68 static void OhosHookPrint(const HOOK_INFO *hookInfo, void *traversalCookie) in OhosHookPrint()
/base/startup/init/services/modules/reboot/
Dreboot_static.c29 static int RebootHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in RebootHookWrapper()
39 HOOK_INFO info; in InitAddRebootHook()
/base/startup/init/interfaces/innerkits/hookmgr/
Dhookmgr.c33 HOOK_INFO info;
167 int HookMgrAddEx(HOOK_MGR *hookMgr, const HOOK_INFO *hookInfo) in HookMgrAddEx()
187 HOOK_INFO info; in HookMgrAdd()
/base/startup/init/interfaces/innerkits/init_module_engine/include/
Dbootstage.h87 typedef int (*ParamLoadFilter)(const HOOK_INFO *hookInfo, PARAM_LOAD_FILTER_CTX *filter);
/base/startup/init/services/modules/bootevent/
Dbootevent.c356 static int ParamSetBootEventHook(const HOOK_INFO *hookInfo, void *cookie) in ParamSetBootEventHook()
422 static int RecordInitCmd(const HOOK_INFO *info, void *cookie) in RecordInitCmd()
431 HOOK_INFO info = {INIT_CMD_RECORD, 0, RecordInitCmd, NULL}; in MODULE_CONSTRUCTOR()
/base/startup/init/services/init/standard/
Dinit.c301 INIT_STATIC void InitPreHook(const HOOK_INFO *hookInfo, void *executionContext) in InitPreHook()
307 INIT_STATIC void InitPostHook(const HOOK_INFO *hookInfo, void *executionContext, int executionRetVa… in InitPostHook()
/base/startup/init/services/init/
Dinit_common_service.c102 static int ServiceHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in ServiceHookWrapper()
113 HOOK_INFO info; in InitAddServiceHook()
Dinit_service_manager.c889 static int ServiceParseHookWrapper(const HOOK_INFO *hookInfo, void *executionContext) in ServiceParseHookWrapper()
900 HOOK_INFO info; in InitAddServiceParseHook()
/base/startup/init/test/unittest/param/
Dparam_stub.cpp485 static int TestHook(const HOOK_INFO *hookInfo, void *cookie) in TestHook()