Lines Matching refs:fl
562 struct flock fl; in acquire_lock() local
568 fl.l_type = F_WRLCK; in acquire_lock()
569 fl.l_whence = SEEK_SET; in acquire_lock()
570 fl.l_start = 0; in acquire_lock()
571 fl.l_len = 0; in acquire_lock()
583 rc = fcntl(fd_lock, F_SETLKW, &fl); in acquire_lock()
597 struct flock fl; in release_lock() local
604 fl.l_type = F_UNLCK; in release_lock()
605 fl.l_whence = SEEK_SET; in release_lock()
606 fl.l_start = 0; in release_lock()
607 fl.l_len = 0; in release_lock()
609 rc = fcntl(fd_lock, F_SETLKW, &fl); in release_lock()