Searched refs:aflock (Results 1 – 3 of 3) sorted by relevance
470 struct flock aflock; in LockRange() local471 aflock.l_start = nByteOffset; in LockRange()472 aflock.l_whence = SEEK_SET; in LockRange()473 aflock.l_len = nBytes; in LockRange()533 aflock.l_type = nLockMode; in LockRange()554 if (aflock.l_type != F_UNLCK) in LockRange()560 aflock.l_type = nLockMode; in LockRange()582 struct flock aflock; in UnlockRange() local583 aflock.l_type = F_UNLCK; in UnlockRange()585 aflock.l_whence = SEEK_SET; in UnlockRange()[all …]
926 struct flock aflock; in osl_openFile()928 aflock.l_type = F_WRLCK; in osl_openFile()929 aflock.l_whence = SEEK_SET; in osl_openFile()930 aflock.l_start = 0; in osl_openFile()931 aflock.l_len = 0; in osl_openFile()933 if (-1 == fcntl (fd, F_SETLK, &aflock)) in osl_openFile()
1466 struct flock aflock; in osl_openFile()1468 aflock.l_type = F_WRLCK; in osl_openFile()1469 aflock.l_whence = SEEK_SET; in osl_openFile()1470 aflock.l_start = 0; in osl_openFile()1471 aflock.l_len = 0; in osl_openFile()1473 if (-1 == fcntl (fd, F_SETLK, &aflock)) in osl_openFile()
Completed in 54 milliseconds