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

1 2 3 4 5 6 7 8 9

  /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...]
  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
test_hooks.h 8 # define JEMALLOC_TEST_HOOK(fn, hook) ((void)(hook != NULL && (hook(), 0)), fn)
20 # define JEMALLOC_TEST_HOOK(fn, hook) fn
  /src/external/bsd/jemalloc/include/jemalloc/internal/
test_hooks.h 8 # define JEMALLOC_TEST_HOOK(fn, hook) ((void)(hook != NULL && (hook(), 0)), fn)
20 # define JEMALLOC_TEST_HOOK(fn, hook) fn
hooks.h 7 #define JEMALLOC_HOOK(fn, hook) ((void)(hook != NULL && (hook(), 0)), fn)
  /src/external/bsd/jemalloc/dist/test/unit/
prof_hook.c 22 expect_u_gt(*len, 0, "Default backtrace hook returned empty backtrace");
24 "Default backtrace hook returned too large backtrace");
47 "Incorrect file name passed to the dump hook");
59 expect_false(mock_bt_hook_called, "Called mock hook before it's set");
64 EINVAL, "Incorrectly allowed NULL backtrace hook");
67 prof_backtrace_hook_t hook = &mock_bt_hook; local
69 (void *)&default_hook, &default_hook_sz, (void *)&hook,
70 sizeof(hook)), 0, "Unexpected mallctl failure setting hook");
75 expect_true(mock_bt_hook_called, "Didn't call mock hook");
104 prof_backtrace_hook_t hook = &mock_bt_augmenting_hook; local
141 prof_dump_hook_t hook = &mock_dump_hook; local
    [all...]
