Lines Matching refs:noerror
259 int noerror; /* TRUE if no error yet */ in locklkfile() local
268 noerror = TRUE; in locklkfile()
271 while (noerror && !locked) { in locklkfile()
276 if (sleep(2)) noerror = FALSE; in locklkfile()
277 } else noerror = FALSE; in locklkfile()
344 int noerror; /* TRUE if all is well */ in readlocks() local
349 noerror = TRUE; in readlocks()
360 noerror = FALSE; in readlocks()
363 if (!noerror) free(alloc); in readlocks()
365 } else noerror = FALSE; /* malloc() failed */ in readlocks()
367 } else if (lockcount < 0) noerror = FALSE; in readlocks()
370 if (noerror) in readlocks()
372 return (noerror); in readlocks()
399 int noerror; /* TRUE if all's well */ in getlocks() local
403 noerror = TRUE; in getlocks()
412 if (!readlocks()) noerror = FALSE; in getlocks()
415 if (!noerror) (void) freelkfile(); in getlocks()
417 } else noerror = FALSE; /* Lock failed */ in getlocks()
420 if (!noerror) in getlocks()
423 } else noerror = FALSE; /* Open failed */ in getlocks()
426 return (noerror); in getlocks()