Searched refs:O_EXCL (Results 1 - 10 of 10) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/ |
H A D | shared_memory_tests.c | 98 my_fd = shm_open( &my_name[0], (O_RDWR | O_CREAT | O_EXCL), S_IRWXU );
|
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 | misc.c | 34 my_fd = open( the_pathp, (O_RDWR | O_CREAT | O_EXCL), 133 my_fd = open( my_pathp, (O_RDWR | O_CREAT | O_EXCL),
|
H A D | tests.c | 92 my_fd = syscall( SYS_open, my_pathp, (O_RDWR | O_EXCL), 0 );
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | fcntl.h | 139 #define O_EXCL 0x0800 /* error if already exists */ macro
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_vnops.c | 186 * If the file exists and the O_EXCL flag was not specified, then 228 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0) 255 if (fmode & O_EXCL) 303 if ((error == EEXIST) && !(fmode & O_EXCL)) { 314 if (fmode & O_EXCL) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | posix_sem.c | 442 if (((fmode & (O_CREAT | O_EXCL))==(O_CREAT | O_EXCL)) && incache) { 443 /* sem exists and opened O_EXCL */ 454 if (((fmode & (O_CREAT | O_EXCL))== O_CREAT) && incache) {
|
H A D | posix_shm.c | 460 if ((fmode & O_EXCL) && incache) { 464 /* shm obj exists and opened O_EXCL */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/union/ |
H A D | union_subr.c | 920 int fmode = FFLAGS(O_WRONLY|O_CREAT|O_TRUNC|O_EXCL); 1232 int fmode = FFLAGS(O_WRONLY|O_CREAT|O_TRUNC|O_EXCL);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_vnops.c | 2857 fmode |= O_EXCL; 2872 if (fmode & O_EXCL) { 2945 if ((nfsvers == NFS_VER3) && (fmode & O_EXCL) && (error == NFSERR_NOTSUPP)) { 2946 fmode &= ~O_EXCL; 2953 } else if ((nfsvers == NFS_VER3) && (fmode & O_EXCL)) {
|
Completed in 97 milliseconds