Home
last modified time | relevance | path

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

/xnu-8792.41.9/osfmk/ipc/
H A Dipc_right.c693 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 …]
H A Dipc_object.c725 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()
H A Dipc_port.c617 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()
H A Dmach_debug.c122 srights = port->ip_srights; in mach_port_get_srights()
H A Dipc_port.h202 mach_port_rights_t ip_srights; member
H A Dipc_voucher.c263 assert(port->ip_srights == 0); in iv_dealloc()
H A Dmach_port.c1796 statusp->mps_srights = port->ip_srights > 0; in mach_port_get_status_helper()
H A Dipc_kmsg.c3613 if (reply_port->ip_srights > 1) { in ipc_kmsg_validate_reply_port_locked()
/xnu-8792.41.9/osfmk/kern/
H A Dipc_kobject.c1002 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()
H A Dtask_ident.c130 assert(port->ip_srights == 0); in task_id_token_no_senders()
H A Dsync_sema.c213 assert(!port->ip_srights); in semaphore_free()
H A Dthread.c3799 if (port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
3841 port->ip_srights > 0) { in thread_port_with_flavor_no_senders()
H A Dipc_tt.c3819 assert(port->ip_srights == 0); in convert_corpse_to_port_and_nsrequest()
H A Dtask.c2528 if (port->ip_srights > 0) { in task_port_with_flavor_no_senders()
2569 port->ip_srights > 0) { in task_port_with_flavor_no_senders()