Lines Matching refs:lockcount
110 static int lockcount; variable
352 if ((lockcount = getlkcnt()) > 0) { in readlocks()
355 bufsiz = lockcount * sizeof (struct devlks); in readlocks()
367 } else if (lockcount < 0) noerror = FALSE; in readlocks()
371 locklist = (lockcount > 0) ? alloc : NULL; in readlocks()
470 if (write(lkfilefd, &lockcount, sizeof (int)) == sizeof (int)) { in writelks()
551 nlocks = lockcount; in compresslks()
555 for (i = 0; i < lockcount; i++) { in compresslks()
664 while (*pp && (lkndx < lockcount)) { in putlocks()
688 lksintbl = lockcount; in putlocks()
689 for (qq = pp; *qq; qq++) lockcount++; in putlocks()
699 lockcount = compresslks(); in putlocks()
700 noerr = writelks(lockcount); in putlocks()
751 for (i = 0; !locked && (i < lockcount); i++) { in islocked()
831 for (i = 0; !locked && (i < lockcount); i++) { in unreserv()
1055 lockcount = compresslks(); in devfree()
1056 if (!writelks(lockcount)) noerr = FALSE; in devfree()
1115 bufsiz = (lockcount+1) * sizeof (struct reservdev *); in reservdev()
1121 for (i = 0; noerr && (i < lockcount); i++) { in reservdev()