Lines Matching refs:fl
287 struct flock fl;
289 fl.l_type = /* lock->l_type */ F_RDLCK;
290 fl.l_whence = lock->l_whence;
291 fl.l_start = lock->l_start;
292 fl.l_len = lock->l_len;
293 fl.l_pid = (short)0;
294 if (fcntl(file_fd, F_GETLK, &fl) < 0) {
299 if (fl.l_type != lock->l_type) {
301 str_type(lock->l_type), str_type(fl.l_type));
305 if (fl.l_whence != lock->l_whence) {
307 lock->l_whence, fl.l_whence);
311 if (fl.l_start != lock->l_start) {
314 (int64_t) lock->l_start, (int64_t) fl.l_start);
318 if (fl.l_len != lock->l_len) {
321 PRId64, (int64_t) lock->l_len, (int64_t) fl.l_len);
325 if (fl.l_pid != pid) {
327 pid, fl.l_pid);