Lines Matching refs:sharedLockByte
25555 int sharedLockByte = SHARED_FIRST+pInode->sharedByte;
25556 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 1);
25580 unsigned long long sharedLockByte = SHARED_FIRST+pInode->sharedByte;
25587 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 0);
29736 short sharedLockByte; /* Randomly chosen byte used as a shared lock */
30549 pFile->sharedLockByte = (short)((lk & 0x7fffffff)%(SHARED_SIZE - 1));
30550 res = LockFile(pFile->h, SHARED_FIRST+pFile->sharedLockByte, 0, 1, 0);
30570 res = UnlockFile(pFile->h, SHARED_FIRST + pFile->sharedLockByte, 0, 1, 0);
30615 pFile->h, locktype, pFile->locktype, pFile->sharedLockByte));
30768 pFile->locktype, pFile->sharedLockByte));