Home
last modified time | relevance | path

Searched refs:notify (Results 1 – 25 of 44) sorted by relevance

12

/xnu-11215/osfmk/mach/
H A Dnotify.defs63 notify 64;
80 notify : mach_port_move_send_once_t;
89 notify : mach_port_move_send_once_t;
104 notify : mach_port_move_send_once_t;
112 notify : mach_port_move_send_once_t;
120 notify : mach_port_move_send_once_t
128 notify : mach_port_move_send_once_t;
H A Dmach_notify.defs29 * The mach/notify.h file is hand-crafted.
34 * until the real notify.h becomes "MIG-safe."
36 #include <mach/notify.defs>
H A Dmach_traps.h103 mach_port_name_t notify);
344 mach_port_name_t notify,
897 PAD_ARG_(mach_port_name_t, notify);
/xnu-11215/tests/
H A Dmach_service_port.c132 do_mach_notify_port_destroyed(mach_port_t notify, mach_port_t name) in do_mach_notify_port_destroyed() argument
136 T_LOG("Received a service port destroyed notification notify = 0x%x name = 0x%x", notify, name); in do_mach_notify_port_destroyed()
162 do_mach_notify_port_deleted(__unused mach_port_t notify, __unused mach_port_name_t name) in do_mach_notify_port_deleted() argument
168 do_mach_notify_no_senders(__unused mach_port_t notify, __unused mach_port_mscount_t mscount) in do_mach_notify_no_senders() argument
174 do_mach_notify_send_once(__unused mach_port_t notify) in do_mach_notify_send_once() argument
180 do_mach_notify_dead_name(__unused mach_port_t notify, __unused mach_port_name_t name) in do_mach_notify_dead_name() argument
H A Dnotifyserver.defs1 #include <mach/notify.defs>
/xnu-11215/iokit/Kernel/
H A DIOService.cpp2118 ret = (*notify->handler)( notify->target, notify->ref, in messageClient()
2245 if (!notify) { in registerInterest()
2259 return notify; in registerInterest()
2286 if (!notify) { in registerInterest()
2290 return notify; in registerInterest()
3798 ret = (*notify->handler)(notify->target, notify->ref, this, notify); in invokeNotifier()
6291 if (notify && !notify->init()) { in setNotification()
6296 if (notify) { in setNotification()
6328 return notify; in setNotification()
6415 if (notify) { in installNotification()
[all …]
H A DIOServicePM.cpp6460 IOPowerStateChangeNotification notify; in pmTellClientWithResponse() local
6503 notify.returnValue = 0; in pmTellClientWithResponse()
6504 notify.stateNumber = context->stateNumber; in pmTellClientWithResponse()
6505 notify.stateFlags = context->stateFlags; in pmTellClientWithResponse()
6512 retCode = context->us->messageClient(msgType, object, (void *) &notify, sizeof(notify)); in pmTellClientWithResponse()
6520 if (0 == notify.returnValue) { in pmTellClientWithResponse()
6532 (uint64_t) notify.returnValue, in pmTellClientWithResponse()
6880 IOPowerStateChangeNotification notify; in tellKernelClientApplier() local
6890 notify.powerRef = (void *) NULL; in tellKernelClientApplier()
6891 notify.returnValue = 0; in tellKernelClientApplier()
[all …]
H A DIOUserClient.cpp735 IOUserNotification * notify; in iokit_client_died() local
755 notify->setNotification( NULL ); in iokit_client_died()
892 userIteratorObject = notify; in setNotification()
900 if (notify == NULL) { in setNotification()
903 } else if (notify) { in setNotification()
2876 IONotifier * notify = NULL; in internal_io_service_add_notification() local
2933 if (notify) { in internal_io_service_add_notification()
2935 userNotify->setNotification( notify ); in internal_io_service_add_notification()
3171 notify = service->registerInterest( sym, in internal_io_service_add_interest_notification()
3173 if (notify) { in internal_io_service_add_interest_notification()
[all …]
H A DIOPMrootDomain.cpp5747 memset(&notify, 0, sizeof(notify));
5749 notify.returnValue = 0;
5750 notify.stateNumber = ctx->PowerState;
5751 notify.stateFlags = ctx->PowerFlags;
9353 notify->ackTimeoutCnt++;
9355 notify->ackTimeoutCnt = 0;
9367 } else if (notify) {
9374 notify->msgType = 0;
9388 if (!name && notify && notify->identifier) {
9399 if (!id && notify) {
[all …]
/xnu-11215/osfmk/ipc/
H A Dmach_kernelrpc.c427 ipc_port_t notify, previous; in _kernelrpc_mach_port_request_notification_trap() local
440 if (MACH_PORT_VALID(args->notify)) { in _kernelrpc_mach_port_request_notification_trap()
441 rv = ipc_object_copyin(task->itk_space, args->notify, args->notifyPoly, in _kernelrpc_mach_port_request_notification_trap()
442 (ipc_object_t *)&notify, 0, NULL, 0); in _kernelrpc_mach_port_request_notification_trap()
444 notify = CAST_MACH_NAME_TO_PORT(args->notify); in _kernelrpc_mach_port_request_notification_trap()
451 args->msgid, args->sync, notify, &previous); in _kernelrpc_mach_port_request_notification_trap()
453 if (IP_VALID(notify)) { in _kernelrpc_mach_port_request_notification_trap()
454 ipc_object_destroy(ip_to_object(notify), disp); in _kernelrpc_mach_port_request_notification_trap()
H A Dipc_notify.h100 ipc_port_t notify,
H A Dipc_right.h111 ipc_port_t notify,
H A Dmach_port.c1572 ipc_port_t notify, in mach_port_request_notification() argument
1581 if (notify == IP_DEAD) { in mach_port_request_notification()
1615 !mach_service_pd_request_notification_check(port, notify)) { in mach_port_request_notification()
1629 port->ip_twe->twe_pdrequest = notify; in mach_port_request_notification()
1631 port->ip_pdrequest = notify; in mach_port_request_notification()
1657 ipc_port_nsrequest(port, sync, notify, previousp); in mach_port_request_notification()
1677 kr = ipc_right_request_alloc(space, name, opts, notify, previousp); in mach_port_request_notification()
H A Dipc_right.c465 ipc_port_t notify, in ipc_right_request_alloc() argument
486 if (notify == IP_NULL && entry->ie_request == IE_REQ_NONE) { in ipc_right_request_alloc()
509 if (notify == IP_NULL) { in ipc_right_request_alloc()
528 ipc_notify_send_possible(notify, name); in ipc_right_request_alloc()
542 kr = ipc_port_request_alloc(port, name, notify, in ipc_right_request_alloc()
582 if (options && notify != IP_NULL && in ipc_right_request_alloc()
600 ipc_notify_dead_name(notify, name); in ipc_right_request_alloc()
/xnu-11215/libsyscall/mach/
H A Dmach_msg.c167 mach_port_t notify) in mach_msg() argument
170 timeout, notify, NULL, 0); in mach_msg()
197 mach_port_t notify, in mach_msg_overwrite() argument
278 priority = (mach_msg_priority_t)notify; in mach_msg_overwrite()
284 msg->msgh_remote_port = notify; in mach_msg_overwrite()
H A Derr_ipc.sub45 "(ipc/send) will notify", /* -105 */
46 "(ipc/send) notify in progress", /* -106 */
H A Derr_mach_ipc.sub51 /* 11 */ "(ipc/send) invalid notify port",
73 /* 7 */ "(ipc/rcv) invalid notify port",
H A Dnotify.defs28 #include <mach/notify.defs>
H A Dmach_port.c244 mach_port_t notify, in mach_port_request_notification() argument
251 sync, notify, notifyPoly, previous); in mach_port_request_notification()
255 sync, notify, notifyPoly, previous); in mach_port_request_notification()
/xnu-11215/osfmk/conf/
H A Dcopyright.osf20 # Software, then Licensee will (1) notify the OSF/RI regarding its
21 # distribution of the derivative work, (2) clearly notify users
/xnu-11215/bsd/vfs/
H A Dvfs_io_compression_stats.c458 int notify = 0; in vnode_iocs_record_and_free() local
487 notify = 1; in vnode_iocs_record_and_free()
498 if (notify) { in vnode_iocs_record_and_free()
/xnu-11215/osfmk/kern/
H A Dcoalition.h206 void coalition_set_notify(coalition_t coal, int notify);
/xnu-11215/bsd/netinet6/
H A Din6_pcb.c1124 void (*notify)(struct inpcb *, int)) in in6_pcbnotify()
1164 notify = in6_rtchange; in in6_pcbnotify()
1214 if (notify) { in in6_pcbnotify()
1220 (*notify)(inp, errno); in in6_pcbnotify()
H A Draw_ip6.c318 void (*notify)(struct inpcb *, int) = in6_rtchange; in rip6_ctlinput() local
329 notify = in6_rtchange; in rip6_ctlinput()
353 0, cmd, cmdarg, notify); in rip6_ctlinput()
/xnu-11215/bsd/netinet/
H A Dtcp_subr.c2438 void (*notify)(struct inpcb *, int) = tcp_notify; in tcp_ctlinput() local
2467 notify = tcp_mtudisc; in tcp_ctlinput()
2471 notify = tcp_drop_syn_sent; in tcp_ctlinput()
2540 (*notify)(inp, EHOSTDOWN); in tcp_ctlinput()
2549 (*notify)(inp, inetctlerrmap[cmd]); in tcp_ctlinput()
2560 void (*notify)(struct inpcb *, int) = tcp_notify; in tcp6_ctlinput() local
2612 notify = tcp_mtudisc; in tcp6_ctlinput()
2616 notify = tcp_drop_syn_sent; in tcp6_ctlinput()
2702 (*notify)(inp, EHOSTDOWN); in tcp6_ctlinput()
2714 (*notify)(inp, inetctlerrmap[cmd]); in tcp6_ctlinput()
[all …]

12