Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 75) sorted by relevance

123

/xnu-11215/pexpert/i386/
H A Dpe_interrupt.c40 IOInterruptHandler handler; member
61 void *, vector->target, IOInterruptHandler, vector->handler, in PE_incoming_interrupt()
65 vector->handler(vector->target, NULL, vector->nub, interrupt); in PE_incoming_interrupt()
69 void *, vector->target, IOInterruptHandler, vector->handler, in PE_incoming_interrupt()
78 IOInterruptHandler handler, in PE_install_interrupt_handler() argument
86 vector->handler = handler; in PE_install_interrupt_handler()
/xnu-11215/bsd/sys/
H A Dsysctl.h361 parent, nbr, name, kind, a1, a2, handler, fmt, descr)
405 __SYSCTL_OID(parent, nbr, name, kind, a1, a2, handler, fmt, descr)
411 &sysctl_##parent##_##name##_children, 0, handler, "N", descr);
416 a1, a2, handler, fmt, descr); \
426 &sysctl_##parent##_##name##_children, 0, handler, "N", descr); \
449 __SYSCTL_NODE(parent, nbr, name, access, handler, descr)
452 __SYSCTL_NODE(parent, nbr, name, access, handler, descr); \
455 #define SYSCTL_OID(parent, nbr, name, kind, a1, a2, handler, fmt, descr) \
456 __SYSCTL_OID(parent, nbr, name, kind, a1, a2, handler, fmt, descr)
462 &sysctl_##parent##_##name##_children, 0, handler, "N", descr)
[all …]
/xnu-11215/iokit/Kernel/
H A DIOInterruptController.cpp58 IOInterruptHandler handler, in registerInterrupt() argument
146 vector->handler, in registerInterrupt()
205 handler, refCon); in registerInterrupt()
211 vector->handler = handler; in registerInterrupt()
264 vector->handler = NULL; in unregisterInterrupt()
476 unslidHandler = VM_KERNEL_UNSLIDE((vm_offset_t)vector->handler); in timeStampInterruptHandlerInternal()
483 ml_irq_debug_start((uintptr_t)vector->handler, (uintptr_t)vector); in timeStampInterruptHandlerInternal()
597 IOInterruptHandler handler, in registerInterrupt() argument
648 vector->handler = handler; in registerInterrupt()
704 vector->handler = NULL; in unregisterInterrupt()
[all …]
H A DIOCPU.cpp206 PE_cpu_perfmon_interrupt_install_handler(perfmon_interrupt_handler_func handler) in PE_cpu_perfmon_interrupt_install_handler() argument
208 pmi_handler = handler; in PE_cpu_perfmon_interrupt_install_handler()
681 IOInterruptHandler handler = OSMemberFunctionCast( in enableCPUInterrupt() local
686 ml_install_interrupt_handler(cpu, cpu->getCPUNumber(), this, handler, NULL); in enableCPUInterrupt()
702 IOInterruptHandler handler, in registerInterrupt() argument
726 vector->handler = handler; in registerInterrupt()
802 vector->handler(vector->target, vector->refCon, in handleInterrupt()
H A DIOServicePrivate.h105 IOServiceMatchingNotificationHandler handler; variable
129 IOServiceInterestHandler handler; variable
203 IOUserClient ** handler) APPLE_KEXT_OVERRIDE;
220 IOUserClient ** handler) APPLE_KEXT_OVERRIDE;
H A DPassthruInterruptController.cpp86 IOInterruptHandler handler, in registerInterrupt() argument
89 child_handler = handler; in registerInterrupt()
/xnu-11215/iokit/Examples/drvGenericInterruptController/
H A DGenericInterruptController.cpp52 IOInterruptAction handler; in start() local
93 handler = getInterruptHandlerAddress(); in start()
94 provider->registerInterrupt(0, this, handler, 0); in start()
164 vector->handler(vector->target, vector->refCon, in handleInterrupt()
/xnu-11215/iokit/DriverKit/
H A DIOServiceNotificationDispatchSource.iig55 * handler is invoked on the queue set for the target method
76 …* @param handler Optional block to be executed after the interrupt has been disabled and any…
83 IODispatchSourceCancelHandler handler) override LOCAL;
88 * @param handler Handler block to be invoked after any callbacks have completed.
92 Cancel(IODispatchSourceCancelHandler handler) override LOCAL;
95 * @brief Set the handler block to run when the notification has become ready.
98 …* The ServiceNotificationReady handler is invoked on the queue set for the target met…
H A DIOServiceStateNotificationDispatchSource.iig52 * handler is invoked on the queue set for the target method
64 …* @param handler Optional block to be executed after the interrupt has been disabled and any…
71 IODispatchSourceCancelHandler handler) override LOCAL;
76 * @param handler Handler block to be invoked after any callbacks have completed.
80 Cancel(IODispatchSourceCancelHandler handler) override LOCAL;
83 * @brief Set the handler block to run when the notification has become ready.
86 …* The StateNotificationReady handler is invoked on the queue set for the target metho…
H A DIOInterruptDispatchSource.iig55 * IOInterruptDispatchSource delivers interrupts to a handler block on a dispatch queue.
72 * @param queue Target queue to run the handler block.
105 * @brief Set the handler block to run when the interupt fires.
117 …* @param handler Optional block to be executed after the interrupt has been disabled and any…
124 IODispatchSourceCancelHandler handler) override LOCAL;
129 * @param handler Handler block to be invoked after any callbacks have completed.
133 Cancel(IODispatchSourceCancelHandler handler) override LOCAL;
137 primary interrupt handler.
H A DIODataQueueDispatchSource.iig72 * @brief As a consumer, set the handler block to run when the queue becomes non-empty.
75 …* The DataAvailable handler is invoked on the queue set for the target method of the …
83 …* @brief As a producer, set the handler block to run when the queue becomes non-full, after …
87 …* The DataServiced handler is invoked on the queue set for the target method of the O…
97 …* @param handler Optional block to be executed after the interrupt has been disabled and any…
104 IODispatchSourceCancelHandler handler) override LOCAL;
109 * @param handler Handler block to be invoked after any callbacks have completed.
113 Cancel(IODispatchSourceCancelHandler handler) override LOCAL;
H A DOSAction.iig113 * @param handler Handler block to be invoked after any callbacks have completed.
117 Cancel(OSActionCancelHandler handler) LOCALONLY;
120 * @brief Install a handler to be invoked when no other processes reference the action.
122 … * invoke the handler in the owner. A task exiting will always remove its references.
123 * @param handler Handler block to be invoked on no more references.
127 SetAbortedHandler(OSActionAbortedHandler handler) LOCALONLY;
H A DIODispatchSource.iig55 Cancel(IODispatchSourceCancelHandler handler) = 0;
60 IODispatchSourceCancelHandler handler) = 0;
/xnu-11215/iokit/IOKit/
H A DIOService.h901 IOServiceNotificationHandler handler,
925 IOServiceMatchingNotificationHandler handler,
1379 IOInterruptAction handler,
1392 IOInterruptActionBlock handler);
1493 IOServiceInterestHandler handler,
1498 IOServiceInterestHandlerBlock handler);
1541 OSSharedPtr<IOUserClient>& handler );
1545 OSSharedPtr<IOUserClient>& handler );
1686 IOStateNotificationHandler handler);
1693 IOServiceMatchingNotificationHandler handler,
[all …]
H A DIOInterruptController.h55 IOInterruptHandler handler; member
82 IOInterruptHandler handler,
149 IOInterruptHandler handler,
H A DIOUserServer.h217 uint32_t type, OSDictionary * properties, IOUserClient ** handler);
219 uint32_t type, OSDictionary * properties, OSSharedPtr<IOUserClient>& handler);
282 withHandler(IOUserServerCheckInCancellationHandler handler, void * args);
312 …nHandler * setCancellationHandler(IOUserServerCheckInCancellationHandler handler, void *handlerArg…
317 void removeCancellationHandler(_IOUserServerCheckInCancellationHandler * handler);
/xnu-11215/bsd/skywalk/core/
H A Dskywalk_sysctl.c48 const char *name, int (*handler)SYSCTL_HANDLER_ARGS, const char *fmt) in _skoid_oid_init()
71 oid->oid_handler = handler; in _skoid_oid_init()
96 const char *fmt, void *arg1, int arg2, int (*handler)SYSCTL_HANDLER_ARGS) in _skoid_add_property()
102 arg1, arg2, name, handler, fmt); in _skoid_add_property()
/xnu-11215/tests/
H A Dsigchld_return.c17 handler(int sig, siginfo_t *sip, __unused void *uconp) in handler() function
34 act.sa_sigaction = handler;
111 act.sa_sigaction = handler;
/xnu-11215/osfmk/x86_64/
H A Dkpc_x86.c435 struct kpc_get_counters_remote *handler = args; in kpc_get_curcpu_counters_mp_call() local
438 assert(handler); in kpc_get_curcpu_counters_mp_call()
439 assert(handler->buf); in kpc_get_curcpu_counters_mp_call()
441 offset = cpu_number() * handler->buf_stride; in kpc_get_curcpu_counters_mp_call()
442 r = kpc_get_curcpu_counters(handler->classes, NULL, &handler->buf[offset]); in kpc_get_curcpu_counters_mp_call()
445 os_atomic_add(&(handler->nb_counters), r, relaxed); in kpc_get_curcpu_counters_mp_call()
/xnu-11215/iokit/Exclaves/
H A DExclaves.cpp1207 …veRegisterANEUpcallSetPowerState(IOExclaveProxyState * pRef, ANEUpcallSetPowerStateHandler handler) in exclaveRegisterANEUpcallSetPowerState() argument
1212 #pragma unused(pRef, handler) in exclaveRegisterANEUpcallSetPowerState()
1218 …rvice::exclaveRegisterANEUpcallWorkSubmit(IOExclaveProxyState * pRef, ANEUpcallWorkHandler handler) in exclaveRegisterANEUpcallWorkSubmit() argument
1221 …gisterANEUpcallHelper(pRef, kIOExclaveANEUpcallTypeWorkSubmit, getWorkLoop(), Block_copy(handler)); in exclaveRegisterANEUpcallWorkSubmit()
1223 #pragma unused(pRef, handler) in exclaveRegisterANEUpcallWorkSubmit()
1229 …ervice::exclaveRegisterANEUpcallWorkBegin(IOExclaveProxyState * pRef, ANEUpcallWorkHandler handler) in exclaveRegisterANEUpcallWorkBegin() argument
1232 …egisterANEUpcallHelper(pRef, kIOExclaveANEUpcallTypeWorkBegin, getWorkLoop(), Block_copy(handler)); in exclaveRegisterANEUpcallWorkBegin()
1234 #pragma unused(pRef, handler) in exclaveRegisterANEUpcallWorkBegin()
1240 IOService::exclaveRegisterANEUpcallWorkEnd(IOExclaveProxyState * pRef, ANEUpcallWorkHandler handler) in exclaveRegisterANEUpcallWorkEnd() argument
1243 …eRegisterANEUpcallHelper(pRef, kIOExclaveANEUpcallTypeWorkEnd, getWorkLoop(), Block_copy(handler)); in exclaveRegisterANEUpcallWorkEnd()
[all …]
/xnu-11215/osfmk/kern/
H A Dkpc_common.c783 kpc_register_pm_handler(kpc_pm_handler_t handler) in kpc_register_pm_handler() argument
785 return kpc_reserve_pm_counters(0x38, handler, TRUE); in kpc_register_pm_handler()
789 kpc_reserve_pm_counters(uint64_t pmc_mask, kpc_pm_handler_t handler, in kpc_reserve_pm_counters() argument
796 assert(handler != NULL); in kpc_reserve_pm_counters()
806 kpc_pm_handler = handler; in kpc_reserve_pm_counters()
902 kpc_register_pm_handler(kpc_pm_handler_t __unused handler) in kpc_register_pm_handler() argument
910 kpc_pm_handler_t __unused handler, in kpc_reserve_pm_counters() argument
H A Dstartup.h635 #define EVENT_REGISTER_HANDLER(name, handler) \ argument
636 __EVENT_REGISTER(name, __LINE__, handler)
831 #define __EVENT_REGISTER(name, lno, handler) \
834 .evt_cb = (handler), \
H A Dexclaves_upcalls_stashtask.txt1 …2 upcalls. If you cannot avoid it, ensure you update the newer v2 upcall handler and exclaves_upca…
/xnu-11215/tests/workq/
H A Dworkq_sigmask.c80 handler(int signum) in handler() function
96 .sa_handler = handler,
/xnu-11215/osfmk/arm64/
H A Dkpc.c634 struct kpc_get_counters_remote *handler = args; in kpc_get_curcpu_counters_xcall() local
636 assert(handler != NULL); in kpc_get_curcpu_counters_xcall()
637 assert(handler->buf != NULL); in kpc_get_curcpu_counters_xcall()
639 int offset = cpu_number() * handler->buf_stride; in kpc_get_curcpu_counters_xcall()
640 int r = kpc_get_curcpu_counters(handler->classes, NULL, &handler->buf[offset]); in kpc_get_curcpu_counters_xcall()
643 os_atomic_add(&(handler->nb_counters), r, relaxed); in kpc_get_curcpu_counters_xcall()

123