Searched refs:lastPos (Results 1 – 1 of 1) sorted by relevance
1900 off_t lastPos; in _decrementLockCount() local1945 lastPos = lseek(a_fd, 0L, SEEK_END); /* get size of lock file */ in _decrementLockCount()1946 if (lastPos == (off_t)-1) { in _decrementLockCount()1955 lastRecord = (lastPos/pls)-1; /* convert size to record # */ in _decrementLockCount()1958 lastPos, lastRecord, pll->lockRecordNum); in _decrementLockCount()1968 lastRecord, lastPos-pls); in _decrementLockCount()1972 res = ftruncate(a_fd, lastPos-pls); in _decrementLockCount()1991 pll->lockRecordNum, lastRecord, lastPos-pls); in _decrementLockCount()2008 res = ftruncate(a_fd, lastPos-pls); in _decrementLockCount()