Home
last modified time | relevance | path

Searched refs:oflag (Results 1 – 25 of 30) sorted by relevance

12

/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/file_write/
H A Dfile_write.c61 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 Dtty_compat.c317 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 Duipc_syscalls.c137 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 Duipc_sem.c633 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 Duipc_mqueue.c2228 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 Dkern_sysctl.c2762 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 Dslog_replay_fs_001.ksh112 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 Dslog_replay_volume.ksh117 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 Dremoval_nopwrite.ksh35 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 Dnopwrite_sync.ksh45 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 Dcvmx-shmem.c300 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 Dcvmx-shmem.h109 struct cvmx_shmem_dscptr *cvmx_shmem_named_block_open(char *name, uint32_t size, int oflag);
/f-stack/freebsd/sys/
H A D_semaphore.h48 int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode,
/f-stack/freebsd/contrib/zlib/
H A Dgzlib.c101 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 Dgzlib.c101 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 Dsysctl.c191 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 Dmain.c228 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 Dredundancy.kshlib270 oflag=fdatasync
/f-stack/freebsd/arm64/linux/
H A Dlinux_systrace_args.c1405 iarg[1] = p->oflag; /* l_int */ in systrace_args()
H A Dlinux_proto.h670 char oflag_l_[PADL_(l_int)]; l_int oflag; char oflag_r_[PADR_(l_int)]; member
/f-stack/freebsd/arm/linux/
H A Dlinux_systrace_args.c1682 iarg[1] = p->oflag; /* int */ in systrace_args()
H A Dlinux_proto.h761 char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)]; member
/f-stack/freebsd/amd64/linux/
H A Dlinux_systrace_args.c1809 iarg[1] = p->oflag; /* l_int */ in systrace_args()
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_systrace_args.c1932 iarg[1] = p->oflag; /* l_int */ in systrace_args()
/f-stack/freebsd/i386/linux/
H A Dlinux_systrace_args.c1975 iarg[1] = p->oflag; /* l_int */ in systrace_args()

12