Lines Matching refs:fl
76 struct flock fl;
78 fl.l_type = (fLock & RTFILE_LOCK_WRITE) ? F_WRLCK : F_RDLCK;
79 fl.l_whence = SEEK_SET;
80 fl.l_start = (off_t)offLock;
81 fl.l_len = (off_t)cbLock;
82 fl.l_pid = 0;
85 if (fcntl(RTFileToNative(File), (fLock & RTFILE_LOCK_WAIT) ? F_SETLKW : F_SETLK, &fl) >= 0)
158 struct flock fl;
159 fl.l_type = F_UNLCK;
160 fl.l_whence = SEEK_SET;
161 fl.l_start = (off_t)offLock;
162 fl.l_len = (off_t)cbLock;
163 fl.l_pid = 0;
165 if (fcntl(RTFileToNative(File), F_SETLK, &fl) >= 0)