Searched refs:ip_srights (Results 1 – 15 of 15) sorted by relevance
730 assert(port->ip_srights > 0); in ipc_right_check()731 port->ip_srights--; in ipc_right_check()867 assert(port->ip_srights > 0); in ipc_right_terminate()868 if (--port->ip_srights == 0) { in ipc_right_terminate()1038 assert(port->ip_srights > 0); in ipc_right_destroy()1039 if (--port->ip_srights == 0) { in ipc_right_destroy()1207 assert(port->ip_srights > 0); in ipc_right_dealloc()1216 if (--port->ip_srights == 0) { in ipc_right_dealloc()1258 assert(port->ip_srights > 0); in ipc_right_dealloc()1261 if (--port->ip_srights == 0) { in ipc_right_dealloc()[all …]
759 assert(port->ip_srights > 0); in ipc_object_copyin_from_kernel()761 port->ip_srights++; in ipc_object_copyin_from_kernel()778 port->ip_srights++; in ipc_object_copyin_from_kernel()786 assert(ip_object_to_port(object)->ip_srights); in ipc_object_copyin_from_kernel()946 port->ip_srights++; in ipc_object_insert_send_right()1278 assert(port->ip_srights > 0); in ipc_object_copyout_dest()1279 if (--port->ip_srights == 0) { in ipc_object_copyout_dest()
609 if ((port->ip_srights == 0) && (sync <= mscount) && in ipc_port_nsrequest()753 port->ip_srights = 1; in ipc_port_init()2670 port->ip_srights++; in ipc_port_make_send_locked()2720 assert(port->ip_srights > 0); in ipc_port_copy_send_locked()2721 port->ip_srights++; in ipc_port_copy_send_locked()2837 if (port->ip_srights == 0) { in ipc_port_release_send_and_unlock()2840 port->ip_srights--; in ipc_port_release_send_and_unlock()2842 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()
183 mach_port_rights_t ip_srights; member
305 assert(port->ip_srights == 0); in iv_dealloc()590 assert(port->ip_srights == 0); in ivac_dealloc()
1776 statusp->mps_srights = port->ip_srights > 0; in mach_port_get_status_helper()
2642 if (reply_port->ip_srights > 1) { in ipc_kmsg_validate_reply_port_locked()
1009 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_port()1071 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_labeled_port()1108 if (port->ip_srights == 0 && sync <= port->ip_mscount) { in ipc_kobject_nsrequest_locked()1255 port, type, port->ip_srights); in __ipc_kobject_dealloc_bad_srights_panic()1276 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()
245 exc_port->ip_srights++; in exception_deliver()
214 assert(!port->ip_srights); in semaphore_free()
3711 if (port->ip_srights > 0) { in thread_port_with_flavor_no_senders()3753 port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
3648 assert(port->ip_srights == 0); in convert_corpse_to_port_and_nsrequest()
2467 if (port->ip_srights > 0) { in task_port_with_flavor_no_senders()2508 port->ip_srights > 0) { in task_port_with_flavor_no_senders()