/netbsd-current/tools/compat/ |
H A D | flock.c | 46 #if defined(F_SETLK) && defined(F_SETLKW) 68 rc = fcntl(fd, op & LOCK_NB ? F_SETLK : F_SETLKW, &fl);
|
/netbsd-current/lib/libc/gen/ |
H A D | lockf.c | 59 cmd = F_SETLK; 67 cmd = F_SETLK;
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | flock.c | 48 #if defined(HAVE_FCNTL) && defined(F_SETLK) 57 cmd = F_SETLK; 64 code = fcntl(fd, F_SETLK, &arg);
|
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | myflock.c | 134 request = (operation & MYFLOCK_OP_NOWAIT) ? F_SETLK : F_SETLKW;
|
/netbsd-current/external/gpl2/lvm2/dist/lib/misc/ |
H A D | lvm-file.c | 69 if (!fcntl(*fd, F_SETLK, &lock)) 269 if (fcntl(lockfd, F_SETLK, &lock) == -1)
|
/netbsd-current/sys/kern/ |
H A D | sys_descrip.c | 259 /* Fall into F_SETLK */ 262 case F_SETLK: 274 error = (*fo_advlock)(fp, p, F_SETLK, fl, flg); 287 error = (*fo_advlock)(fp, p, F_SETLK, fl, flg); 362 case F_SETLK: 657 error = (*fo_advlock)(fp, fp, F_SETLK, &lf, F_FLOCK); 659 error = (*fo_advlock)(fp, fp, F_SETLK, &lf, F_FLOCK|F_WAIT);
|
H A D | vfs_lockf.c | 846 case F_SETLK: 873 case F_SETLK: 900 if (ap->a_op != F_SETLK) { 927 case F_SETLK:
|
/netbsd-current/external/gpl2/lvm2/dist/daemons/cmirrord/ |
H A D | clogd.c | 105 if (fcntl(fd, F_SETLK, &lock) < 0) {
|
/netbsd-current/sys/compat/linux/common/ |
H A D | linux_fcntl.h | 180 return do_fcntl_lock(fd, cmd == setlk ? F_SETLK : F_SETLKW, &bfl); \
|
/netbsd-current/tests/fs/vfs/ |
H A D | t_vnops.c | 807 RL(rump_sys_fcntl(fd, F_SETLK, &l)); 813 ATF_REQUIRE_ERRNO(EAGAIN, rump_sys_fcntl(fd2, F_SETLK, &l)); 818 RL(rump_sys_fcntl(fd, F_SETLK, &l)); 823 RL(rump_sys_fcntl(fd2, F_SETLK, &l)); 941 RL(rump_sys_fcntl(fd[i], F_SETLK, &lock[i])); 1084 ATF_TC_FSAPPLY(fcntl_lock, "check fcntl F_SETLK");
|
/netbsd-current/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_windows.h | 243 #define F_SETLK 8 /* Set record locking info (non-blocking). */ macro
|
/netbsd-current/sys/sys/ |
H A D | fcntl.h | 190 #define F_SETLK 8 /* set record locking information */ macro 191 #define F_SETLKW 9 /* F_SETLK; wait if blocked */ 210 /* record locking flags (F_GETLK, F_SETLK, F_SETLKW) */
|
/netbsd-current/sys/fs/nfs/nlm/ |
H A D | nlm_advlock.c | 229 if (op == F_SETLK || op == F_UNLCK) 294 case F_SETLK: 309 vp, F_SETLK, fl, flags & ~F_WAIT, 326 &timo, retries, vp, F_SETLK, fl, 513 error = nlm_advlock_internal(vp, NULL, F_SETLK, fl, F_REMOTE,
|
/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/io/ |
H A D | unix.c | 1497 #if defined(HAVE_FCNTL) && defined(F_SETLK) && defined(F_UNLCK) 1514 r = fcntl (fd, F_SETLK, &f); 1525 r = fcntl (fd, F_SETLK, &f); 1881 #if defined(HAVE_FCNTL) && defined(F_SETLK) && defined(F_UNLCK) 1896 r = fcntl (fd, F_SETLK, &f);
|
/netbsd-current/external/gpl3/gcc/dist/libgfortran/io/ |
H A D | unix.c | 1497 #if defined(HAVE_FCNTL) && defined(F_SETLK) && defined(F_UNLCK) 1514 r = fcntl (fd, F_SETLK, &f); 1525 r = fcntl (fd, F_SETLK, &f); 1881 #if defined(HAVE_FCNTL) && defined(F_SETLK) && defined(F_UNLCK) 1896 r = fcntl (fd, F_SETLK, &f);
|
/netbsd-current/external/bsd/am-utils/dist/conf/mtab/ |
H A D | mtab_linux.c | 237 if (fcntl(lockfile_fd, F_SETLK, &flock) == -1) {
|
/netbsd-current/external/bsd/ppp/usr.sbin/pppd/ |
H A D | tdb.c | 1157 if (tdb_brlock(&tdb, ACTIVE_LOCK, LOCK_SET, F_WRLCK, F_SETLK) == 0) { 1159 tdb_brlock(&tdb, ACTIVE_LOCK, LOCK_CLEAR, F_WRLCK, F_SETLK);
|
/netbsd-current/lib/libukfs/ |
H A D | ukfs.c | 417 if (fcntl(fd, F_SETLK, &flarg) == -1) 476 if (fcntl(devfd, F_SETLK, &flarg) == -1) {
|
/netbsd-current/libexec/ftpd/ |
H A D | conf.c | 908 if (fcntl(fd, F_SETLK, &fl) == -1) 951 (void)fcntl(fd, F_SETLK, &fl);
|
/netbsd-current/sys/compat/ultrix/ |
H A D | ultrix_misc.c | 748 case F_SETLK:
|
/netbsd-current/external/mpl/bind/dist/bin/named/ |
H A D | os.c | 860 if (fcntl(singletonfd, F_SETLK, &lock) == -1) {
|
/netbsd-current/external/bsd/nvi/dist/common/ |
H A D | exf.c | 1509 if (!fcntl(fd, F_SETLK, &arg))
|
/netbsd-current/sys/fs/nfs/client/ |
H A D | nfs_clvnops.c | 3026 ap->a_op == F_SETLK) { 3039 ap->a_op == F_SETLK); 3056 if (ap->a_op == F_SETLK) { 3096 if (error == 0 && ap->a_op == F_SETLK) {
|
/netbsd-current/sys/compat/sunos/ |
H A D | sunos_ioctl.c | 1051 case F_SETLK:
|
/netbsd-current/sys/compat/sunos32/ |
H A D | sunos32_ioctl.c | 1081 case F_SETLK:
|