Searched refs:lockcount (Results 1 – 1 of 1) sorted by relevance
110 static int lockcount; variable352 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()[all …]