Searched refs:O_SHLOCK (Results 1 - 11 of 11) sorted by relevance

/openbsd-current/regress/sys/ffs/tests/open/
H A D18.t4 desc="open returns EWOULDBLOCK when O_NONBLOCK and one of O_SHLOCK or O_EXLOCK is specified and the file is locked"
9 expect 0 open ${n0} O_RDONLY,O_SHLOCK : open ${n0} O_RDONLY,O_SHLOCK,O_NONBLOCK
11 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_SHLOCK : open ${n0} O_RDONLY,O_EXLOCK,O_NONBLOCK
12 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_EXLOCK : open ${n0} O_RDONLY,O_SHLOCK,O_NONBLOCK
/openbsd-current/regress/sys/kern/open/
H A Dopen.c32 fd = open(path, O_WRONLY | O_TRUNC | O_SHLOCK);
/openbsd-current/distrib/special/libstubs/
H A Ddb.c51 O_RDONLY | O_RDWR | O_SHLOCK | O_SYNC | O_TRUNC)
/openbsd-current/lib/libc/db/db/
H A Ddb.c51 O_ACCMODE | O_SHLOCK | O_SYNC | O_TRUNC)
/openbsd-current/sys/sys/
H A Dfcntl.h82 #define O_SHLOCK 0x0010 /* open with shared file lock */ macro
/openbsd-current/gnu/usr.bin/perl/ext/Fcntl/
H A DMakefile.PL27 O_SEQUENTIAL O_SHLOCK O_SYMLINK O_SYNC O_TEMPORARY O_TEXT
H A DFcntl.pm152 O_SHLOCK
/openbsd-current/usr.sbin/ypldap/
H A Dyp.c201 fd = open(path, O_CREAT|O_SHLOCK|O_RDWR|O_TRUNC, 0644);
204 fd = open(path, O_CREAT|O_SHLOCK|O_RDWR|O_TRUNC,
/openbsd-current/regress/sys/ffs/
H A Dfstest.c117 { O_SHLOCK, "O_SHLOCK" },
/openbsd-current/usr.sbin/ypbind/
H A Dypbind.c1014 if ((fd = open(path, O_CREAT|O_SHLOCK|O_RDWR|O_TRUNC, 0644)) == -1) {
1016 if ((fd = open(path, O_CREAT|O_SHLOCK|O_RDWR|O_TRUNC,
/openbsd-current/sys/kern/
H A Dvfs_syscalls.c1087 if (oflags & (O_EXLOCK | O_SHLOCK)) {
1123 if ((flags & O_TRUNC) && (flags & (O_EXLOCK | O_SHLOCK))) {
1151 if (flags & (O_EXLOCK | O_SHLOCK)) {
1428 if (flags & (O_EXLOCK | O_SHLOCK)) {

Completed in 117 milliseconds