Home
last modified time | relevance | path

Searched refs:O_SHLOCK (Results 1 – 23 of 23) sorted by relevance

/netbsd/external/bsd/nvi/usr.bin/nvi/
H A Dport.h142 #ifndef O_SHLOCK
143 #define O_SHLOCK 0 macro
H A Dcompat.h140 #ifndef O_SHLOCK
141 #define O_SHLOCK 0 macro
/netbsd/sys/sys/
H A Dfcntl.h84 #define O_SHLOCK 0x00000010 /* open with shared file lock */ macro
133 #define O_MASK (O_ACCMODE|O_NONBLOCK|O_APPEND|O_SHLOCK|O_EXLOCK|\
/netbsd/tests/lib/libc/stdlib/
H A Dt_mktemp.c196 O_SHLOCK, O_EXLOCK, in ATF_TC_BODY()
231 O_SHLOCK, O_EXLOCK, in ATF_TC_BODY()
/netbsd/external/bsd/nvi/dist/dist/
H A Dport.h.in140 #ifndef O_SHLOCK
141 #define O_SHLOCK 0 macro
/netbsd/lib/libc/db/db/
H A Ddb.c66 O_RDWR | O_SHLOCK | O_TRUNC | O_CLOEXEC) in __weak_alias()
/netbsd/lib/libc/stdio/
H A Dgettemp.c66 (oflags & ~(O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC | in GETTEMP()
/netbsd/lib/libc/gen/
H A Dutmpx.c346 fd = open(file, O_WRONLY|O_APPEND|O_SHLOCK|O_CLOEXEC); in updwtmpx()
435 db = dbopen(fname, O_RDONLY|O_SHLOCK|O_CLOEXEC, 0, DB_HASH, NULL); in getlastlogx()
/netbsd/usr.sbin/ypbind/
H A Dypbind.c75 #ifndef O_SHLOCK
76 #define O_SHLOCK 0 macro
151 fd = open(path, flags|O_SHLOCK, mode); in open_locked()
155 #if O_SHLOCK == 0 in open_locked()
/netbsd/external/bsd/blocklist/bin/
H A Dstate.c81 O_RDWR|O_SHLOCK|O_TRUNC; in state_open()
/netbsd/bin/sh/
H A Dredir.c840 #ifndef O_SHLOCK
841 # define O_SHLOCK 0 macro
873 #define IGNFLAGS (O_ACCMODE|O_RDONLY|O_WRONLY|O_RDWR|O_SHLOCK|O_EXLOCK| \
/netbsd/sys/compat/ultrix/
H A Dultrix_pathname.c165 r |= ((q & 0x0080) ? O_SHLOCK : 0); in ultrix_sys_open()
/netbsd/tools/compat/
H A Dcompat_defs.h695 #ifndef O_SHLOCK
696 #define O_SHLOCK 0 macro
/netbsd/bin/dd/
H A Dargs.c461 { "shlock", O_SHLOCK, C_IFLAG|C_OFLAG },
/netbsd/usr.bin/finger/
H A Dutil.c181 lldb = dbopen(_PATH_LASTLOGX, O_RDONLY|O_SHLOCK, 0, DB_HASH, NULL); in enter_lastlog()
/netbsd/usr.sbin/lastlogin/
H A Dlastlogin.c304 DB *db = dbopen(logfile, O_RDONLY|O_SHLOCK, 0, DB_HASH, NULL); in dolastlogx()
/netbsd/crypto/external/bsd/heimdal/dist/lib/hdb/
H A Ddb.c301 flags |= O_SHLOCK; in _open_db()
/netbsd/usr.bin/db/
H A Ddb.c281 oi.dbflags = O_RDONLY | O_SHLOCK; in main()
/netbsd/sys/compat/sunos/
H A Dsunos_misc.c701 nmode |= ((smode & 0x0080) ? O_SHLOCK : 0); in sunos_sys_open()
H A Dsunos_ioctl.c1017 { SUN_SHLOCK, O_SHLOCK },
/netbsd/sys/compat/sunos32/
H A Dsunos32_ioctl.c1043 { SUN_SHLOCK, O_SHLOCK },
H A Dsunos32_misc.c931 r |= ((lf & 0x0080) ? O_SHLOCK : 0); in sunos32_sys_open()
/netbsd/sys/kern/
H A Dvfs_syscalls.c288 if (flags & (O_EXLOCK | O_SHLOCK)) { in open_setfp()