Lines Matching refs:local
280 winceLock local; /* Locks obtained by this instance of winFile */ member
2265 memset(&pFile->local, 0, sizeof(pFile->local)); in winceCreateLock()
2352 if (pFile->local.nReaders){ in winceDestroyLock()
2355 if (pFile->local.bReserved){ in winceDestroyLock()
2358 if (pFile->local.bPending){ in winceDestroyLock()
2361 if (pFile->local.bExclusive){ in winceDestroyLock()
2400 pFile->local.bExclusive = TRUE; in winceLockFile()
2409 pFile->local.nReaders ++; in winceLockFile()
2410 if (pFile->local.nReaders == 1){ in winceLockFile()
2423 pFile->local.bPending = TRUE; in winceLockFile()
2433 pFile->local.bReserved = TRUE; in winceLockFile()
2464 if (pFile->local.bExclusive){ in winceUnlockFile()
2466 pFile->local.bExclusive = FALSE; in winceUnlockFile()
2472 else if (pFile->local.nReaders){ in winceUnlockFile()
2475 pFile->local.nReaders --; in winceUnlockFile()
2476 if (pFile->local.nReaders == 0) in winceUnlockFile()
2487 if (pFile->local.bPending){ in winceUnlockFile()
2488 pFile->local.bPending = FALSE; in winceUnlockFile()
2496 if (pFile->local.bReserved) { in winceUnlockFile()
2497 pFile->local.bReserved = FALSE; in winceUnlockFile()