Lines Matching refs:fl
82 struct flock fl;89 memset(&fl, 0, sizeof(fl));90 fl.l_start = pos;91 fl.l_len = sizeof(val);92 fl.l_type = F_WRLCK;93 fl.l_whence = SEEK_SET;95 while (fcntl(fd, F_SETLK, &fl) < 0) {124 fl.l_type = F_UNLCK;125 if (fcntl(fd, F_SETLK, &fl) < 0)