Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libadm/common/
H A Ddevreserv.c110 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()
[all …]