Home
last modified time | relevance | path

Searched refs:lockcount (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libadm/common/
H A Ddevreserv.c109 static int lockcount; variable
351 if ((lockcount = getlkcnt()) > 0) { in readlocks()
354 bufsiz = lockcount * sizeof (struct devlks); in readlocks()
366 } else if (lockcount < 0) noerror = FALSE; in readlocks()
370 locklist = (lockcount > 0) ? alloc : NULL; in readlocks()
469 if (write(lkfilefd, &lockcount, sizeof (int)) == sizeof (int)) { in writelks()
553 nlocks = lockcount; in compresslks()
557 for (i = 0; i < lockcount; i++) { in compresslks()
666 while (*pp && (lkndx < lockcount)) { in putlocks()
690 lksintbl = lockcount; in putlocks()
[all …]