Searched refs:ip_srights (Results 1 – 15 of 15) sorted by relevance
729 assert(port->ip_srights > 0); in ipc_right_check()730 port->ip_srights--; in ipc_right_check()866 assert(port->ip_srights > 0); in ipc_right_terminate()867 if (--port->ip_srights == 0) { in ipc_right_terminate()1037 assert(port->ip_srights > 0); in ipc_right_destroy()1038 if (--port->ip_srights == 0) { in ipc_right_destroy()1206 assert(port->ip_srights > 0); in ipc_right_dealloc()1215 if (--port->ip_srights == 0) { in ipc_right_dealloc()1257 assert(port->ip_srights > 0); in ipc_right_dealloc()1260 if (--port->ip_srights == 0) { in ipc_right_dealloc()[all …]
757 assert(port->ip_srights > 0); in ipc_object_copyin_from_kernel()759 port->ip_srights++; in ipc_object_copyin_from_kernel()776 port->ip_srights++; in ipc_object_copyin_from_kernel()784 assert(ip_object_to_port(object)->ip_srights); in ipc_object_copyin_from_kernel()944 port->ip_srights++; in ipc_object_insert_send_right()1276 assert(port->ip_srights > 0); in ipc_object_copyout_dest()1277 if (--port->ip_srights == 0) { in ipc_object_copyout_dest()
631 if ((port->ip_srights == 0) && (sync <= mscount) && in ipc_port_nsrequest()773 port->ip_srights = 1; in ipc_port_init()2667 port->ip_srights++; in ipc_port_make_send_locked()2717 assert(port->ip_srights > 0); in ipc_port_copy_send_locked()2718 port->ip_srights++; in ipc_port_copy_send_locked()2834 if (port->ip_srights == 0) { in ipc_port_release_send_and_unlock()2837 port->ip_srights--; in ipc_port_release_send_and_unlock()2839 if (ip_active(port) && port->ip_srights == 0) { in ipc_port_release_send_and_unlock()
137 srights = port->ip_srights; in mach_port_get_srights()
171 mach_port_rights_t ip_srights; member
313 assert(port->ip_srights == 0); in iv_dealloc()598 assert(port->ip_srights == 0); in ivac_dealloc()
1810 statusp->mps_srights = port->ip_srights > 0; in mach_port_get_status_helper()
2615 if (reply_port->ip_srights > 1) { in ipc_kmsg_validate_reply_port_locked()
1010 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_port()1072 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_labeled_port()1109 if (port->ip_srights == 0 && sync <= port->ip_mscount) { in ipc_kobject_nsrequest_locked()1252 if ((mscount || ops->iko_op_stable) && port->ip_srights != 0) { in ipc_kobject_dealloc_port_and_unlock()1254 __func__, port, type, port->ip_srights); in ipc_kobject_dealloc_port_and_unlock()
128 assert(port->ip_srights == 0); in task_id_token_no_senders()
241 exc_port->ip_srights++; in exception_deliver()
221 assert(!port->ip_srights); in semaphore_free()
3691 if (port->ip_srights > 0) { in thread_port_with_flavor_no_senders()3733 port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
3635 assert(port->ip_srights == 0); in convert_corpse_to_port_and_nsrequest()
2468 if (port->ip_srights > 0) { in task_port_with_flavor_no_senders()2509 port->ip_srights > 0) { in task_port_with_flavor_no_senders()