| /freebsd-13.1/lib/libc/gen/ |
| H A D | lockf.c | 69 __libc_interposing[INTERPOS_fcntl])(filedes, F_GETLK, &fl) in lockf()
|
| /freebsd-13.1/tests/sys/file/ |
| H A D | flock_helper.c | 158 if (fcntl(fd, F_GETLK, &fl1) < 0) in test1() 370 if (fcntl(fd, F_GETLK, &fl) < 0) in test4() 867 if (fcntl(fd, F_GETLK, &fl) < 0) in test10() 916 res = fcntl(fd, F_GETLK, &fl); in test11() 947 res = fcntl(fd, F_GETLK, &fl); in test11() 1402 res = fcntl(fd, F_GETLK, &fl); in test15()
|
| H A D | path_test.c | 749 ATF_REQUIRE_ERRNO(EBADF, fcntl(pathfd, F_GETLK, &flk) == -1); in ATF_TC_BODY()
|
| /freebsd-13.1/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-13.1/tests/sys/kern/ |
| H A D | kern_copyin.c | 68 ret = fcntl(scratch_file, F_GETLK, (const void *)uaddr); in copyin_checker2()
|
| /freebsd-13.1/tests/sys/fs/fusefs/ |
| H A D | locks.cc | 235 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F() 285 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F() 336 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F()
|
| /freebsd-13.1/sys/sys/ |
| H A D | fcntl.h | 257 #define F_GETLK 11 /* get record locking information */ macro
|
| /freebsd-13.1/contrib/openbsm/libbsm/ |
| H A D | bsm_fcntl.c | 70 { BSM_F_GETLK, F_GETLK },
|
| /freebsd-13.1/sys/security/audit/ |
| H A D | bsm_fcntl.c | 75 { BSM_F_GETLK, F_GETLK },
|
| /freebsd-13.1/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-13.1/sys/kern/ |
| H A D | kern_descrip.c | 435 newcmd = F_GETLK; in kern_fcntl_freebsd() 446 case F_GETLK: in kern_fcntl_freebsd() 469 } else if (cmd == F_GETLK) { in kern_fcntl_freebsd() 724 case F_GETLK: in kern_fcntl() 753 error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader, F_GETLK, flp, in kern_fcntl()
|
| H A D | kern_lockf.c | 682 case F_GETLK: in lf_advlockasync()
|
| /freebsd-13.1/lib/libsysdecode/ |
| H A D | flags.c | 1053 case F_GETLK: in sysdecode_fcntl_arg()
|
| /freebsd-13.1/contrib/netbsd-tests/fs/vfs/ |
| H A D | t_vnops.c | 821 RL(rump_sys_fcntl(fildes, F_GETLK, &l)); in fcntl_getlocks()
|
| /freebsd-13.1/sys/compat/linux/ |
| H A D | linux_file.c | 1592 error = kern_fcntl(td, args->fd, F_GETLK, (intptr_t)&bsd_flock); in fcntl_common() 1684 error = kern_fcntl(td, args->fd, F_GETLK, (intptr_t)&bsd_flock); in linux_fcntl64()
|
| /freebsd-13.1/sys/nlm/ |
| H A D | nlm_advlock.c | 368 case F_GETLK: in nlm_advlock_internal()
|
| H A D | nlm_prot_impl.c | 1879 error = VOP_ADVLOCK(vs.vs_vp, NULL, F_GETLK, &fl, F_REMOTE); in nlm_do_test()
|
| /freebsd-13.1/sys/fs/smbfs/ |
| H A D | smbfs_vnops.c | 1107 case F_GETLK:
|
| /freebsd-13.1/sys/fs/fuse/ |
| H A D | fuse_vnops.c | 490 case F_GETLK: in fuse_vnop_advlock()
|
| /freebsd-13.1/sys/compat/freebsd32/ |
| H A D | freebsd32_misc.c | 3730 case F_GETLK: in freebsd32_fcntl()
|
| /freebsd-13.1/sys/fs/nfsclient/ |
| H A D | nfs_clrpcops.c | 4004 if (op == F_GETLK) { in nfsrpc_advlock()
|
| /freebsd-13.1/contrib/sqlite3/ |
| H A D | sqlite3.c | 35020 if( op==F_GETLK ){ 35047 osFcntl(fd, F_GETLK, &l2); 35768 if( osFcntl(pFile->h, F_GETLK, &lock) ){ 38585 if( osFcntl(pShmNode->hShm, F_GETLK, &f)<0 ){ 38762 if( osFcntl(pShmNode->hShm, F_GETLK, &lock)!=0 ) { 39798 if( osFcntl(pNew->h, F_GETLK, &lockInfo)!=-1 ) { 39838 if( osFcntl(pNew->h, F_GETLK, &lockInfo)!=-1 ) {
|