Home
last modified time | relevance | path

Searched refs:KERN_INVALID_NAME (Results 1 – 23 of 23) sorted by relevance

/xnu-12377.81.4/tests/ipc/
H A Dport_api.c48 T_ASSERT_MACH_ERROR(kr, KERN_INVALID_NAME,
55 T_ASSERT_MACH_ERROR(kr, KERN_INVALID_NAME, "port is destroyed");
H A Dipc_read_inspect.c175 if (kr == KERN_INVALID_RIGHT || kr == KERN_INVALID_NAME) { in test_task_threads()
239 if (kr == KERN_INVALID_RIGHT || kr == KERN_INVALID_NAME) { in test_processor_set_tasks()
/xnu-12377.81.4/osfmk/ipc/
H A Dmach_port.c416 return KERN_INVALID_NAME; in mach_port_type()
825 return KERN_INVALID_NAME; in mach_port_get_refs()
911 return KERN_INVALID_NAME; in mach_port_mod_refs()
1005 uint64_t payload = (KERN_INVALID_NAME == kr) ? 0 : MPG_FLAGS_INVALID_RIGHT_RECV; in mach_port_peek()
1006 unsigned reason = (KERN_INVALID_NAME == kr) ? kGUARD_EXC_INVALID_NAME : kGUARD_EXC_INVALID_RIGHT; in mach_port_peek()
2687 return KERN_INVALID_NAME; in mach_port_destruct()
2733 return KERN_INVALID_NAME; in mach_port_guard()
2739 uint64_t payload = (KERN_INVALID_NAME == kr) ? 0 : MPG_FLAGS_INVALID_RIGHT_RECV; in mach_port_guard()
2740 unsigned reason = (KERN_INVALID_NAME == kr) ? kGUARD_EXC_INVALID_NAME : kGUARD_EXC_INVALID_RIGHT; in mach_port_guard()
2784 return KERN_INVALID_NAME; in mach_port_unguard()
[all …]
H A Dipc_right.c125 return KERN_INVALID_NAME; in ipc_right_lookup_read()
161 kr = KERN_INVALID_NAME; in ipc_right_lookup_read()
182 kr = KERN_INVALID_NAME; in ipc_right_lookup_read()
238 kr = KERN_INVALID_NAME; in ipc_right_lookup_read()
245 kr = KERN_INVALID_NAME; in ipc_right_lookup_read()
294 return KERN_INVALID_NAME; in ipc_right_lookup_write()
337 return KERN_INVALID_NAME; in ipc_right_lookup_two_write()
342 return KERN_INVALID_NAME; in ipc_right_lookup_two_write()
H A Dipc_service_port.c180 return KERN_INVALID_NAME; in ipc_service_port_derive_sblabel()
H A Dipc_object.c348 return KERN_INVALID_NAME; in ipc_object_translate_port_pset()
358 return KERN_INVALID_NAME; in ipc_object_translate_port_pset()
H A Dmach_debug.c665 return KERN_INVALID_NAME; in mach_port_special_reply_port_reset_link()
H A Dipc_eventlink.c1046 return KERN_INVALID_NAME; in port_name_to_eventlink()
/xnu-12377.81.4/osfmk/mach/
H A Dkern_return.h143 #define KERN_INVALID_NAME 15 macro
/xnu-12377.81.4/tests/
H A Dvoucher_entry_18826844.c111 T_ASSERT_MACH_ERROR(KERN_INVALID_NAME, kr, "voucher should now be invalid name");
H A Dmach_service_port.c246 if (kr == KERN_INVALID_RIGHT || kr == KERN_INVALID_NAME) {
/xnu-12377.81.4/libsyscall/mach/
H A Dmach_right.c126 case KERN_INVALID_NAME: in mach_right_send_retain()
/xnu-12377.81.4/bsd/kern/
H A Dsys_coalition.c143 case KERN_INVALID_NAME: in coalition_request_terminate_syscall()
/xnu-12377.81.4/osfmk/kern/
H A Dsync_sema.c1169 return KERN_INVALID_NAME; in port_name_to_semaphore()
H A Dwork_interval.c571 return KERN_INVALID_NAME; in port_name_to_work_interval()
H A Dbsd_kern.c1490 case KERN_INVALID_NAME: in mach_to_bsd_errno()
H A Dexclaves_resource.c843 return KERN_INVALID_NAME; in exclaves_resource_from_port_name()
H A Dcoalition.c2191 return KERN_INVALID_NAME; in coalition_request_terminate_internal()
H A Dtask.c6750 return KERN_INVALID_NAME; in task_dyld_process_info_notify_deregister()
H A Dzalloc.c10290 return KERN_INVALID_NAME; in zone_leaks()
/xnu-12377.81.4/iokit/Kernel/
H A DIOKitDebug.cpp1566 } else if (KERN_INVALID_NAME != kr) { in IOTrackingDebug()
H A DIOUserServer.cpp3182 return KERN_INVALID_NAME; in uext_server()
/xnu-12377.81.4/doc/mach_ipc/
H A Dguard_exceptions.md357 These correspond to cases leading to the `KERN_INVALID_NAME` error code of most