Searched refs:LOCK_NB (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-12-stable/contrib/sendmail/contrib/
H A Dmovemail.pl37 my $LOCK_NB = 4;
68 unless (flock LOCK, $LOCK_EX|$LOCK_NB) {
H A Dre-mqueue.pl111 $LOCK_NB = 4;
187 $retval = flock(QF, $LOCK_EX|$LOCK_NB) || ($retval = -1);
H A Dqtool.pl373 my $flock_status = flock(DEVNULL, Fcntl::LOCK_EX | Fcntl::LOCK_NB);
393 $result = flock(FILE_TO_LOCK, Fcntl::LOCK_EX | Fcntl::LOCK_NB);
/freebsd-12-stable/contrib/sendmail/libsmutil/
H A Dlockfile.c28 ** LOCK_NB -- non-blocking.
54 if (bitset(LOCK_NB, type))
/freebsd-12-stable/crypto/openssh/openbsd-compat/
H A Dbsd-flock.c70 rc = fcntl(fd, op & LOCK_NB ? F_SETLK : F_SETLKW, &fl);
H A Dbsd-misc.h151 # define LOCK_NB 0x04 macro
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DWindowsMMap.h44 #define LOCK_NB 4 /* don't block when locking */ macro
H A DWindowsMMap.c151 BOOL blocking = (operation & LOCK_NB) == 0;
152 int op = operation & ~LOCK_NB;
/freebsd-12-stable/crypto/heimdal/lib/roken/
H A Dflock.c54 if (operation & LOCK_NB)
103 if (operation & LOCK_NB)
/freebsd-12-stable/usr.sbin/cron/lib/
H A Dcompat.c150 * LOCK_NB - don't block (must be ORed with LOCK_SH or LOCK_EX).
183 case LOCK_SH|LOCK_NB: /* get a non-blocking shared lock */
184 case LOCK_EX|LOCK_NB: /* get a non-blocking exclusive lock */
/freebsd-12-stable/contrib/openbsm/compat/
H A Dflopen.h59 operation |= LOCK_NB;
/freebsd-12-stable/contrib/apr/file_io/unix/
H A Dflock.c69 ltype |= LOCK_NB;
/freebsd-12-stable/lib/libutil/
H A Dflopen.c68 operation |= LOCK_NB;
/freebsd-12-stable/usr.sbin/cron/cron/
H A Dexterns.h129 # define LOCK_NB 4 macro
/freebsd-12-stable/contrib/sendmail/libsmdb/
H A Dsmdb.c72 ** LOCK_NB -- non-blocking.
98 if (bitset(LOCK_NB, type))
121 if (!bitset(LOCK_NB, type) ||
142 if (!bitset(LOCK_NB, type) || save_errno != EWOULDBLOCK)
367 ** LOCK_NB -- non-blocking.
/freebsd-12-stable/sys/sys/
H A Dfcntl.h311 #define LOCK_NB 0x04 /* don't block when locking */ macro
/freebsd-12-stable/release/picobsd/tinyware/passwd/
H A Dpw_util.c132 if (flock(lockfd, LOCK_EX|LOCK_NB))
/freebsd-12-stable/contrib/dma/
H A Dutil.c297 if (flock(fd, LOCK_EX|((flags & O_NONBLOCK)? LOCK_NB: 0)) < 0) {
/freebsd-12-stable/sbin/hastd/
H A Dmetadata.c73 if (flock(res->hr_localfd, LOCK_EX | LOCK_NB) == -1) {
/freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_printer_tbl.c160 if (fd < 0 || flock(fd, LOCK_SH | LOCK_NB) == 0) {
/freebsd-12-stable/contrib/openbsm/bin/auditd/
H A Dauditd.c460 if (flock(fd, LOCK_EX | LOCK_NB) < 0) {
/freebsd-12-stable/contrib/sendmail/src/
H A Dmci.c822 fname, "", LOCK_EX|LOCK_NB))
952 LOCK_SH|LOCK_NB);
1403 "", LOCK_SH|LOCK_NB);
/freebsd-12-stable/crypto/heimdal/lib/hdb/
H A Dhdb.c146 code = flock(fd, (operation == HDB_RLOCK ? LOCK_SH : LOCK_EX) | LOCK_NB);
/freebsd-12-stable/usr.sbin/lpr/lpc/
H A Dcmds.c320 lockres = flock(fileno(fp), LOCK_SH|LOCK_NB);
1107 if (fd < 0 || flock(fd, LOCK_SH|LOCK_NB) == 0) {
/freebsd-12-stable/contrib/pf/authpf/
H A Dauthpf.c248 if (flock(fileno(pidfp), LOCK_EX|LOCK_NB) == 0)

Completed in 378 milliseconds

12