Lines Matching refs:fl1
149 struct flock fl1, fl2; in test1() local
151 memset(&fl1, 1, sizeof(fl1)); in test1()
152 fl1.l_type = F_WRLCK; in test1()
153 fl1.l_whence = SEEK_SET; in test1()
154 fl2 = fl1; in test1()
156 if (fcntl(fd, F_GETLK, &fl1) < 0) in test1()
160 FAIL(fl1.l_start != fl2.l_start); in test1()
161 FAIL(fl1.l_len != fl2.l_len); in test1()
162 FAIL(fl1.l_pid != fl2.l_pid); in test1()
163 FAIL(fl1.l_type != F_UNLCK); in test1()
164 FAIL(fl1.l_whence != fl2.l_whence); in test1()
166 FAIL(fl1.l_sysid != fl2.l_sysid); in test1()