Searched refs:ip_srights (Results 1 – 14 of 14) sorted by relevance
693 assert(port->ip_srights > 0); in ipc_right_check()694 port->ip_srights--; in ipc_right_check()830 assert(port->ip_srights > 0); in ipc_right_terminate()831 if (--port->ip_srights == 0) { in ipc_right_terminate()1001 assert(port->ip_srights > 0); in ipc_right_destroy()1002 if (--port->ip_srights == 0) { in ipc_right_destroy()1170 assert(port->ip_srights > 0); in ipc_right_dealloc()1179 if (--port->ip_srights == 0) { in ipc_right_dealloc()1221 assert(port->ip_srights > 0); in ipc_right_dealloc()1224 if (--port->ip_srights == 0) { in ipc_right_dealloc()[all …]
725 assert(port->ip_srights > 0); in ipc_object_copyin_from_kernel()727 port->ip_srights++; in ipc_object_copyin_from_kernel()744 port->ip_srights++; in ipc_object_copyin_from_kernel()752 assert(ip_object_to_port(object)->ip_srights); in ipc_object_copyin_from_kernel()912 port->ip_srights++; in ipc_object_insert_send_right()1244 assert(port->ip_srights > 0); in ipc_object_copyout_dest()1245 if (--port->ip_srights == 0) { in ipc_object_copyout_dest()
617 if ((port->ip_srights == 0) && (sync <= mscount) && in ipc_port_nsrequest()779 port->ip_srights = 1; in ipc_port_init()2721 port->ip_srights++; in ipc_port_make_send_any_locked()2776 assert(port->ip_srights > 0); in ipc_port_copy_send_any_locked()2777 port->ip_srights++; in ipc_port_copy_send_any_locked()2912 if (port->ip_srights == 0) { in ipc_port_release_send_and_unlock()2915 port->ip_srights--; in ipc_port_release_send_and_unlock()2917 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()
202 mach_port_rights_t ip_srights; member
263 assert(port->ip_srights == 0); in iv_dealloc()
1796 statusp->mps_srights = port->ip_srights > 0; in mach_port_get_status_helper()
3613 if (reply_port->ip_srights > 1) { in ipc_kmsg_validate_reply_port_locked()
1002 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_port()1064 port->ip_srights = 0; in ipc_kobject_make_send_lazy_alloc_labeled_port()1101 if (port->ip_srights == 0 && sync <= port->ip_mscount) { in ipc_kobject_nsrequest_locked()1278 port, type, port->ip_srights); in __ipc_kobject_dealloc_bad_srights_panic()1299 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()
213 assert(!port->ip_srights); in semaphore_free()
3799 if (port->ip_srights > 0) { in thread_port_with_flavor_no_senders()3841 port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
3819 assert(port->ip_srights == 0); in convert_corpse_to_port_and_nsrequest()
2528 if (port->ip_srights > 0) { in task_port_with_flavor_no_senders()2569 port->ip_srights > 0) { in task_port_with_flavor_no_senders()