Lines Matching refs:fl
103 struct flock fl;109 memset(&fl, 0, sizeof(fl));110 fl.l_start = pos;111 fl.l_len = sizeof(val);112 fl.l_type = F_WRLCK;113 fl.l_whence = SEEK_SET;115 while (fcntl(fd, F_SETLKW, &fl) < 0) {145 fl.l_type = F_UNLCK;146 if (fcntl(fd, F_SETLK, &fl) < 0)