F_GETLK
(filedes, F_GETLK, &fl) == -1)
case F_GETLK:
case F_GETLK:
error = kern_fcntl(td, args->fd, F_GETLK, (intptr_t)&bsd_flock);
error = kern_fcntl(td, args->fd, F_GETLK, (intptr_t)&bsd_flock);
case F_GETLK:
if (op == F_GETLK) {
case F_GETLK:
newcmd = F_GETLK;
case F_GETLK:
} else if (cmd == F_GETLK) {
case F_GETLK:
error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader, F_GETLK, flp,
case F_GETLK:
case F_GETLK:
error = VOP_ADVLOCK(vs.vs_vp, NULL, F_GETLK, &fl, F_REMOTE);
{ BSM_F_GETLK, F_GETLK },
EXPECT_EQ(0, CHECK_FCNTL(CAP_FLOCK, caps, F_GETLK, (long)&fl));
EXPECT_OK(fcntl(fd, F_GETLK, (long)&fl));
res = fcntl(fd, F_GETLK, &fl);
if (fcntl(fd, F_GETLK, &fl1) < 0)
if (fcntl(fd, F_GETLK, &fl) < 0)
if (fcntl(fd, F_GETLK, &fl) < 0)
res = fcntl(fd, F_GETLK, &fl);
res = fcntl(fd, F_GETLK, &fl);
ATF_REQUIRE_ERRNO(EBADF, fcntl(pathfd, F_GETLK, &flk) == -1);
ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno);
ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno);
ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno);
ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno);
ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno);
ret = fcntl(scratch_file, F_GETLK, (const void *)uaddr);