Searched refs:ip_srights (Results 1 – 15 of 15) sorted by relevance
833 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 …]
200 mach_port_rights_t ip_srights; member251 #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)
743 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()
141 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()
122 srights = port->ip_srights; in mach_port_get_srights()
1797 statusp->mps_srights = port->ip_srights > 0; in mach_port_get_status_helper()
280 assert(port->ip_srights == 0); in iv_dealloc()
1559 if (reply_port->ip_srights > 1) { in ipc_kmsg_validate_reply_port_locked()
1126 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()
130 assert(port->ip_srights == 0); in task_id_token_no_senders()
223 assert(!port->ip_srights); in semaphore_free()
3969 if (port->ip_srights > 0) { in thread_port_with_flavor_no_senders()4011 port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
785 if (port->ip_srights > 1) { in exclaves_resource_create_port_name()
3786 assert(port->ip_srights == 0); in convert_corpse_to_port_and_nsrequest()
2696 if (port->ip_srights > 0) { in task_port_with_flavor_no_senders()2737 port->ip_srights > 0) { in task_port_with_flavor_no_senders()