Searched refs:O_EXCL (Results 1 - 10 of 10) sorted by relevance
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | sema_tests.c | 116 my_sem_t = sem_open( &my_sema_name[0], (O_CREAT | O_EXCL), (S_IRUSR | S_IWUSR), 0 );
|
H A D | shared_memory_tests.c | 106 my_fd = shm_open( &my_name[0], (O_RDWR | O_CREAT | O_EXCL), S_IRWXU );
|
H A D | misc.c | 35 my_fd = open( the_pathp, (O_RDWR | O_CREAT | O_EXCL), 136 my_fd = open( my_pathp, (O_RDWR | O_CREAT | O_EXCL),
|
H A D | content_protection_test.c | 420 fd = open(filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC); 731 fd = open(filepath, O_CREAT | O_EXCL | O_CLOEXEC); 781 fd = open(filepath, O_CREAT | O_EXCL | O_CLOEXEC); 809 fd = open(filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC);
|
H A D | tests.c | 96 my_fd = syscall( SYS_open, my_pathp, (O_RDWR | O_EXCL), 0 );
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | fcntl.h | 144 #define O_EXCL 0x0800 /* error if already exists */ macro
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_vnops.c | 213 if (fmode & O_EXCL) 336 * If the file exists and the O_EXCL flag was not specified, then 396 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0 && (origcnflags & FOLLOW) != 0) 445 if (((error == EEXIST) && !(fmode & O_EXCL)) || 457 if (fmode & O_EXCL)
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | posix_sem.c | 505 if (((fmode & (O_CREAT | O_EXCL))==(O_CREAT | O_EXCL)) && incache) { 506 /* sem exists and opened O_EXCL */ 516 if (((fmode & (O_CREAT | O_EXCL))== O_CREAT) && incache) {
|
H A D | posix_shm.c | 516 if ((fmode & O_EXCL)) { 521 /* shm obj exists and opened O_EXCL */
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_vnops.c | 3512 fmode |= O_EXCL; 3530 if (fmode & O_EXCL) { 3598 if ((nfsvers == NFS_VER3) && (fmode & O_EXCL) && (error == NFSERR_NOTSUPP)) { 3599 fmode &= ~O_EXCL; 3606 } else if ((nfsvers == NFS_VER3) && (fmode & O_EXCL)) {
|
Completed in 106 milliseconds