Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/ucbhead/sys/
H A Dfcntl.h91 #define F_GETLK 14 /* Get file lock */ macro
97 #define F_GETLK 14 /* Get file lock */
99 #define F_GETLK 5 /* Get file lock */
/titanic_41/usr/src/lib/libast/common/features/
H A Dfcntl.c121 #ifndef F_GETLK in main()
124 if (F_GETLK > f_local) f_local = F_GETLK; in main()
180 #ifndef F_GETLK in main()
/titanic_41/usr/src/lib/libproc/common/
H A Dpr_fcntl.c64 case F_GETLK: in pr_fcntl()
98 case F_GETLK: in pr_fcntl()
/titanic_41/usr/src/lib/libnsl/common/
H A Ddaemon_utils.c78 err = fcntl(fd, F_GETLK, &lock); in _check_daemon_lock()
158 if (fcntl(fd, F_GETLK, &lock) == -1) { in _enter_daemon_lock()
/titanic_41/usr/src/uts/common/syscall/
H A Dfcntl.c281 case F_GETLK: in fcntl()
352 if ((error = VOP_FRLOCK(vp, (cmd == F_O_GETLK) ? F_GETLK : cmd, in fcntl()
360 if ((cmd == F_O_GETLK || cmd == F_GETLK) && in fcntl()
390 } else if (cmd == F_GETLK) { in fcntl()
607 cmd = F_GETLK; in fcntl()
643 if ((cmd == F_GETLK) && bf.l_type == F_UNLCK) { in fcntl()
650 if (cmd == F_GETLK) { in fcntl()
/titanic_41/usr/src/uts/common/sys/
H A Dfcntl.h156 #define F_GETLK 14 /* Get file lock */ macro
164 #define F_GETLK 33 /* Get file lock */
/titanic_41/usr/src/lib/libbc/libc/sys/sys5/
H A Dfcntl.c132 } else if (cmd == F_SETLK || cmd == F_SETLKW || cmd == F_GETLK) {
172 cmd == F_GETLK) {
/titanic_41/usr/src/lib/libbc/libc/sys/4.2/
H A Dfcntl.c137 } else if (cmd == F_SETLK || cmd == F_SETLKW || cmd == F_GETLK) {
177 cmd == F_GETLK) {
/titanic_41/usr/src/lib/libc/port/sys/
H A Dlockf.c73 rv = fcntl(fildes, F_GETLK, &l); in __lockf()
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dfcntlcom.h130 #define F_GETLK 7 /* Get record-locking information */ macro
/titanic_41/usr/src/cmd/lvm/md_monitord/
H A Dmd_monitord.c140 if (fcntl(daemon_lock_fd, F_GETLK, &lock) == -1) { in check_daemon_lock()
173 if (fcntl(daemon_lock_fd, F_GETLK, &lock) == -1) { in enter_daemon_lock()
/titanic_41/usr/src/cmd/lvm/rpc.mdcommd/
H A Dmddoors.c74 if (fcntl(daemon_lock_fd, F_GETLK, &lock) == -1) { in enter_daemon_lock()
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Drcm_main.c157 (fcntl(daemon_lock_fd, F_GETLK, &lock) == 0)) { in enter_daemon_lock()
/titanic_41/usr/src/cmd/ptools/pfiles/
H A Dpfiles.c343 ret = pr_fcntl(Pr, fd, F_GETLK, &flock_target); in getflock()
348 ret = pr_fcntl(Pr, fd, F_GETLK, flock_native); in getflock()
/titanic_41/usr/src/uts/common/fs/
H A Dfs_subr.c236 case F_GETLK: in fs_frlock()
/titanic_41/usr/src/cmd/fs.d/cachefs/common/
H A Dsubr.c379 xx = fcntl(fd, F_GETLK, &fl); in cachefs_inuse()
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c752 case F_GETLK: in fop_frlock()
/titanic_41/usr/src/uts/common/klm/
H A Dnlm_service.c374 error = nlm_vop_frlock(vp, F_GETLK, &fl, in nlm_do_test()
H A Dnlm_client.c294 case F_GETLK: in nlm_frlock()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c4444 if (cmd != F_GETLK && cmd != F_SETLK && cmd != F_SETLKW) in nfs_frlock()
4452 if (cmd != F_GETLK && !(flag & FREAD)) in nfs_frlock()
4456 if (cmd != F_GETLK && !(flag & FWRITE)) in nfs_frlock()
4519 if (cmd != F_GETLK) { in nfs_frlock()
H A Dnfs4_vnops.c10887 case F_GETLK: in nfs4_frlock()
10947 if (cmd == F_GETLK) in nfs4_frlock()
11031 if (cmd == F_GETLK || bfp->l_type != F_UNLCK) { in nfs4_frlock()
11098 if ((rc != 0) || (cmd == F_GETLK && bfp->l_type != F_UNLCK)) in nfs4_frlock()
11111 if (cmd != F_GETLK) { in nfs4_frlock()
11173 if ((rc == 0 && cmd != F_GETLK && bfp->l_type == F_UNLCK) || in nfs4_frlock()
11174 (rc != 0 && cmd != F_GETLK && bfp->l_type != F_UNLCK)) { in nfs4_frlock()
14332 ASSERT(cmd != F_GETLK); in nfs4frlock()
14371 case F_GETLK: in nfs4frlock()
14505 cmd != F_GETLK ? &lost_rqst : NULL, flk); in nfs4frlock()
H A Dnfs4_srv.c6054 case F_GETLK: op = "F_GETLK"; in lock_print()
8623 LOCK_PRINT(rfs4_debug, "setlock", F_GETLK, &flk); in setlock()
8624 if (VOP_FRLOCK(vp, F_GETLK, &flk, flag, in setlock()
8632 F_GETLK, &flk); in setlock()
9423 LOCK_PRINT(rfs4_debug, "rfs4_op_lockt", F_GETLK, &flk); in rfs4_op_lockt()
9430 error = VOP_FRLOCK(cs->vp, F_GETLK, &flk, flag, (u_offset_t)0, in rfs4_op_lockt()
H A Dnfs3_vnops.c5359 if (cmd != F_GETLK && cmd != F_SETLK && cmd != F_SETLKW) in nfs3_frlock()
5365 if (cmd != F_GETLK && !(flag & FREAD)) in nfs3_frlock()
5369 if (cmd != F_GETLK && !(flag & FWRITE)) in nfs3_frlock()
5430 if (cmd != F_GETLK) { in nfs3_frlock()
/titanic_41/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsyseventd.c1573 if (fcntl(daemon_lock_fd, F_GETLK, &lock) == -1) { in enter_daemon_lock()
/titanic_41/usr/src/lib/libpkg/common/
H A Dkeystore.c2345 if (fcntl(fd, F_GETLK, &lock) != -1) { in file_lock_test()

12