HomeSort by: relevance | last modified time | path
    Searched refs:hook (Results 1 - 25 of 29) sorted by relevancy

1 2

  /src/sbin/devpubd/
devpubd-run-hooks.in 14 for hook in ${devpubd_hooks_base}/*; do
15 if [ -x "${hook}" ]; then
16 "${hook}" ${devpubd_event} "$@"
  /src/sys/sys/
module_hook.h 51 #define MODULE_HOOK(hook, type, args) \
52 extern struct hook ## _t { \
56 } hook __cacheline_aligned;
69 #define MODULE_HOOK_SET(hook, func) \
71 (hook).f = func; \
72 module_hook_set(&(hook).hooked, &(hook).lc); \
75 #define MODULE_HOOK_UNSET(hook) \
77 KASSERT((hook).f); \
78 module_hook_unset(&(hook).hooked, &(hook).lc);
    [all...]
Makefile 27 hook.h idtype.h ieee754.h intr.h intrio.h inttypes.h ioccom.h ioctl.h \
  /src/sys/kern/
vfs_hooks.c 95 #define VFS_HOOKS_W_ERROR(func, fargs, hook, hargs) \
106 if (hp-> hook != NULL) { \
107 error = hp-> hook hargs; \
122 #define VFS_HOOKS_WO_ERROR(func, fargs, hook, hargs) \
130 if (hp-> hook != NULL) \
131 hp-> hook hargs; \
subr_msan.c 147 kmsan_report_hook(const void *addr, size_t size, size_t off, const char *hook)
170 "%zu\n", hook, off);
182 "At Offset %zu/%zu, IP %p\n", typename, hook, off,
196 typename, hook,
211 "%zu, Variable '%s' From %s()\n", typename, hook, off,
362 kmsan_shadow_check(const void *addr, size_t size, const char *hook)
376 kmsan_report_hook((const char *)addr + i, size, i, hook);
408 kmsan_check_arg(size_t size, const char *hook)
422 kmsan_report_hook((const char *)arg + i, size, i, hook);
sysv_sem.c 91 void *hook; /* cookie from exithook_establish() */ variable in typeref:typename:void *
155 hook = exithook_establish(semexit, NULL);
172 /* Remove the exit hook */
173 if (hook)
174 exithook_disestablish(hook);
kern_hook.c 42 #include <sys/hook.h>
50 * A generic linear hook.
129 panic("hook_disestablish: hook %p not established", vhook);
166 * "Shutdown hook" types, functions, and variables.
172 * Each shutdown hook is removed from the list before it's run, so that
195 * Each shutdown hook is removed from the list before it's run, so that
208 * Don't bother freeing the hook structure,, since we may
220 * "Mountroot hook" types, functions, and variables.
370 * "Power hook" types, functions, and variables.
371 * The list of power hooks is kept ordered with the last registered hook
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_fuchsia.cc 74 // will never be called. Instead, our own thread destruction hook
161 static void ThreadCreateHook(void *hook, bool aborted) {
162 AsanThread *thread = static_cast<AsanThread *>(hook);
177 static void ThreadStartHook(void *hook, uptr os_id) {
178 AsanThread *thread = static_cast<AsanThread *>(hook);
189 static void ThreadExitHook(void *hook, uptr os_id) {
213 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) {
214 __asan::ThreadCreateHook(hook, error != thrd_success);
217 void __sanitizer_thread_start_hook(void *hook, thrd_t self) {
218 __asan::ThreadStartHook(hook, reinterpret_cast<uptr>(self))
    [all...]
asan_globals_win.cc 27 static void call_on_globals(void (*hook)(__asan_global *, uptr)) {
41 hook(start, n);
asan_rtems.cc 83 // will never be called. Instead, our own thread destruction hook
158 static void ThreadCreateHook(void *hook, bool aborted) {
159 AsanThread *thread = static_cast<AsanThread *>(hook);
174 static void ThreadStartHook(void *hook, uptr os_id) {
175 if (!hook)
178 AsanThread *thread = static_cast<AsanThread *>(hook);
200 static void ThreadExitHook(void *hook, uptr os_id) {
201 AsanThread *thread = static_cast<AsanThread *>(hook);
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_quirks.c 65 void (*hook)(struct drm_i915_private *i915); member in struct:intel_quirk
70 void (*hook)(struct drm_i915_private *i915); member in struct:intel_dmi_quirk
92 .hook = quirk_invert_brightness,
169 q->hook(i915);
173 intel_dmi_quirks[i].hook(i915);
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
bcm911360_entphn.dts 53 hook {
54 label = "HOOK";
rk3288-veyron-sdmmc.dtsi 43 /* This is where we actually hook up CD */
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_common.cc 298 auto hook = MFHooks[i].malloc_hook; local in function:__sanitizer::RunMallocHooks
299 if (!hook) return;
300 hook(ptr, size);
306 auto hook = MFHooks[i].free_hook; local in function:__sanitizer::RunFreeHooks
307 if (!hook) return;
308 hook(ptr);
  /src/lib/libc/resolv/
res_data.c 233 res_send_setqhook(res_send_qhook hook) {
234 _nres.qhook = hook;
238 res_send_setrhook(res_send_rhook hook) {
239 _nres.rhook = hook;
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_request.c 52 void (*hook)(struct i915_request *rq, struct dma_fence *signal); member in struct:execute_cb
150 cb->hook(container_of(cb->fence, struct i915_request, submit),
314 void (*hook)(struct i915_request *rq,
321 if (hook)
322 hook(rq, &signal->fence);
334 if (hook) {
335 cb->hook = hook;
342 if (hook) {
343 hook(rq, &signal->fence)
    [all...]
i915_request.h 353 void (*hook)(struct i915_request *rq,
  /src/sys/dev/mvme/
clmpcc_pcctwo.c 66 #error Need consiack hook
136 /* Hook the interrupts */
216 #error Need consiack hook
  /src/sys/arch/hpc/stand/hpcboot/menu/
menu.cpp 480 struct HpcMenuInterface::cons_hook_args *hook = 0; local in function:ConsoleTabWindow::command
516 hook = &menu._cons_hook[id - IDC_CONS_BTN_];
517 if (hook->func)
518 hook->func(hook->arg, menu._cons_parameter);
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_platform_mac.cc 195 // thread. If it's just a regular thread, this hook is called on the parent
201 pthread_introspection_hook_t hook);
  /src/sys/arch/i386/bioscall/
biostramp.S 108 # copy data to where the real-mode hook can handle it
  /src/sys/dev/
ccd.c 1087 int part, pmask, make, hook; local in function:ccdioctl
1105 enosys(), hook);
1106 if (hook == 0)
  /src/sys/rump/kern/lib/libsimplehook_tester/
simplehook_tester.c 34 #include <sys/hook.h>
106 HK_DPRINTF(("[%s, %d]: create hook list\n",
126 HK_DPRINTF(("[%s, %d]: destroy hook list\n",
221 HK_DPRINTF(("[%s, %d]: hook%zu called\n",
227 HK_DPRINTF(("[%s, %d]: hook%zu stopping\n",
234 HK_DPRINTF(("[%s, %d]: hook%zu restart\n",
242 HK_DPRINTF(("[%s, %d]: disestablish running hook%zu\n",
249 HK_DPRINTF(("[%s, %d]: hook%zu exit\n",
259 HK_DPRINTF(("[%s, %d]: non-block hook called\n",
266 HK_DPRINTF(("[%s, %d]: non-block hook exit\n"
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/qcom/
sdm630-sony-xperia-nile.dtsi 151 * Until we hook up type-c detection, we
sdm845-cheza.dtsi 770 * - On cheza we want to be able to hook DP up to _either_ of the
782 * All the hardware muxes would allow us to hook things up in different

Completed in 29 milliseconds

1 2