test_hooks.c 6 hook() { function
21 expect_false(hook_called, "Nulling out hook didn't take.");
26 test_hooks_libc_hook = &hook;
29 expect_true(hook_called, "Hook should have executed.");
  /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/
hooks.h 7 #define JEMALLOC_HOOK(fn, hook) ((void)(hook != NULL && (hook(), 0)), fn)
  /src/external/bsd/jemalloc.old/include/jemalloc/internal/
hooks.h 7 #define JEMALLOC_HOOK(fn, hook) ((void)(hook != NULL && (hook(), 0)), fn)
  /src/external/bsd/jemalloc/dist/src/
hook.c 3 #include "jemalloc/internal/hook.h"
77 char *hook = (char *)opaque; local
78 assert(hooks_begin <= hook && hook < hooks_end
79 && (hook - hooks_begin) % sizeof(seq_hooks_t) == 0);
110 * - Right now, we turn on reentrancy during things like extent hook
114 * - If a hook allocates, we may want it to be relatively fast (after
158 hooks_internal_t hook; local
159 FOR_EACH_HOOK_BEGIN(&hook)
160 hook_alloc h = hook.hooks.alloc_hook
172 hooks_internal_t hook; local
186 hooks_internal_t hook; local
    [all...]
  /src/external/mit/expat/dist/doc/
Makefile.am 34 .PHONY: dist-hook # not inside conditional to avoid automake warning
46 dist-hook:
  /src/external/bsd/jemalloc.old/dist/test/unit/
hooks.c 6 hook() { function
21 assert_false(hook_called, "Nulling out hook didn't take.");
26 hooks_libc_hook = &hook;
29 assert_true(hook_called, "Hook should have executed.");
  /src/external/lgpl3/gmp/dist/mpn/generic/
gcd_subdiv_step.c 51 /* The hook function is called as
53 hook(ctx, gp, gn, qp, qn, d)
76 gcd_subdiv_step_hook *hook, void *ctx,
104 hook (ctx, ap, an, NULL, 0, -1);
124 hook (ctx, bp, bn, NULL, 0, swapped ^ 1);
150 hook (ctx, NULL, 0, &one, 1, swapped);
153 hook (ctx, bp, bn, NULL, 0, swapped);
157 hook (ctx, NULL, 0, &one, 1, swapped);
167 hook (ctx, NULL, 0, &one, 1, swapped);
185 hook (ctx, ap, an, tp, qn, swapped)
    [all...]
  /src/external/gpl3/gcc/dist/libsanitizer/hwasan/
hwasan_fuchsia.cpp 117 static void ThreadCreateHook(void *hook, bool aborted) {
118 Thread *thread = static_cast<Thread *>(hook);
133 static void ThreadStartHook(void *hook, thrd_t self) {
134 Thread *thread = static_cast<Thread *>(hook);
152 static void ThreadExitHook(void *hook, thrd_t self) {
153 Thread *thread = static_cast<Thread *>(hook);
223 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) {
224 __hwasan::ThreadCreateHook(hook, error != thrd_success);
227 void __sanitizer_thread_start_hook(void *hook, thrd_t self) {
228 __hwasan::ThreadStartHook(hook, reinterpret_cast<uptr>(self))
    [all...]
  /src/external/gpl3/gcc.old/dist/libsanitizer/hwasan/
hwasan_fuchsia.cpp 114 static void ThreadCreateHook(void *hook, bool aborted) {
115 Thread *thread = static_cast<Thread *>(hook);
130 static void ThreadStartHook(void *hook, thrd_t self) {
131 Thread *thread = static_cast<Thread *>(hook);
149 static void ThreadExitHook(void *hook, thrd_t self) {
150 Thread *thread = static_cast<Thread *>(hook);
201 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) {
202 __hwasan::ThreadCreateHook(hook, error != thrd_success);
205 void __sanitizer_thread_start_hook(void *hook, thrd_t self) {
206 __hwasan::ThreadStartHook(hook, reinterpret_cast<uptr>(self))
    [all...]
  /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; \
  /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);
  /src/external/gpl3/gcc/dist/libsanitizer/asan/
asan_globals_win.cpp 26 static void call_on_globals(void (*hook)(__asan_global *, uptr)) {
40 hook(start, n);
asan_fuchsia.cpp 104 // will never be called. Instead, our own thread destruction hook
196 static void ThreadCreateHook(void *hook, bool aborted) {
197 AsanThread *thread = static_cast<AsanThread *>(hook);
212 static void ThreadStartHook(void *hook, uptr os_id) {
213 AsanThread *thread = static_cast<AsanThread *>(hook);
224 static void ThreadExitHook(void *hook, uptr os_id) {
239 // On Fuchsia, leak detection is done by a special hook after atexit hooks.
240 // So this doesn't install any atexit hook like on other platforms.
262 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) {
263 __asan::ThreadCreateHook(hook, error != thrd_success)
    [all...]
  /src/external/gpl3/gcc.old/dist/libsanitizer/asan/
asan_globals_win.cpp 26 static void call_on_globals(void (*hook)(__asan_global *, uptr)) {
40 hook(start, n);
  /src/external/mpl/dhcp/dist/keama/tests/
runone.sh 41 hook=0
53 l) options="-4 -l ${HOOK:-/path/}"; hook=1;;
54 L) options="-6 -l ${HOOK:-/path/}"; hook=1;;
103 if [ $hook -eq 1 ]; then
104 sed s,/path/,${HOOK:-/path/}, < ${expected}L > $expected
  /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/external/gpl3/gcc/dist/libsanitizer/lsan/
lsan_fuchsia.cpp 80 // On Fuchsia, leak detection is done by a special hook after atexit hooks.
81 // So this doesn't install any atexit hook like on other platforms.
109 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) {
110 u32 tid = static_cast<u32>(reinterpret_cast<uptr>(hook));
120 void __sanitizer_thread_start_hook(void *hook, thrd_t self) {
121 u32 tid = static_cast<u32>(reinterpret_cast<uptr>(hook));
128 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { ThreadFinish(); }
  /src/external/gpl3/gcc.old/dist/libsanitizer/lsan/
lsan_fuchsia.cpp 102 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) {
103 u32 tid = static_cast<u32>(reinterpret_cast<uptr>(hook));
113 void __sanitizer_thread_start_hook(void *hook, thrd_t self) {
114 u32 tid = static_cast<u32>(reinterpret_cast<uptr>(hook));
121 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { ThreadFinish(); }

Completed in 36 milliseconds

1 2 3 4 5 6 7 8 9