Home
last modified time | relevance | path

Searched refs:error1 (Results 1 – 6 of 6) sorted by relevance

/xnu-11215/bsd/kern/
H A Dkern_core.c334 int error1 = 0; in coredump() local
762 error1 = vnode_close(vp, FWRITE, ctx); in coredump()
763 if (error1 != KERN_SUCCESS) { in coredump()
764 COREDUMPLOG("failed to close core file: error %d", error1); in coredump()
780 error = error1; in coredump()
H A Duipc_syscalls.c823 int error, error1, fd = uap->socket; in connectx_nocancel() local
968 error1 = copyout(&bytes_written, uap->len, sizeof(user64_size_t)); in connectx_nocancel()
970 error1 = copyout(&bytes_written, uap->len, sizeof(user32_size_t)); in connectx_nocancel()
973 if ((error1 != 0) && (error == 0)) { in connectx_nocancel()
974 error = error1; in connectx_nocancel()
979 error1 = copyout(&cid, uap->connid, sizeof(cid)); in connectx_nocancel()
981 if ((error1 != 0) && (error == 0)) { in connectx_nocancel()
982 error = error1; in connectx_nocancel()
/xnu-11215/security/
H A Dmac_base.c856 mac_error_select(int error1, int error2) in mac_error_select() argument
859 if (error1 == EDEADLK || error2 == EDEADLK) { in mac_error_select()
864 if (error1 == EINVAL || error2 == EINVAL) { in mac_error_select()
869 if (error1 == ESRCH || error2 == ESRCH) { in mac_error_select()
873 if (error1 == ENOENT || error2 == ENOENT) { in mac_error_select()
878 if (error1 == EACCES || error2 == EACCES) { in mac_error_select()
883 if (error1 == EPERM || error2 == EPERM) { in mac_error_select()
888 if (error1 != 0) { in mac_error_select()
889 return error1; in mac_error_select()
H A Dmac_internal.h202 int mac_error_select(int error1, int error2);
/xnu-11215/bsd/miscfs/fifofs/
H A Dfifo_vnops.c483 int error1, error2; in fifo_close_internal() local
543 error1 = soclose(rso); in fifo_close_internal()
546 if (error1) { in fifo_close_internal()
547 return error1; in fifo_close_internal()
/xnu-11215/bsd/net/
H A Dif_bond.c2384 int error1; in bond_add_interface() local
2386 error1 = if_siflladdr(port_ifp, &p->po_saved_addr); in bond_add_interface()
2387 if (error1 != 0) { in bond_add_interface()
2390 ifb->ifb_name, bondport_get_name(p), error1); in bond_add_interface()
2395 int error1; in bond_add_interface() local
2397 error1 = ifnet_set_promiscuous(port_ifp, 0); in bond_add_interface()
2398 if (error1 != 0) { in bond_add_interface()
2401 ifb->ifb_name, bondport_get_name(p), error1); in bond_add_interface()
2410 int error1; in bond_add_interface() local
2413 if (error1 != 0) { in bond_add_interface()
[all …]