Searched refs:O_RDWR (Results 1 - 19 of 19) sorted by relevance

/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_bsm_klib.c272 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY);
295 case O_RDWR:
299 case (O_RDWR | O_CREAT):
303 case (O_RDWR | O_CREAT | O_TRUNC):
307 case (O_RDWR | O_TRUNC):
369 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY);
392 case O_RDWR:
396 case (O_RDWR | O_CREAT):
400 case (O_RDWR | O_CREAT | O_TRUNC):
404 case (O_RDWR | O_TRUN
[all...]
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dfile_lock.c77 file = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
H A Dmsync.c125 if ((fd = open(optf, O_RDWR)) < 0) {
H A Dcascade_fcntl.c114 file = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
H A Dcascade_flock.c126 files[i] = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
H A Dcascade_lockf.c121 files[i] = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
H A Dmmap.c110 fd = open(optf, O_RDWR);
H A Dmprotect.c120 fd = open(optf, O_RDWR);
H A Dmunmap.c110 fd = open(optf, O_RDWR);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dcontent_protection_test.c420 fd = open(filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC);
485 fd = open(filepath, O_RDWR | O_CLOEXEC);
558 fd = open(filepath, O_RDWR | O_TRUNC | O_CLOEXEC);
568 fd = open(filepath, O_RDWR | O_CLOEXEC);
584 fd = open(filepath, O_RDWR | O_CLOEXEC);
649 fd = open(filepath, O_RDWR | O_CLOEXEC);
809 fd = open(filepath, O_CREAT | O_EXCL | O_RDWR | O_CLOEXEC);
H A Dshared_memory_tests.c106 my_fd = shm_open( &my_name[0], (O_RDWR | O_CREAT | O_EXCL), S_IRWXU );
H A Dmisc.c35 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 Dtests.c96 my_fd = syscall( SYS_open, my_pathp, (O_RDWR | O_EXCL), 0 );
261 my_fd = open( my_pathp, O_RDWR, 0 );
537 my_fd = open( my_pathp, (O_RDWR | O_TRUNC | O_APPEND), 0 );
682 my_fd = open( my_pathp, O_RDWR, 0 );
1218 my_fd = open( my_pathp, O_RDWR, 0 );
1953 my_fd = open( my_pathp, O_RDWR, 0 );
1984 my_fd = open( my_pathp, O_RDWR, 0 );
2338 my_fd = open( my_pathp, O_RDWR, 0 );
3632 my_fd = open( my_pathp, O_RDWR, 0 );
3801 my_fd = open( my_pathp, O_RDWR,
[all...]
H A Dmemory_tests.c195 my_fd = open( my_pathp, O_RDWR, 0 );
H A Dkqueue_tests.c178 my_fd = open( my_pathp, O_RDWR, 0 );
/darwin-on-arm/xnu/bsd/sys/
H A Dfcntl.h115 #define O_RDWR 0x0002 /* open for reading and writing */ macro
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_bw_mmap_rd.c182 if ((dfd = open(dst, O_CREAT|O_TRUNC|O_RDWR, mode)) < 0) {
/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c247 tmpfd = open((char*)args[0], O_RDWR);
312 tmpfd = open((char*)args[0], O_RDWR);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_syscalls.c3254 if ( flags & (O_RDWR | O_WRONLY)) {

Completed in 118 milliseconds