| /f-stack/freebsd/security/audit/ |
| H A D | audit_bsm_klib.c | 70 { (O_RDONLY | O_CREAT), AUE_OPEN_RC }, 71 { (O_RDONLY | O_CREAT | O_TRUNC), AUE_OPEN_RTC }, 74 { (O_RDWR | O_CREAT), AUE_OPEN_RWC }, 75 { (O_RDWR | O_CREAT | O_TRUNC), AUE_OPEN_RWTC }, 78 { (O_WRONLY | O_CREAT), AUE_OPEN_WC }, 79 { (O_WRONLY | O_CREAT | O_TRUNC), AUE_OPEN_WTC }, 85 { (O_RDONLY | O_CREAT), AUE_OPENAT_RC }, 86 { (O_RDONLY | O_CREAT | O_TRUNC), AUE_OPENAT_RTC }, 89 { (O_RDWR | O_CREAT), AUE_OPENAT_RWC }, 90 { (O_RDWR | O_CREAT | O_TRUNC), AUE_OPENAT_RWTC }, [all …]
|
| /f-stack/tools/libutil/tests/ |
| H A D | flopen_test.c | 55 fd = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_create() 75 fd = open(fn, O_RDWR|O_CREAT, 0640); in test_flopen_open() 102 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_self() 128 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_other() 160 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_child()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mmapwrite/ |
| H A D | mmapwrite.c | 64 fd = open(file_path, O_RDWR | O_CREAT, 0777); in normal_writer() 99 fd = open(file_path, O_RDWR | O_CREAT, 0777); in map_writer()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/rm_lnkcnt_zero_file/ |
| H A D | rm_lnkcnt_zero_file.c | 108 *fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644); in writer() 134 fd = open(filebase, O_APPEND | O_RDWR | O_CREAT, 0644); in main()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_file_os.c | 48 if (!(flags & O_CREAT) && (flags & O_WRONLY)) in zfs_file_open() 51 if (flags & O_CREAT) in zfs_file_open() 56 if (flags & O_CREAT) in zfs_file_open()
|
| /f-stack/freebsd/sys/ |
| H A D | fcntl.h | 104 #define O_CREAT 0x0200 /* create if nonexistent */ macro 203 #define FRDAHEAD O_CREAT
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/freebsd/sys/ |
| H A D | file.h | 32 #define FCREAT O_CREAT
|
| /f-stack/freebsd/contrib/openzfs/lib/libuutil/ |
| H A D | uu_open.c | 58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600); in uu_open_tmp()
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-app-init-linux.c | 193 fd = open (shm_name, O_RDWR | O_CREAT | O_TRUNC, 0); in setup_cvmx_shared() 205 fd = shm_open(shm_name, O_RDWR | O_CREAT | O_TRUNC, 0); in setup_cvmx_shared()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mkfiles/ |
| H A D | mkfiles.c | 54 if ((fd = open(buf, O_CREAT | O_EXCL, O_RDWR)) == -1) { in main()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/truncate/ |
| H A D | truncate_test.c | 50 fd = open(filename, O_RDWR|O_CREAT, 0666); in main()
|
| /f-stack/dpdk/lib/librte_eal/unix/ |
| H A D | eal_file.c | 33 sys_flags |= O_CREAT; in eal_file_open()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cp_files/ |
| H A D | cp_files.c | 43 int fd = openat(tfd, dirent->d_name, O_CREAT|O_WRONLY, 0666); in main()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mmap_libaio/ |
| H A D | mmap_libaio.c | 64 rwfd = open(argv[1], O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/threadsappend/ |
| H A D | threadsappend.c | 111 outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777); in main()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/randfree_file/ |
| H A D | randfree_file.c | 87 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, mode)) < 0) { in main()
|
| /f-stack/tools/libutil/ |
| H A D | quotafile.c | 153 (openflags & O_CREAT) != O_CREAT) in quota_open() 183 if ((qf->fd = open(qf->qfname, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0)) < in quota_open() 550 if ((newqf->fd = open(qf->qfname, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, in quota_convert()
|
| H A D | flopen.c | 62 if (flags & O_CREAT) { in vflopenat()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzpool/ |
| H A D | kernel.c | 1055 if (!(flags & O_CREAT) && stat64(path, &st) == -1) in zfs_file_open() 1058 if (!(flags & O_CREAT) && S_ISBLK(st.st_mode)) in zfs_file_open() 1061 if (flags & O_CREAT) in zfs_file_open() 1068 if (flags & O_CREAT) in zfs_file_open() 1077 dump_fd = open64(dumppath, O_CREAT | O_WRONLY, 0666); in zfs_file_open()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/largest_file/ |
| H A D | largest_file.c | 82 fd = open(testfile, O_CREAT | O_RDWR, mode); in main()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/readmmap/ |
| H A D | readmmap.c | 75 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666); in main()
|
| /f-stack/dpdk/examples/l2fwd-keepalive/ |
| H A D | shm.c | 29 O_CREAT | O_TRUNC | O_RDWR, 0666); in rte_keepalive_shm_create()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/stride_dd/ |
| H A D | stride_dd.c | 140 ofd = open(ofile, O_WRONLY | O_CREAT, 0666); in main()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mkbusy/ |
| H A D | mkbusy.c | 159 flags = rflag == B_FALSE ? O_CREAT | O_RDWR : O_RDONLY; in main()
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_sem.c | 538 if (flags & O_CREAT) { in ksem_create() 553 if ((flags & (O_CREAT | O_EXCL)) == in ksem_create() 554 (O_CREAT | O_EXCL)) in ksem_create() 645 if ((uap->oflag & ~(O_CREAT | O_EXCL)) != 0) in sys_ksem_open() 982 if ((uap->oflag & ~(O_CREAT | O_EXCL)) != 0) in freebsd32_ksem_open()
|