Searched refs:ERESTART (Results 1 - 21 of 21) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_synch.c102 error = ERESTART;
116 if (error == EINTR || error == ERESTART)
217 error = ERESTART;
285 error = ERESTART;
299 if (error == EINTR || error == ERESTART)
H A Dsys_generic.c372 if (uio_resid(auio) != bytecnt && (error == ERESTART ||
587 if (uio_resid(auio) != bytecnt && (error == ERESTART ||
680 if (uio_resid(uio) != count && (error == ERESTART ||
717 if (uio_resid(uio) != count && (error == ERESTART ||
1269 if (error == ERESTART)
1551 if (error == ERESTART)
2530 if (error == ERESTART)
H A Duipc_syscalls.c672 if (error == ERESTART)
874 if (uio_resid(uiop) != len && (error == ERESTART ||
1167 if (uio_resid(uiop) != len && (error == ERESTART ||
2311 if (uio_resid(auio) != xfsize && (error == ERESTART ||
H A Dkpi_socket.c862 (error == ERESTART || error == EINTR || error == EWOULDBLOCK))
H A Dtty_ptmx.c165 error = ERESTART;
546 * XXX and an error code ("EAGAIN/ERESTART") or 0 as our
H A Dkern_event.c1305 if (error == ERESTART)
H A Dkern_sig.c819 /* always return EINTR rather than ERESTART... */
1289 if (error == ERESTART)
H A Dtty.c1026 * ttywait:ERESTART Upper layer must redrive the call;
1601 * ttysleep:ERESTART Upper layer must redrive the call;
2995 * ERESTART Upper layer must redrive the call;
2999 * msleep0:ERESTART Interrupted (usually a masked signal)
3004 * Sleep on chan, returning ERESTART if tty changed while we napped and
3022 return (tp->t_gen == gen ? 0 : ERESTART);
/darwin-on-arm/xnu/bsd/sys/
H A Derrno.h265 #define ERESTART (-1) /* restart syscall */ macro
/darwin-on-arm/xnu/bsd/dev/arm/
H A Dunix_syscalls.c205 if (error == ERESTART) {
285 if (error == ERESTART) {
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dsystemcalls.c218 if (__improbable(error == ERESTART)) {
396 if (__improbable(error == ERESTART)) {
509 if (error == ERESTART) {
570 if (error == ERESTART) {
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_bsm_errno.c399 #ifdef ERESTART
400 ERESTART,
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dsystrace.c200 if (rval == ERESTART) {
284 if (rval == ERESTART) {
H A Ddtrace.c13666 return (ERESTART); /* can't reacquire */
17130 /* propagate EAGAIN or ERESTART */
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_syscalls.c723 if (error == EINTR || error == ERESTART)
1174 if (error == EINTR || error == ERESTART) {
H A Dnfs_bio.c2500 if ((error == EINTR) || (error == ERESTART)) {
2545 if ((error == EINTR) || (error == ERESTART) || (!error && (bp->nb_flags & NB_NEEDCOMMIT))) {
3557 if ((error != EINTR) && (error != ERESTART)) {
3569 if ((error == EINTR) || (error == ERESTART)) {
H A Dnfs_socket.c1519 if ((error == EINTR) || (error == ERESTART))
2999 if ((error == EINTR) || (error == ERESTART))
3013 if ((error != EINTR) && (error != ERESTART) &&
3061 if (error && (error != EINTR) && (error != ERESTART))
3075 if ((error != EINTR) && (error != ERESTART) && (error != EIO) &&
5517 * - return EINTR or ERESTART if interrupted by a signal
5545 if (error != EINTR && error != ERESTART && error != EIO &&
H A Dnfs_vnops.c4778 if (error && (error != ENXIO) && (error != ETIMEDOUT) && (error != EINTR) && (error != ERESTART)) {
7314 FSDBG(323, f_offset, xsize, ERESTART, -1);
7324 FSDBG(323, f_offset, xsize, ERESTART, -1);
H A Dnfs4_vnops.c2635 (error != EINTR) && (error != ERESTART) && readtoo) {
4497 if (error && (error != EINTR) && (error != ERESTART))
8011 if (error && (error != ENXIO) && (error != ETIMEDOUT) && (error != EINTR) && (error != ERESTART)) {
/darwin-on-arm/xnu/bsd/net/
H A Dbpf.c917 if (error == EINTR || error == ERESTART) {
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_syscalls.c3029 if (error == ERESTART)

Completed in 211 milliseconds