HomeSort by: relevance | last modified time | path
    Searched refs:O_EXCL (Results 1 - 25 of 70) sorted by relevancy

1 2 3

  /src/tests/kernel/
t_ksem.c 92 ATF_REQUIRE_EQ(_ksem_open("/ksem_x", O_CREAT | O_EXCL, 0644, 0, &ksem),
115 ATF_REQUIRE_EQ(_ksem_open("/ksem_b", O_CREAT | O_EXCL, 0644, 0, &ksem),
121 ATF_REQUIRE_EQ(_ksem_open("/ksem_b", O_CREAT | O_EXCL, 0644, 1, &ksem1),
t_lockf.c 130 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666);
225 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666);
  /src/lib/libc/stdio/
flags.c 114 o |= O_EXCL;
gettemp.c 119 if ((*doopen = open(path, O_CREAT|O_EXCL|O_RDWR|oflags,
  /src/tests/lib/librt/
t_sem.c 90 sem_b = sem_open("/sem_b", O_CREAT | O_EXCL, 0644, 0);
135 sem_a = sem_open("/sem_a", O_CREAT | O_EXCL, 0644, 0);
225 master_region = get_shared_region(O_RDWR | O_CREAT | O_EXCL);
302 sem = sem_open("/sem_c", O_CREAT | O_EXCL, 0644, 0);
326 sem = sem_open("/sem_d", O_CREAT | O_EXCL, 0777, 0);
328 sem2 = sem_open("/sem_d", O_CREAT | O_EXCL, 0777, 0);
  /src/sys/external/bsd/drm/dist/bsd-core/
drm_fops.c 65 if (flags & O_EXCL)
118 if (flags & O_EXCL)
  /src/lib/libc/db/db/
db.c 65 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
  /src/tests/fs/ffs/
h_quota2_tests.c 187 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644);
197 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644);
263 fd = rump_sys_open(buf, O_EXCL| O_CREAT | O_RDWR, 0644);
317 O_EXCL| O_CREAT | O_RDWR, 0644);
  /src/usr.bin/mail/
dotlock.c 42 * Create a unique file. O_EXCL does not really work over NFS so we follow
85 O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_SYNC|O_CLOEXEC, 0);
mime_detach.c 126 flags = (detach_ctl.overwrite ? 0 : O_EXCL) | O_CREAT | O_TRUNC | O_WRONLY;
  /src/usr.sbin/rpcbind/
warmstart.c 81 fd = open(filename, O_WRONLY|O_CREAT|O_EXCL, S_IRUSR|S_IWUSR);
  /src/common/dist/zlib/
gzlib.c 92 #ifdef O_EXCL
139 #ifdef O_EXCL
223 #ifdef O_EXCL
224 (exclusive ? O_EXCL : 0) |
  /src/usr.sbin/extattrctl/
extattrctl.c 108 flags = O_CREAT | O_WRONLY | O_TRUNC | O_EXCL;
113 flags &= ~O_EXCL;
  /src/usr.sbin/dev_mkdb/
dev_mkdb.c 76 fd = open(db_name_tmp, O_CREAT|O_EXCL|O_WRONLY, FILE_PERMISSION);
114 db_compat = dbopen(db_name_tmp, O_CREAT|O_EXCL|O_EXLOCK|O_RDWR|O_TRUNC,
  /src/sys/sys/
fcntl.h 99 #define O_EXCL 0x00000800 /* error if already exists */
138 O_ASYNC|O_SYNC|O_CREAT|O_TRUNC|O_EXCL|O_DSYNC|\
  /src/sbin/dump/
snapshot.c 122 fd = open(fss.fss_bstore, O_CREAT|O_EXCL|O_WRONLY, 0600);
  /src/tests/lib/libpthread/
t_sem.c 129 semp = sem_open("/foo", O_CREAT | O_EXCL, 0644, 0);
  /src/usr.sbin/services_mkdb/
output_db.c 74 db = dbopen(tname, O_RDWR | O_CREAT | O_EXCL,
  /src/usr.sbin/netgroup_mkdb/
netgroup_mkdb.c 164 db = dbopen(buf, O_RDWR | O_CREAT | O_EXCL,
215 db = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL);
318 xdb = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL);
431 DB *udb = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0,
  /src/libexec/mail.local/
mail.local.c 223 if((lfd = open(lpath, O_CREAT|O_WRONLY|O_EXCL,
245 (mbfd = open(path, O_APPEND|O_CREAT|O_WRONLY|O_EXLOCK|O_EXCL,
  /src/share/examples/refuse/fanoutfs/
fanoutfs.c 174 if ((fdto = open(to, O_WRONLY | O_CREAT | O_EXCL, st.st_mode & 07777)) < 0) {
436 if ((fd = open(name, O_RDWR | O_CREAT | O_EXCL, 0666)) < 0) {
  /src/dist/pf/sbin/pflogd/
privsep.c 223 fd = open(ren, O_CREAT|O_EXCL, 0);
  /src/sys/rump/kern/lib/libsys_cygwin/
rump_cygwin_compat.c 154 flags = sflags & (3 | O_APPEND | O_ASYNC | O_CREAT | O_TRUNC | O_EXCL);
  /src/tests/lib/semaphore/
sem.c 257 rv = sem_open(SEM1, O_CREAT | O_EXCL);
  /src/usr.sbin/lpr/lpd/
recvjob.c 219 fd = open(file, O_CREAT|O_EXCL|O_WRONLY, FILMOD);

Completed in 18 milliseconds

1 2 3