| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/file_write/ |
| H A D | file_write.c | 61 int oflag = 0; in main() local 176 oflag = (O_RDWR|O_CREAT); in main() 178 oflag = (O_RDWR|O_APPEND); in main() 186 oflag = oflag | O_RSYNC; in main() 190 oflag = oflag | O_SYNC; in main() 197 if ((bigfd = open(filename, oflag, 0666)) == -1) { in main()
|
| /f-stack/freebsd/kern/ |
| H A D | tty_compat.c | 317 if (oflag&TAB3) in ttcompatgetflags() 352 oflag |= TAB3; in ttcompatsetflags() 354 oflag &= ~TAB3; in ttcompatsetflags() 361 oflag |= ONLCR; in ttcompatsetflags() 364 oflag &= ~ONLCR; in ttcompatsetflags() 381 oflag &= ~OPOST; in ttcompatsetflags() 383 oflag |= OPOST; in ttcompatsetflags() 387 oflag |= OPOST; in ttcompatsetflags() 474 oflag &= ~OPOST; in ttcompatsetlflags() 476 oflag |= OPOST; in ttcompatsetlflags() [all …]
|
| H A D | uipc_syscalls.c | 137 int fd, error, oflag, fflag; in kern_socket() local 141 oflag = 0; in kern_socket() 145 oflag |= O_CLOEXEC; in kern_socket() 157 error = falloc(td, &fp, &fd, oflag); in kern_socket() 572 int fd, error, oflag, fflag; in kern_socketpair() local 576 oflag = 0; in kern_socketpair() 580 oflag |= O_CLOEXEC; in kern_socketpair() 600 error = falloc(td, &fp1, &fd, oflag); in kern_socketpair() 605 error = falloc(td, &fp2, &fd, oflag); in kern_socketpair()
|
| H A D | uipc_sem.c | 633 int oflag; member 645 if ((uap->oflag & ~(O_CREAT | O_EXCL)) != 0) in sys_ksem_open() 648 uap->oflag, 0)); in sys_ksem_open() 982 if ((uap->oflag & ~(O_CREAT | O_EXCL)) != 0) in freebsd32_ksem_open() 985 uap->oflag, 1)); in freebsd32_ksem_open()
|
| H A D | uipc_mqueue.c | 2228 u_int oflag, flag; in kern_kmq_setattr() local 2242 oflag = flag = fp->f_flag; in kern_kmq_setattr() 2245 } while (atomic_cmpset_int(&fp->f_flag, oflag, flag) == 0); in kern_kmq_setattr() 2247 oflag = fp->f_flag; in kern_kmq_setattr() 2248 oattr->mq_flags = (O_NONBLOCK & oflag); in kern_kmq_setattr()
|
| H A D | kern_sysctl.c | 2762 int error, xflag, oflag, Nflag, nflag; in db_show_oid() local 2766 oflag = flags & DB_SYSCTL_OPAQUE; in db_show_oid() 2771 (!xflag && !oflag)) in db_show_oid()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/slog/ |
| H A D | slog_replay_fs_001.ksh | 112 oflag=sync bs=1k count=8 117 oflag=sync bs=1k count=1 119 oflag=sync bs=512 count=1 141 oflag=sync bs=128k count=64 145 oflag=sync bs=128k count=8 147 oflag=sync bs=128k count=2 150 oflag=sync bs=128k count=8 152 oflag=sync bs=128k count=2 seek=2 155 oflag=sync bs=128k count=8 157 oflag=sync bs=128k count=2 seek=2 conv=notrunc [all …]
|
| H A D | slog_replay_volume.ksh | 117 log_must dd if=/dev/urandom of=$MNTPNT/latency-8k bs=8k count=1 oflag=sync 118 log_must dd if=/dev/urandom of=$MNTPNT/latency-128k bs=128k count=1 oflag=sync
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/removal/ |
| H A D | removal_nopwrite.ksh | 35 dd if=/dev/urandom of=$TESTDIR/file_8k bs=1024k count=$MEGS oflag=sync \ 38 dd if=/dev/urandom of=$TESTDIR/file_128k bs=1024k count=$MEGS oflag=sync \ 49 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed." 54 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed." 76 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed." 84 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/ |
| H A D | nopwrite_sync.ksh | 45 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS oflag=sync \ 51 oflag=sync conv=notrunc >/dev/null 2>&1 || log_fail "dd failed."
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-shmem.c | 300 struct cvmx_shmem_dscptr *cvmx_shmem_named_block_open(char *name, uint32_t size, int oflag) in cvmx_shmem_named_block_open() argument 324 if ((shmem_nblk == NULL) && (oflag & CVMX_SHMEM_O_CREAT)) in cvmx_shmem_named_block_open() 419 if (oflag & CVMX_SHMEM_O_WRONLY) in cvmx_shmem_named_block_open() 421 if (oflag & CVMX_SHMEM_O_RDWR) in cvmx_shmem_named_block_open()
|
| H A D | cvmx-shmem.h | 109 struct cvmx_shmem_dscptr *cvmx_shmem_named_block_open(char *name, uint32_t size, int oflag);
|
| /f-stack/freebsd/sys/ |
| H A D | _semaphore.h | 48 int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode,
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | gzlib.c | 101 int oflag; local 223 oflag = 246 fd == -2 ? _wopen(path, oflag, 0666) : 248 open((const char *)path, oflag, 0666));
|
| /f-stack/freebsd/contrib/zstd/zlibWrapper/ |
| H A D | gzlib.c | 101 int oflag; local 223 oflag = 246 fd == -2 ? _wopen(path, oflag, 0666) : 248 open((const char *)path, oflag, 0666));
|
| /f-stack/tools/sysctl/ |
| H A D | sysctl.c | 191 static int Nflag, nflag, oflag, qflag, tflag, Tflag, Wflag, xflag; variable 282 aflag = oflag = 1; 315 oflag = 1; 1244 if (!bflag && !oflag && !xflag) 1378 if (!oflag && !xflag) {
|
| /f-stack/tools/netstat/ |
| H A D | main.c | 228 int oflag; /* show nexthop objects*/ variable 382 oflag = 1; in main() 568 if (oflag) { in main()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
| H A D | redundancy.kshlib | 270 oflag=fdatasync
|
| /f-stack/freebsd/arm64/linux/ |
| H A D | linux_systrace_args.c | 1405 iarg[1] = p->oflag; /* l_int */ in systrace_args()
|
| H A D | linux_proto.h | 670 char oflag_l_[PADL_(l_int)]; l_int oflag; char oflag_r_[PADR_(l_int)]; member
|
| /f-stack/freebsd/arm/linux/ |
| H A D | linux_systrace_args.c | 1682 iarg[1] = p->oflag; /* int */ in systrace_args()
|
| H A D | linux_proto.h | 761 char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)]; member
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux_systrace_args.c | 1809 iarg[1] = p->oflag; /* l_int */ in systrace_args()
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux32_systrace_args.c | 1932 iarg[1] = p->oflag; /* l_int */ in systrace_args()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_systrace_args.c | 1975 iarg[1] = p->oflag; /* l_int */ in systrace_args()
|