Home
last modified time | relevance | path

Searched refs:F_SETLKW (Results 1 – 23 of 23) sorted by relevance

/freebsd-9-stable/lib/libc/sys/
Dfcntl.c55 if (cmd == F_GETLK || cmd == F_SETLK || cmd == F_SETLKW) { in __fcntl_compat()
83 case F_SETLKW: in __fcntl_compat()
/freebsd-9-stable/tools/regression/file/flock/
Dflock.c300 res = fcntl(fd, F_SETLKW, &fl); in test3()
437 if (fcntl(fd, F_SETLKW, &fl) < 0) in test5()
457 res = fcntl(fd, F_SETLKW, &fl); in test5()
540 if (fcntl(fd, F_SETLKW, &fl) < 0) in test6()
561 res = fcntl(fd, F_SETLKW, &fl); in test6()
1019 res = fcntl(fd, F_SETLKW, &fl); in test12()
1107 res = fcntl(fd, F_SETLKW, &fl); in test13()
1200 if (fcntl(fd, F_SETLKW, &fl) < 0) { in test14()
1421 error = fcntl(tc->tc_fd, F_SETLKW, &tc->tc_fl); in test16_func()
/freebsd-9-stable/contrib/sendmail/libsmutil/
Dlockfile.c57 action = F_SETLKW;
/freebsd-9-stable/crypto/heimdal/lib/roken/
Dflock.c60 cmd = F_SETLKW; /* Blocking */ in flock()
/freebsd-9-stable/lib/libc/gen/
Dlockf.c56 cmd = F_SETLKW; in lockf()
/freebsd-9-stable/sys/compat/svr4/
Dsvr4_fcntl.c96 return F_SETLKW;
631 case F_SETLKW:
680 cmd = F_SETLKW;
/freebsd-9-stable/sys/sys/
Dfcntl.h226 #define F_SETLKW 13 /* F_SETLK; wait if blocked */ macro
/freebsd-9-stable/usr.bin/at/
Dat.c261 fcntl(lockdes, F_SETLKW, &lock); in writefile()
310 fcntl(lockdes, F_SETLKW, &lock); in writefile()
/freebsd-9-stable/bin/cat/
Dcat.c139 if (fcntl(STDOUT_FILENO, F_SETLKW, &stdout_lock) == -1) in main()
/freebsd-9-stable/contrib/sendmail/libsmdb/
Dsmdb.c101 action = F_SETLKW;
/freebsd-9-stable/crypto/heimdal/lib/krb5/
Dfcache.c80 ret = fcntl(fd, F_SETLKW, &l); in _krb5_xlock()
117 ret = fcntl(fd, F_SETLKW, &l); in _krb5_xunlock()
/freebsd-9-stable/sys/i386/ibcs2/
Dibcs2_fcntl.c311 return (kern_fcntl(td, uap->fd, F_SETLKW, (intptr_t)&fl));
/freebsd-9-stable/contrib/gcc/
Dgcov-io.c93 while (fcntl (fd, F_SETLKW, &s_flock) && errno == EINTR) in gcov_open()
DChangeLog-200029878 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
/freebsd-9-stable/contrib/sendmail/contrib/
Dmailprio273 eval 'sub F_SETLKW {9;}' unless defined &F_SETLKW; # lockwait
293 X $ret = fcntl($FH, ($lock & &LOCK_NB) ? &F_SETLK : &F_SETLKW, $flock);
/freebsd-9-stable/usr.bin/xinstall/
Dxinstall.c1315 if (fcntl(fileno(metafp), F_SETLKW, &metalog_lock) == -1) { in metadata_log()
1361 if (fcntl(fileno(metafp), F_SETLKW, &metalog_lock) == -1) in metadata_log()
/freebsd-9-stable/lib/libthr/thread/
Dthr_syscalls.c272 if (cmd == F_OSETLKW || cmd == F_SETLKW) { in __fcntl()
/freebsd-9-stable/sys/compat/linux/
Dlinux_file.c1381 return (kern_fcntl(td, args->fd, F_SETLKW, in fcntl_common()
1466 return (kern_fcntl(td, args->fd, F_SETLKW, in linux_fcntl64()
/freebsd-9-stable/sys/kern/
Dkern_descrip.c402 cmd = F_SETLKW; in sys_fcntl()
409 case F_SETLKW: in sys_fcntl()
616 case F_SETLKW: in kern_fcntl()
/freebsd-9-stable/sys/security/audit/
Daudit_bsm.c963 ar->ar_arg_cmd == F_SETLKW) { in kaudit_to_bsm()
/freebsd-9-stable/usr.bin/truss/
Dsyscalls.c327 X(F_GETOWN) X(F_SETOWN) X(F_GETLK) X(F_SETLK) X(F_SETLKW) XEND
/freebsd-9-stable/contrib/sendmail/src/
Dconf.c3566 action = F_SETLKW;
/freebsd-9-stable/contrib/gcc/doc/
Dtm.texi9578 functions, access, mkdir and file locking with fcntl / F_SETLKW@.