Home
last modified time | relevance | path

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

/xnu-8796.141.3/osfmk/ipc/
H A Dipc_right.c829 if (port->ip_srights == 0) { in ipc_right_terminate()
1000 if (port->ip_srights == 0) { in ipc_right_destroy()
1168 assert(port->ip_srights > 0); in ipc_right_dealloc()
1178 if (port->ip_srights == 0) { in ipc_right_dealloc()
1220 assert(port->ip_srights > 0); in ipc_right_dealloc()
1224 if (port->ip_srights == 0) { in ipc_right_dealloc()
1374 assert(port->ip_srights > 0); in ipc_right_delta()
1588 assert(port->ip_srights > 0); in ipc_right_delta()
1627 if (port->ip_srights == 0) { in ipc_right_delta()
1782 assert(port->ip_srights > 0); in ipc_right_destruct()
[all …]
H A Dipc_port.h202 mach_port_rights_t ip_srights; member
255 #define ip_srights_inc(port) ip_right_delta(port, ip_srights, 1)
256 #define ip_srights_dec(port) ip_right_delta(port, ip_srights, -1)
H A Dipc_object.c724 assert(port->ip_srights > 0); in ipc_object_copyin_from_kernel()
751 assert(ip_object_to_port(object)->ip_srights); in ipc_object_copyin_from_kernel()
1243 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()
634 if ((port->ip_srights == 0) && (sync <= mscount) && in ipc_port_nsrequest()
799 port->ip_srights = 1; in ipc_port_init()
2796 assert(port->ip_srights > 0); in ipc_port_copy_send_any_locked()
2927 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 Dipc_voucher.c281 assert(port->ip_srights == 0); in iv_dealloc()
H A Dmach_port.c1796 statusp->mps_srights = port->ip_srights > 0; in mach_port_get_status_helper()
H A Dipc_kmsg.c3700 if (reply_port->ip_srights > 1) { in ipc_kmsg_validate_reply_port_locked()
/xnu-8796.141.3/osfmk/kern/
H A Dipc_kobject.c948 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_port()
1010 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_labeled_port()
1047 if (port->ip_srights == 0 && sync <= port->ip_mscount) { in ipc_kobject_nsrequest_locked()
1224 port, type, port->ip_srights); in __ipc_kobject_dealloc_bad_srights_panic()
1245 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.c3884 if (port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
3926 port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
H A Dipc_tt.c3764 assert(port->ip_srights == 0); in convert_corpse_to_port_and_nsrequest()
H A Dtask.c2550 if (port->ip_srights > 0) { in task_port_with_flavor_no_senders()
2591 port->ip_srights > 0) { in task_port_with_flavor_no_senders()