Lines Matching defs:noerr

460 	int		noerr;		/* FLAG, TRUE if all's well */
464 noerr = TRUE;
476 noerr = FALSE; /* Write of locks failed */
478 } else noerr = FALSE; /* write() of count failed */
480 else noerr = FALSE; /* Rewind failed */
483 return (noerr);
609 int noerr; /* TRUE if all's well */
615 noerr = (fcntl(lkfilefd, F_SETLK, &lkinfo) != -1);
618 return (noerr);
652 int noerr; /* TRUE if all's well */
690 noerr = writelks(lksintbl);
691 while (noerr && *pp) noerr = appendlk(key, *pp++);
700 noerr = writelks(lockcount);
704 return (noerr);
805 int noerr; /* TRUE if all's well */
811 noerr = TRUE;
851 noerr = FALSE;
857 noerr = FALSE;
862 return (noerr);
912 int noerr; /* TRUE if all's well */
918 noerr = TRUE;
931 for (ppp = rsvlst; noerr && *ppp; ppp++) {
936 for (pp = *ppp; noerr && !gotone && *pp; pp++) {
951 noerr = FALSE;
959 noerr = FALSE;
970 if (noerr && !gotone) {
971 noerr = FALSE;
985 if (noerr) {
988 if (!putlocks(aliases, key)) noerr = FALSE;
992 if (!freelkfile()) noerr = FALSE;
993 if (_closelkfile() != 0) noerr = FALSE;
995 if (!noerr)
999 } else noerr = FALSE; /* Error getting locks */
1003 } else noerr = FALSE; /* Malloc() for alias list failed */
1005 if (!noerr) {
1010 } else noerr = FALSE; /* malloc() failed */
1013 return (noerr ? rtnlist : NULL);
1039 int noerr;
1042 noerr = TRUE;
1056 if (!writelks(lockcount)) noerr = FALSE;
1058 } else noerr = FALSE; /* Couldn't unreserve the device */
1061 if (!freelkfile()) noerr = FALSE;
1062 if (_closelkfile() != 0) noerr = FALSE;
1064 } else noerr = FALSE;
1067 return (noerr? 0 : -1);
1098 int noerr; /* TRUE if all's well */
1103 noerr = TRUE;
1121 for (i = 0; noerr && (i < lockcount); i++) {
1126 } else noerr = FALSE; /* malloc() error */
1127 } else noerr = FALSE; /* malloc() error */
1137 if (noerr) *q = NULL;
1146 } else noerr = FALSE; /* Couldn't malloc() list space */
1148 } else noerr = FALSE; /* Problem reading locks */
1153 } else noerr = FALSE; /* Error locking the lock file */
1158 } else noerr = FALSE; /* Error opening the lock file */
1161 return (noerr ? rtnlist : NULL);