Searched refs:LOCK_SH (Results 1 - 19 of 19) sorted by relevance
/freebsd-10.2-release/crypto/heimdal/lib/roken/ |
H A D | flock.c | 40 #define OP_MASK (LOCK_SH | LOCK_EX | LOCK_UN) 64 case LOCK_SH: 112 case LOCK_SH: /* Shared lock */
|
/freebsd-10.2-release/usr.sbin/cron/lib/ |
H A D | compat.c | 160 * LOCK_SH - get a shared lock. 162 * LOCK_NB - don't block (must be ORed with LOCK_SH or LOCK_EX). 190 case LOCK_SH: /* get a shared lock */ 195 case LOCK_SH|LOCK_NB: /* get a non-blocking shared lock */
|
/freebsd-10.2-release/contrib/apr/file_io/unix/ |
H A D | flock.c | 65 ltype = LOCK_SH;
|
/freebsd-10.2-release/usr.sbin/cron/cron/ |
H A D | externs.h | 127 # define LOCK_SH 1 macro
|
/freebsd-10.2-release/sys/sys/ |
H A D | fcntl.h | 285 #define LOCK_SH 0x01 /* shared file lock */ macro
|
/freebsd-10.2-release/sbin/dump/ |
H A D | itime.c | 96 (void) flock(fileno(df), LOCK_SH); local
|
/freebsd-10.2-release/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_printer_tbl.c | 160 if (fd < 0 || flock(fd, LOCK_SH | LOCK_NB) == 0) {
|
/freebsd-10.2-release/crypto/heimdal/lib/hdb/ |
H A D | hdb.c | 146 code = flock(fd, (operation == HDB_RLOCK ? LOCK_SH : LOCK_EX) | LOCK_NB);
|
/freebsd-10.2-release/contrib/sendmail/src/ |
H A D | mci.c | 909 LOCK_SH|LOCK_NB); 1360 "", LOCK_SH|LOCK_NB);
|
H A D | map.c | 1709 (void) lockfile(dfd, map->map_file, ".dir", LOCK_SH); 2130 if (!lockfile(fd, buf, NULL, mode == O_RDONLY ? LOCK_SH : LOCK_EX)) 2360 (void) lockfile(fd, buf, ".db", LOCK_SH);
|
H A D | queue.c | 2718 LOCK_SH|LOCK_NB);
|
/freebsd-10.2-release/usr.sbin/lpr/lpc/ |
H A D | cmds.c | 318 lockres = flock(fileno(fp), LOCK_SH|LOCK_NB); 1105 if (fd < 0 || flock(fd, LOCK_SH|LOCK_NB) == 0) {
|
/freebsd-10.2-release/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 966 locktype = LOCK_SH;
|
/freebsd-10.2-release/contrib/sendmail/include/sm/ |
H A D | conf.h | 2858 # ifndef LOCK_SH 2859 # define LOCK_SH 0x01 /* shared lock */ macro 2863 # endif /* ! LOCK_SH */
|
/freebsd-10.2-release/crypto/heimdal/lib/krb5/ |
H A D | fcache.c | 85 ret = flock(fd, exclusive ? LOCK_EX : LOCK_SH);
|
/freebsd-10.2-release/tests/sys/file/ |
H A D | flock_helper.c | 1380 if (flock(fd, LOCK_SH) < 0)
|
/freebsd-10.2-release/usr.sbin/ypbind/ |
H A D | ypbind.c | 932 flock(fd, LOCK_SH);
|
/freebsd-10.2-release/usr.sbin/rpc.lockd/ |
H A D | lockd_lock.c | 1106 (LOCK_EX | LOCK_NB) : (LOCK_SH | LOCK_NB);
|
/freebsd-10.2-release/sys/kern/ |
H A D | kern_descrip.c | 2763 else if (uap->how & LOCK_SH)
|
Completed in 438 milliseconds