Home
last modified time | relevance | path

Searched refs:O_EXLOCK (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-14.2/contrib/pjdfstest/tests/open/
H A D18.t18 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_EXLOCK : open ${n0} O_RDONLY,O_EXLOCK,O_NONBLOCK
19 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_SHLOCK : open ${n0} O_RDONLY,O_EXLOCK,O_NONBLOCK
20 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_EXLOCK : open ${n0} O_RDONLY,O_SHLOCK,O_NONBLOCK
/freebsd-14.2/lib/libc/db/db/
H A Ddb.c49 #ifndef O_EXLOCK
50 #define O_EXLOCK 0 macro
62 (O_CREAT | O_EXCL | O_EXLOCK | O_NOFOLLOW | O_NONBLOCK | \ in dbopen()
/freebsd-14.2/contrib/openbsm/compat/
H A Dflopen.h44 #ifdef O_EXLOCK in flopen()
45 flags &= ~O_EXLOCK; in flopen()
/freebsd-14.2/lib/libutil/
H A Dflopen.c55 #ifdef O_EXLOCK in vflopenat()
56 flags &= ~O_EXLOCK; in vflopenat()
/freebsd-14.2/tools/test/stress2/misc/
H A Dadvlock.sh144 if ((fd = open(cmdline[0], O_WRONLY | O_EXLOCK)) == -1) {
188 if ((fd = open(cmdline[0], O_RDONLY | O_EXLOCK)) == -1)
H A Dfifo.sh81 (void)open("fifo", O_RDWR | O_SHLOCK | O_EXLOCK);
H A Dpts2.sh75 if ((fd2 = open(sl, O_RDONLY | O_EXLOCK)) == -1)
H A Dopenlock.sh81 fd = open(argv[i], O_RDONLY | O_EXLOCK);
H A Dexlock.sh80 if ((fd = open(file, O_RDWR | O_CREAT | O_APPEND | O_EXLOCK,
H A Dflock_open_close.sh106 fd = open(binary, O_RDWR | O_EXLOCK);
H A Dexlock2.sh94 if ((fd = open(file, O_RDWR|O_CREAT|O_EXCL|O_EXLOCK,
/freebsd-14.2/usr.bin/lockf/
H A Dlockf.c278 } else if ((fd = open(subj->subj_name, O_EXLOCK|flags, 0666)) == -1) { in acquire_lock()
347 if ((fd = open(name, O_RDONLY|O_EXLOCK, 0666)) == -1) { in wait_for_lock()
/freebsd-14.2/libexec/ypxfr/
H A Dyp_dbwrite.c68 #define FLAGS O_RDWR|O_EXLOCK|O_EXCL|O_CREAT in yp_open_db_rw()
/freebsd-14.2/contrib/dma/
H A Dutil.c311 #ifndef O_EXLOCK in open_locked()
325 return(open(fname, flags|O_EXLOCK, mode)); in open_locked()
/freebsd-14.2/lib/libc/gen/
H A Dsem_new.c180 O_EXLOCK, mode); in _sem_open()
211 fd = _open(path, flags | O_RDWR | O_CLOEXEC | O_EXLOCK, mode); in _sem_open()
H A Dpututxline.c49 fd = _open(file, O_CREAT|O_RDWR|O_EXLOCK|O_CLOEXEC, 0644); in futx_open()
/freebsd-14.2/lib/libc/stdio/
H A Dmktemp.c126 (oflags & ~(O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC | in _gettemp()
/freebsd-14.2/lib/libc/tests/stdio/
H A Dmkostemp_test.c46 #define MISCFLAGS (O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC)
/freebsd-14.2/sys/sys/
H A Dfcntl.h95 #define O_EXLOCK 0x0020 /* open with exclusive file lock */ macro
/freebsd-14.2/contrib/blocklist/bin/
H A Dstate.c80 flags &= O_CREAT|O_EXCL|O_EXLOCK|O_NONBLOCK|O_RDONLY| in state_open()
/freebsd-14.2/usr.sbin/yp_mkdb/
H A Dyp_mkdb.c192 if ((dbp = open_db(map, O_RDWR|O_EXLOCK|O_EXCL|O_CREAT)) == NULL) in main()
/freebsd-14.2/usr.sbin/pw/
H A Dpw_conf.c421 if ((fd = open(file, O_CREAT|O_RDWR|O_TRUNC|O_EXLOCK, 0644)) == -1) in write_userconfig()
/freebsd-14.2/contrib/pjdfstest/
H A Dpjdfstest.c308 #ifdef O_EXLOCK
309 { O_EXLOCK, "O_EXLOCK" },
/freebsd-14.2/usr.sbin/lpr/lpd/
H A Dlpd.c291 lfd = open(_PATH_MASTERLOCK, O_WRONLY|O_CREAT|O_EXLOCK|O_NONBLOCK, in main()
H A Dprintjob.c205 lfd = open(pp->lock_file, O_WRONLY|O_CREAT|O_EXLOCK|O_NONBLOCK, in printjob()
2001 fd = open(pp->status_file, O_WRONLY|O_CREAT|O_EXLOCK, STAT_FILE_MODE); in pstatus()

12