Home
last modified time | relevance | path

Searched refs:F_GETLK (Results 1 – 21 of 21) sorted by relevance

/freebsd-12.1/tests/sys/file/
H A Dflock_helper.c158 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()
/freebsd-12.1/lib/libc/gen/
H A Dlockf.c69 __libc_interposing[INTERPOS_fcntl])(filedes, F_GETLK, &fl) in lockf()
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dlocks.cc218 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F()
263 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F()
309 ASSERT_NE(-1, fcntl(fd, F_GETLK, &fl)) << strerror(errno); in TEST_F()
/freebsd-12.1/sys/sys/
H A Dfcntl.h235 #define F_GETLK 11 /* get record locking information */ macro
/freebsd-12.1/sys/security/audit/
H A Dbsm_fcntl.c75 { BSM_F_GETLK, F_GETLK },
/freebsd-12.1/contrib/openbsm/libbsm/
H A Dbsm_fcntl.c70 { BSM_F_GETLK, F_GETLK },
/freebsd-12.1/sys/nfs/
H A Dnfs_lock.c298 msg.lm_getlk = ap->a_op == F_GETLK; in nfs_dolock()
/freebsd-12.1/sys/i386/ibcs2/
H A Dibcs2_fcntl.c290 error = kern_fcntl(td, uap->fd, F_GETLK, (intptr_t)&fl);
/freebsd-12.1/sys/kern/
H A Dkern_descrip.c444 newcmd = F_GETLK; in kern_fcntl_freebsd()
455 case F_GETLK: in kern_fcntl_freebsd()
478 } else if (cmd == F_GETLK) { in kern_fcntl_freebsd()
726 case F_GETLK: in kern_fcntl()
755 error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader, F_GETLK, flp, in kern_fcntl()
H A Dkern_lockf.c681 case F_GETLK: in lf_advlockasync()
/freebsd-12.1/sys/compat/linux/
H A Dlinux_file.c1369 error = kern_fcntl(td, args->fd, F_GETLK, (intptr_t)&bsd_flock); in fcntl_common()
1455 error = kern_fcntl(td, args->fd, F_GETLK, (intptr_t)&bsd_flock); in linux_fcntl64()
/freebsd-12.1/contrib/netbsd-tests/fs/vfs/
H A Dt_vnops.c821 RL(rump_sys_fcntl(fildes, F_GETLK, &l)); in fcntl_getlocks()
/freebsd-12.1/lib/libsysdecode/
H A Dflags.c1022 case F_GETLK: in sysdecode_fcntl_arg()
/freebsd-12.1/sys/nlm/
H A Dnlm_advlock.c368 case F_GETLK: in nlm_advlock_internal()
H A Dnlm_prot_impl.c1890 error = VOP_ADVLOCK(vs.vs_vp, NULL, F_GETLK, &fl, F_REMOTE); in nlm_do_test()
/freebsd-12.1/sys/fs/smbfs/
H A Dsmbfs_vnops.c1109 case F_GETLK:
/freebsd-12.1/sys/fs/fuse/
H A Dfuse_vnops.c407 case F_GETLK: in fuse_vnop_advlock()
/freebsd-12.1/sys/compat/freebsd32/
H A Dfreebsd32_misc.c3466 case F_GETLK: in freebsd32_fcntl()
/freebsd-12.1/sys/fs/nfsclient/
H A Dnfs_clrpcops.c3869 if (op == F_GETLK) { in nfsrpc_advlock()
/freebsd-12.1/crypto/heimdal/lib/sqlite/
H A Dsqlite3.c25142 if( op==F_GETLK ){
25169 osFcntl(fd, F_GETLK, &l2);
25818 if( osFcntl(pFile->h, F_GETLK, &lock) ){
29031 if( osFcntl(pNew->h, F_GETLK, &lockInfo)!=-1 ) {
29073 if( osFcntl(pNew->h, F_GETLK, &lockInfo)!=-1 ) {
/freebsd-12.1/contrib/sqlite3/
H A Dsqlite3.c34234 if( op==F_GETLK ){
34261 osFcntl(fd, F_GETLK, &l2);
34982 if( osFcntl(pFile->h, F_GETLK, &lock) ){
37908 if( osFcntl(pShmNode->hShm, F_GETLK, &lock)!=0 ) {
38911 if( osFcntl(pNew->h, F_GETLK, &lockInfo)!=-1 ) {
38951 if( osFcntl(pNew->h, F_GETLK, &lockInfo)!=-1 ) {