Home
last modified time | relevance | path

Searched refs:mscount (Results 1 – 25 of 26) sorted by relevance

12

/xnu-11215/osfmk/kern/
H A Dipc_kobject.h213 void (*iko_op_no_senders)(ipc_port_t port, mach_port_mscount_t mscount);
282 mach_port_mscount_t *mscount) __result_use_check;
370 mach_port_mscount_t mscount,
375 mach_port_mscount_t mscount,
478 mach_port_mscount_t mscount);
H A Dipc_kobject.c1028 mach_port_mscount_t mscount) in ipc_kobject_subst_once_no_senders() argument
1247 mach_port_mscount_t *mscount) in ipc_kobject_nsrequest() argument
1254 if (mscount) { in ipc_kobject_nsrequest()
1255 *mscount = port->ip_mscount; in ipc_kobject_nsrequest()
1262 } else if (mscount) { in ipc_kobject_nsrequest()
1263 *mscount = 0; in ipc_kobject_nsrequest()
1402 mach_port_mscount_t mscount, in __ipc_kobject_dealloc_bad_mscount_panic() argument
1422 mach_port_mscount_t mscount, in ipc_kobject_dealloc_port_and_unlock() argument
1434 if (mscount && port->ip_mscount != mscount) { in ipc_kobject_dealloc_port_and_unlock()
1477 mach_port_mscount_t mscount, in ipc_kobject_dealloc_port() argument
[all …]
H A Dipc_misc.c94 fileport_no_senders(ipc_port_t port, mach_port_mscount_t mscount) in fileport_no_senders() argument
98 fg = ipc_kobject_dealloc_port(port, mscount, IKOT_FILEPORT); in fileport_no_senders()
H A Daudit_sessionport.c107 audit_session_no_senders(ipc_port_t port, __unused mach_port_mscount_t mscount) in audit_session_no_senders() argument
H A Dtask_ident.c111 task_id_token_no_senders(ipc_port_t port, __unused mach_port_mscount_t mscount) in task_id_token_no_senders() argument
H A Dwork_interval.c624 work_interval_port_no_senders(ipc_port_t port, mach_port_mscount_t mscount) in work_interval_port_no_senders() argument
628 work_interval = ipc_kobject_dealloc_port(port, mscount, in work_interval_port_no_senders()
H A Dkern_cdata.c48 static void kcdata_object_no_senders(ipc_port_t port, mach_port_mscount_t mscount);
261 __unused mach_port_mscount_t mscount) in kcdata_object_no_senders() argument
H A Dsync_sema.c1262 semaphore_no_senders(ipc_port_t port, __unused mach_port_mscount_t mscount) in semaphore_no_senders() argument
H A Dexclaves_resource.c469 mach_port_mscount_t mscount);
791 __unused mach_port_mscount_t mscount) in exclaves_resource_no_senders() argument
H A Dtask.c2671 task_port_no_senders(ipc_port_t port, __unused mach_port_mscount_t mscount) in task_port_no_senders() argument
2696 mach_port_mscount_t mscount __unused) in task_port_with_flavor_no_senders()
4358 task_suspension_no_senders(ipc_port_t port, mach_port_mscount_t mscount) in task_suspension_no_senders() argument
4374 kr = ipc_kobject_nsrequest(port, mscount, NULL); in task_suspension_no_senders()
8425 task_fatal_port_no_senders(ipc_port_t port, __unused mach_port_mscount_t mscount) in task_fatal_port_no_senders() argument
/xnu-11215/osfmk/ipc/
H A Dipc_notify.c186 mach_port_mscount_t mscount, in ipc_notify_no_senders() argument
190 ipc_kobject_notify_no_senders(port, mscount); in ipc_notify_no_senders()
192 (void)mach_notify_no_senders(port, mscount); in ipc_notify_no_senders()
H A Dipc_notify.h101 mach_port_mscount_t mscount,
H A Dipc_eventlink.c75 mach_port_mscount_t mscount);
1072 ipc_eventlink_no_senders(ipc_port_t port, mach_port_mscount_t mscount) in ipc_eventlink_no_senders() argument
1096 ipc_kobject_dealloc_port(port, mscount, IKOT_EVENTLINK); in ipc_eventlink_no_senders()
H A Dipc_port.c648 mach_port_mscount_t mscount; in ipc_port_nsrequest() local
655 mscount = port->ip_mscount; in ipc_port_nsrequest()
657 if ((port->ip_srights == 0) && (sync <= mscount) && in ipc_port_nsrequest()
661 ipc_notify_no_senders(notify, mscount, /* kobject */ false); in ipc_port_nsrequest()
H A Dmach_port.c1041 mach_port_mscount_t mscount) in mach_port_set_mscount() argument
1060 port->ip_mscount = mscount; in mach_port_set_mscount()
H A Dipc_voucher.c425 ipc_voucher_no_senders(ipc_port_t port, __unused mach_port_mscount_t mscount) in ipc_voucher_no_senders() argument
/xnu-11215/osfmk/device/
H A Diokit_rpc.c73 iokit_no_senders( ipc_port_t port, mach_port_mscount_t mscount );
373 iokit_no_senders( ipc_port_t port, mach_port_mscount_t mscount ) in iokit_no_senders() argument
401 while (iokit_client_died( obj, port, type, &mscount ) != KERN_SUCCESS) { in iokit_no_senders()
405 kr = ipc_kobject_nsrequest(port, mscount + 1, &mscount); in iokit_no_senders()
/xnu-11215/osfmk/UserNotification/
H A DKUNCUserNotifications.c66 UNDReply_no_senders(ipc_port_t port, mach_port_mscount_t mscount);
199 UNDReply_no_senders(ipc_port_t port, mach_port_mscount_t mscount) in UNDReply_no_senders() argument
203 reply = ipc_kobject_dealloc_port(port, mscount, IKOT_UND_REPLY); in UNDReply_no_senders()
/xnu-11215/iokit/IOKit/
H A DIOKitServer.h142 ipc_port_t port, ipc_kobject_type_t type, mach_port_mscount_t * mscount );
/xnu-11215/libsyscall/mach/
H A Dmach_port.c197 mach_port_mscount_t mscount) in mach_port_set_mscount() argument
201 rv = _kernelrpc_mach_port_set_mscount(task, name, mscount); in mach_port_set_mscount()
/xnu-11215/osfmk/mach/
H A Dnotify.defs116 mscount : mach_port_mscount_t);
H A Dmach_port.defs243 mscount : mach_port_mscount_t);
298 * immediately if the current mscount is greater
/xnu-11215/tests/
H A Dmach_service_port.c168 do_mach_notify_no_senders(__unused mach_port_t notify, __unused mach_port_mscount_t mscount) in do_mach_notify_no_senders() argument
/xnu-11215/iokit/Kernel/
H A DIOUserClient.cpp153 mach_port_mscount_t mscount; member in IOMachPort
167 ipc_kobject_type_t type, mach_port_mscount_t * mscount );
240 machPort->mscount++; in withObjectAndType()
247 ipc_kobject_type_t type, mach_port_mscount_t * mscount ) in noMoreSendersForObject() argument
263 destroyed = (machPort->mscount <= *mscount); in noMoreSendersForObject()
265 *mscount = machPort->mscount; in noMoreSendersForObject()
714 machPort->mscount++; in iokit_port_for_object()
731 ipc_kobject_type_t type, mach_port_mscount_t * mscount ) in iokit_client_died() argument
738 if (!IOMachPort::noMoreSendersForObject( obj, type, mscount )) { in iokit_client_died()
/xnu-11215/osfmk/vm/
H A Dvm_memory_entry.c2021 mach_memory_entry_no_senders(ipc_port_t port, mach_port_mscount_t mscount) in mach_memory_entry_no_senders() argument
2025 named_entry = ipc_kobject_dealloc_port(port, mscount, IKOT_NAMED_ENTRY); in mach_memory_entry_no_senders()

12