/freebsd/tests/sys/file/ |
H A D | flock_helper.c | 156 if (fcntl(fd, F_GETLK, &fl1) < 0) in test1() 368 if (fcntl(fd, F_GETLK, &fl) < 0) in test4() 865 if (fcntl(fd, F_GETLK, &fl) < 0) in test10() 914 res = fcntl(fd, F_GETLK, &fl); in test11() 945 res = fcntl(fd, F_GETLK, &fl); in test11() 1400 res = fcntl(fd, F_GETLK, &fl); in test15()
|
H A D | path_test.c | 832 ATF_REQUIRE_ERRNO(EBADF, fcntl(pathfd, F_GETLK, &flk) == -1); in ATF_TC_BODY()
|
/freebsd/lib/libc/sys/ |
H A D | lockf.c | 67 (filedes, F_GETLK, &fl) == -1) in lockf()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | locks.cc | 233 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F() 283 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F() 346 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F() 405 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F() 470 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F()
|
/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_file.c | 98 if (fcntl(fd, F_GETLK, &lock) < 0) in zed_file_is_locked()
|
/freebsd/tests/sys/kern/ |
H A D | kern_copyin.c | 67 ret = fcntl(scratch_file, F_GETLK, (const void *)uaddr); in copyin_checker2()
|
/freebsd/sys/sys/ |
H A D | fcntl.h | 254 #define F_GETLK 11 /* get record locking information */ macro
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_fcntl.c | 70 { BSM_F_GETLK, F_GETLK },
|
/freebsd/sys/security/audit/ |
H A D | bsm_fcntl.c | 72 { BSM_F_GETLK, F_GETLK },
|
/freebsd/contrib/capsicum-test/ |
H A D | fcntl.cc | 203 EXPECT_EQ(0, CHECK_FCNTL(CAP_FLOCK, caps, F_GETLK, (long)&fl)); in TEST() 240 EXPECT_OK(fcntl(fd, F_GETLK, (long)&fl)); in TEST()
|
/freebsd/contrib/sendmail/libsmutil/ |
H A D | t-lockfile.c | 214 action = F_GETLK;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/ |
H A D | rtsan_test_interceptors.cpp | 225 ASSERT_THAT(fcntl(fd, F_GETLK, &lock), Eq(0)); in TEST_F()
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 1380 error = kern_fcntl(td, args->fd, F_GETLK, (intptr_t)&bsd_flock); in fcntl_common() 1487 error = kern_fcntl(td, args->fd, F_GETLK, (intptr_t)&bsd_flock); in linux_fcntl64()
|
/freebsd/sys/kern/ |
H A D | kern_descrip.c | 443 newcmd = F_GETLK; in kern_fcntl_freebsd() 454 case F_GETLK: in kern_fcntl_freebsd() 477 } else if (cmd == F_GETLK) { in kern_fcntl_freebsd() 739 case F_GETLK: in kern_fcntl() 768 error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader, F_GETLK, flp, in kern_fcntl()
|
H A D | kern_lockf.c | 670 case F_GETLK: in lf_advlockasync()
|
/freebsd/lib/libsysdecode/ |
H A D | flags.c | 902 case F_GETLK: in sysdecode_fcntl_arg()
|
/freebsd/contrib/netbsd-tests/fs/vfs/ |
H A D | t_vnops.c | 821 RL(rump_sys_fcntl(fildes, F_GETLK, &l)); in fcntl_getlocks()
|
/freebsd/sys/nlm/ |
H A D | nlm_advlock.c | 365 case F_GETLK: in nlm_advlock_internal()
|
H A D | nlm_prot_impl.c | 1905 error = VOP_ADVLOCK(vs.vs_vp, NULL, F_GETLK, &fl, F_REMOTE); in nlm_do_test()
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_vnops.c | 984 case F_GETLK: in smbfs_advlock()
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_vnops.c | 492 case F_GETLK: in fuse_vnop_advlock()
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 3961 case F_GETLK: in freebsd32_fcntl()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clrpcops.c | 4520 if (op == F_GETLK) { in nfsrpc_advlock()
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3.c | 38563 # define F_GETLK 12 38567 # define F_GETLK 5 39189 if( op==F_GETLK ){ 39216 osFcntl(fd, F_GETLK, &l2); 39941 if( osFcntl(pFile->h, F_GETLK, &lock) ){ 42769 if( osFcntl(pShmNode->hShm, F_GETLK, &f)<0 ){ 42959 if( osFcntl(pShmNode->hShm, F_GETLK, &lock)!=0 ) { 44097 if( osFcntl(pNew->h, F_GETLK, &lockInfo)!=-1 ) { 44137 if( osFcntl(pNew->h, F_GETLK, &lockInfo)!=-1 ) {
|