Searched refs:hook (Results 1 - 25 of 44) sorted by relevance

12

/haiku/src/libs/compat/freebsd_network/
H A Dsubr_autoconf.cpp16 config_intrhook_establish(struct intr_config_hook *hook) argument
23 (*hook->ich_func)(hook->ich_arg);
29 config_intrhook_disestablish(struct intr_config_hook *hook) argument
/haiku/src/system/libroot/posix/unistd/
H A Dfork.c36 /** Adds a hook to the specified list.
37 * If \a _lastHook is NULL, the hook will be added at the head of the list,
46 fork_hook *hook = (fork_hook *)malloc(sizeof(struct fork_hook)); local
47 if (hook == NULL)
50 hook->function = function;
53 // add hook at the end of the list
57 *_hooks = hook;
58 *_lastHook = hook;
63 // search for last hook (need if an item was added to the beginning only --
73 (*_lastHook)->next = hook;
92 call_fork_hooks(fork_hook *hook) argument
[all...]
/haiku/headers/private/fs_shell/
H A Dfssh_kernel_export.h44 fssh_debugger_command_hook hook, const char *help);
46 fssh_debugger_command_hook hook);
H A Dfssh_fs_cache.h38 fssh_transaction_notification_hook hook,
42 int32_t id, fssh_transaction_notification_hook hook,
50 fssh_transaction_notification_hook hook,
53 int32_t id, fssh_transaction_notification_hook hook,
/haiku/headers/private/kernel/
H A Dlisteners.h42 NotifySchedulerListeners(void (SchedulerListener::*hook)(Parameter1),
48 (listener->*hook)(parameter1);
56 void (SchedulerListener::*hook)(Parameter1, Parameter2),
62 (listener->*hook)(parameter1, parameter2);
88 NotifyWaitObjectListeners(void (WaitObjectListener::*hook)(Parameter1),
96 (listener->*hook)(parameter1);
104 void (WaitObjectListener::*hook)(Parameter1, Parameter2),
112 (listener->*hook)(parameter1, parameter2);
H A Dgeneric_syscall.h29 status_t register_generic_syscall(const char *subsystem, syscall_hook hook,
H A Dteam.h55 status_t start_watching_team(team_id team, void (*hook)(team_id, void *),
57 status_t stop_watching_team(team_id team, void (*hook)(team_id, void *),
/haiku/src/system/libroot/posix/stdlib/
H A Dexit.cpp38 void (*hook)(void*); member in struct:AtExitInfo
113 addr_t address = (addr_t)info->hook;
161 // call the hook
162 info->hook(info->data);
182 /*! exit() hook registration function (mandated by the C++ ABI).
183 \param hook Hook function to be called.
184 \param data The data to be passed to the hook.
185 \param dsoHandle If non-NULL, the hook is associated with the respective
186 loaded shared object (aka image) -- the hook will be called either on
187 exit() or earlier when the shared object is unloaded. If NULL, the hook
192 __cxa_atexit(void (*hook)(void*), void* data, void* dsoHandle) argument
[all...]
/haiku/headers/private/graphics/common/
H A Dcreate_display_modes.h24 check_display_mode_hook hook, display_mode** _modes, uint32* _count);
/haiku/src/kits/media/
H A DTimedEventQueuePrivate.h39 BTimedEventQueue::for_each_hook hook,
46 void SetCleanupHook(BTimedEventQueue::cleanup_hook hook, void *context);
H A DTimedEventQueue.cpp236 BTimedEventQueue::DoForEach(for_each_hook hook, argument
244 return fImp->DoForEach(hook, context, eventTime, direction, inclusive, eventType);
249 BTimedEventQueue::SetCleanupHook(cleanup_hook hook, argument
253 fImp->SetCleanupHook(hook, context);
/haiku/src/tools/fs_shell/
H A Dkernel_export.cpp100 fssh_add_debugger_command(const char *name, fssh_debugger_command_hook hook, argument
108 fssh_remove_debugger_command(char *name, fssh_debugger_command_hook hook) argument
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dkernel.h79 int config_intrhook_establish(struct intr_config_hook *hook);
80 void config_intrhook_disestablish(struct intr_config_hook *hook);
/haiku/src/system/kernel/
H A Dtimer.cpp182 event->flags, event->user_data, event->hook);
184 // look up and print the hook function symbol
190 (addr_t)event->hook, NULL, &symbol, &imageName, &exactMatch);
271 TRACE(("timer_interrupt: calling hook %p for event %p\n", event->hook,
277 if (event->hook)
278 rc = event->hook(event);
320 add_timer(timer* event, timer_hook hook, bigtime_t period, int32 flags) argument
325 if (event == NULL || hook == NULL || period < 0)
343 event->hook
[all...]
H A Dsyscalls.cpp65 syscall_hook hook; member in struct:generic_syscall
161 = syscall->hook(subsystem, function, buffer, bufferSize);
246 register_generic_syscall(const char* subsystem, syscall_hook hook, argument
249 if (hook == NULL)
269 syscall->hook = hook;
/haiku/headers/os/game/
H A DStreamingGameSound.h30 typedef void (*hook)(void* cookie, void* buffer, size_t byteCount, typedef in class:BStreamingGameSound
33 virtual status_t SetStreamHook(hook h, void* cookie);
84 hook fStreamHook;
/haiku/headers/os/drivers/
H A Dfs_cache.h39 transaction_notification_hook hook, void *data);
42 transaction_notification_hook hook, void *data);
46 int32 events, transaction_notification_hook hook,
49 transaction_notification_hook hook, void *data);
H A DKernelExport.h95 timer_hook hook; member in struct:timer
176 extern status_t add_timer(timer *t, timer_hook hook, bigtime_t period,
221 debugger_command_hook hook, const char *help);
223 debugger_command_hook hook);
228 extern status_t register_kernel_daemon(daemon_hook hook, void *arg,
230 extern status_t unregister_kernel_daemon(daemon_hook hook, void *arg);
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_data.c234 res_send_setqhook(res_send_qhook hook) { argument
235 _nres.qhook = hook;
239 res_send_setrhook(res_send_rhook hook) { argument
240 _nres.rhook = hook;
/haiku/src/add-ons/kernel/network/stack/
H A Dutility.cpp349 timer->hook(timer, timer->data);
386 init_timer(net_timer* timer, net_timer_func hook, void* data) argument
388 timer->hook = hook;
408 TRACE("set_timer %p, hook %p, data %p\n", timer, timer->hook, timer->data);
435 TRACE("cancel_timer %p, hook %p, data %p\n", timer, timer->hook,
492 kprintf("timer hook data due in\n");
500 kprintf("%p %p %p %" B_PRId64 "\n", timer, timer->hook, time
[all...]
H A Dutility.h65 void init_timer(net_timer* timer, net_timer_func hook, void* data);
/haiku/src/kits/game/
H A DStreamingGameSound.cpp72 BStreamingGameSound::SetStreamHook(void (*hook)(void* inCookie, void* inBuffer,
75 fStreamHook = hook;
/haiku/headers/os/media/
H A DTimedEventQueue.h132 status_t DoForEach(for_each_hook hook, void* context,
140 // The cleanup hook is called when events are flushed from the queue and
144 void SetCleanupHook(cleanup_hook hook,
/haiku/src/add-ons/translators/raw/
H A DLibRAW.h80 void SetProgressMonitor(monitor_hook hook,
H A DLibRAW.cpp330 LibRAW::SetProgressMonitor(monitor_hook hook, void* data) argument
332 fProgressMonitor = hook;
334 fRaw->set_progress_handler(hook != NULL ? ProgressCallback : NULL, this);

Completed in 317 milliseconds

12