Searched refs:O_SHLOCK (Results 1 - 11 of 11) sorted by relevance
/openbsd-current/regress/sys/ffs/tests/open/ |
H A D | 18.t | 4 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 D | open.c | 32 fd = open(path, O_WRONLY | O_TRUNC | O_SHLOCK);
|
/openbsd-current/distrib/special/libstubs/ |
H A D | db.c | 51 O_RDONLY | O_RDWR | O_SHLOCK | O_SYNC | O_TRUNC)
|
/openbsd-current/lib/libc/db/db/ |
H A D | db.c | 51 O_ACCMODE | O_SHLOCK | O_SYNC | O_TRUNC)
|
/openbsd-current/sys/sys/ |
H A D | fcntl.h | 82 #define O_SHLOCK 0x0010 /* open with shared file lock */ macro
|
/openbsd-current/gnu/usr.bin/perl/ext/Fcntl/ |
H A D | Makefile.PL | 27 O_SEQUENTIAL O_SHLOCK O_SYMLINK O_SYNC O_TEMPORARY O_TEXT
|
H A D | Fcntl.pm | 152 O_SHLOCK
|
/openbsd-current/usr.sbin/ypldap/ |
H A D | yp.c | 201 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 D | fstest.c | 117 { O_SHLOCK, "O_SHLOCK" },
|
/openbsd-current/usr.sbin/ypbind/ |
H A D | ypbind.c | 1014 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 D | vfs_syscalls.c | 1087 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