Home
last modified time | relevance | path

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

/xnu-10063.141.1/osfmk/ipc/
H A Dipc_right.c833 if (port->ip_srights == 0) { in ipc_right_terminate()
1003 if (port->ip_srights == 0) { in ipc_right_destroy()
1171 assert(port->ip_srights > 0); in ipc_right_dealloc()
1181 if (port->ip_srights == 0) { in ipc_right_dealloc()
1223 assert(port->ip_srights > 0); in ipc_right_dealloc()
1227 if (port->ip_srights == 0) { in ipc_right_dealloc()
1377 assert(port->ip_srights > 0); in ipc_right_delta()
1591 assert(port->ip_srights > 0); in ipc_right_delta()
1630 if (port->ip_srights == 0) { in ipc_right_delta()
1785 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.c743 assert(port->ip_srights > 0); in ipc_object_copyin_from_kernel()
770 assert(ip_object_to_port(object)->ip_srights); in ipc_object_copyin_from_kernel()
1270 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.c1797 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.c1559 if (reply_port->ip_srights > 1) { in ipc_kmsg_validate_reply_port_locked()
/xnu-10063.141.1/osfmk/kern/
H A Dipc_kobject.c1126 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_port()
1188 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_labeled_port()
1225 if (port->ip_srights == 0 && sync <= port->ip_mscount) { in ipc_kobject_nsrequest_locked()
1420 port, type, port->ip_srights); in __ipc_kobject_dealloc_bad_srights_panic()
1441 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.c3969 if (port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
4011 port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
H A Dexclaves_resource.c785 if (port->ip_srights > 1) { in exclaves_resource_create_port_name()
H A Dipc_tt.c3786 assert(port->ip_srights == 0); in convert_corpse_to_port_and_nsrequest()
H A Dtask.c2696 if (port->ip_srights > 0) { in task_port_with_flavor_no_senders()
2737 port->ip_srights > 0) { in task_port_with_flavor_no_senders()