Searched refs:O_TRUNC (Results 1 - 16 of 16) sorted by relevance
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsm_klib.c | 272 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY); 287 case (O_RDONLY | O_CREAT | O_TRUNC): 291 case (O_RDONLY | O_TRUNC): 303 case (O_RDWR | O_CREAT | O_TRUNC): 307 case (O_RDWR | O_TRUNC): 319 case (O_WRONLY | O_CREAT | O_TRUNC): 323 case (O_WRONLY | O_TRUNC): 369 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY); 384 case (O_RDONLY | O_CREAT | O_TRUNC): 388 case (O_RDONLY | O_TRUNC) [all...] |
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | file_lock.c | 77 file = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
|
H A D | cascade_fcntl.c | 114 file = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
|
H A D | cascade_flock.c | 126 files[i] = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
|
H A D | cascade_lockf.c | 121 files[i] = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
|
/darwin-on-arm/xnu/SETUP/setsegname/ |
H A D | setsegname.c | 238 int fd = open(output_name, O_WRONLY|O_CREAT|O_TRUNC, 0755);
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | fcntl.h | 143 #define O_TRUNC 0x0400 /* truncate to zero length */ macro
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_bw_mmap_rd.c | 182 if ((dfd = open(dst, O_CREAT|O_TRUNC|O_RDWR, mode)) < 0) {
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | content_protection_test.c | 558 fd = open(filepath, O_RDWR | O_TRUNC | O_CLOEXEC);
|
H A D | tests.c | 536 /* test O_TRUNC and O_APPEND case */ 537 my_fd = open( my_pathp, (O_RDWR | O_TRUNC | O_APPEND), 0 );
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_syscalls.c | 578 if (vnode_isdir(vp) && (fmode & (FWRITE | O_TRUNC))) { 587 if (fmode & (FWRITE | O_TRUNC))
|
/darwin-on-arm/xnu/SETUP/kextsymboltool/ |
H A D | kextsymboltool.c | 699 fd = open(output_name, O_WRONLY|O_CREAT|O_TRUNC, 0755);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | posix_shm.c | 562 if (fmode & O_TRUNC) {
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_vnops.c | 333 * O_TRUNC flag will be cleared in '*fmodep' to indicate to the 615 fmode &= ~O_TRUNC;
|
H A D | vfs_subr.c | 5421 if (vnode_isdir(vp) && (fmode & (FWRITE | O_TRUNC))) { 5450 if (fmode & (FWRITE | O_TRUNC)) { 5457 if ((fmode & O_APPEND) && !(fmode & O_TRUNC)) {
|
H A D | vfs_syscalls.c | 3081 if ((flags & O_TRUNC) && ((error = vnode_setsize(vp, (off_t)0, 0, ctx)) != 0)) 8084 if (fmode & (FWRITE | O_TRUNC)) { 8091 if ((fmode & O_APPEND) && !(fmode & O_TRUNC)) {
|
Completed in 189 milliseconds