Home
last modified time | relevance | path

Searched refs:ip_srights (Results 1 – 14 of 14) sorted by relevance

/xnu-11215.1.10/osfmk/ipc/
H A Dipc_right.c810 if (port->ip_srights == 0) { in ipc_right_terminate()
979 if (port->ip_srights == 0) { in ipc_right_destroy()
1146 assert(port->ip_srights > 0); in ipc_right_dealloc()
1156 if (port->ip_srights == 0) { in ipc_right_dealloc()
1197 assert(port->ip_srights > 0); in ipc_right_dealloc()
1201 if (port->ip_srights == 0) { in ipc_right_dealloc()
1351 assert(port->ip_srights > 0); in ipc_right_delta()
1564 assert(port->ip_srights > 0); in ipc_right_delta()
1603 if (port->ip_srights == 0) { in ipc_right_delta()
1757 assert(port->ip_srights > 0); in ipc_right_destruct()
[all …]
H A Dipc_port.h200 mach_port_rights_t ip_srights; member
251 #define ip_srights_inc(port) ip_right_delta(port, ip_srights, 1)
252 #define ip_srights_dec(port) ip_right_delta(port, ip_srights, -1)
H A Dipc_object.c739 assert(port->ip_srights > 0); in ipc_object_copyin_from_kernel()
766 assert(ip_object_to_port(object)->ip_srights); in ipc_object_copyin_from_kernel()
1266 if (port->ip_srights == 0) { in ipc_object_copyout_dest()
H A Dipc_port.c141 if (field == &port->ip_srights) { in __ipc_right_delta_overflow_panic()
657 if ((port->ip_srights == 0) && (sync <= mscount) && in ipc_port_nsrequest()
851 port->ip_srights = 1; in ipc_port_init()
2858 assert(port->ip_srights > 0); in ipc_port_copy_send_any_locked()
2983 if (ip_active(port) && port->ip_srights == 0) { in ipc_port_release_send_and_unlock()
H A Dmach_debug.c122 srights = port->ip_srights; in mach_port_get_srights()
H A Dmach_port.c1812 statusp->mps_srights = port->ip_srights > 0; in mach_port_get_status_helper()
H A Dipc_voucher.c280 assert(port->ip_srights == 0); in iv_dealloc()
H A Dipc_kmsg.c1560 if (reply_port->ip_srights > 1) { in ipc_kmsg_validate_reply_port_locked()
/xnu-11215.1.10/osfmk/kern/
H A Dipc_kobject.c1122 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_port()
1184 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_labeled_port()
1221 if (port->ip_srights == 0 && sync <= port->ip_mscount) { in ipc_kobject_nsrequest_locked()
1416 port, type, port->ip_srights); in __ipc_kobject_dealloc_bad_srights_panic()
1437 if ((mscount || ops->iko_op_stable) && port->ip_srights != 0) { in ipc_kobject_dealloc_port_and_unlock()
H A Dtask_ident.c130 assert(port->ip_srights == 0); in task_id_token_no_senders()
H A Dsync_sema.c223 assert(!port->ip_srights); in semaphore_free()
H A Dthread.c3980 if (port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
4022 port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
H A Dexclaves_resource.c776 if (port->ip_srights > 1) { in exclaves_resource_create_port_name()
H A Dtask.c2703 if (port->ip_srights > 0) { in task_port_with_flavor_no_senders()
2744 port->ip_srights > 0) { in task_port_with_flavor_no_senders()