| /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() 80 fd = flopen(fn, O_RDWR); in test_flopen_open() 102 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_self() 106 fd2 = flopen(fn, O_RDWR|O_NONBLOCK); in test_flopen_lock_self() 128 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_other() 134 fd2 = flopen(fn, O_RDWR|O_NONBLOCK); in test_flopen_lock_other() 160 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_child() 172 if ((fd2 = flopen(fn, O_RDWR|O_NONBLOCK)) != -1) { in test_flopen_lock_child()
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit_bsm_klib.c | 73 { O_RDWR, AUE_OPEN_RW }, 74 { (O_RDWR | O_CREAT), AUE_OPEN_RWC }, 75 { (O_RDWR | O_CREAT | O_TRUNC), AUE_OPEN_RWTC }, 76 { (O_RDWR | O_TRUNC), AUE_OPEN_RWT }, 88 { O_RDWR, AUE_OPENAT_RW }, 89 { (O_RDWR | O_CREAT), AUE_OPENAT_RWC }, 90 { (O_RDWR | O_CREAT | O_TRUNC), AUE_OPENAT_RWTC }, 91 { (O_RDWR | O_TRUNC), AUE_OPENAT_RWT }, 220 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY); in audit_flags_and_error_to_openevent() 236 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY); in audit_flags_and_error_to_openatevent()
|
| /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() 112 fd = open(file_path, O_RDWR, 0777); in map_writer()
|
| /f-stack/dpdk/lib/librte_eal/freebsd/ |
| H A D | eal_hugepage_info.c | 42 return map_shared_memory(filename, mem_size, O_RDWR); in open_shared_memory() 48 return map_shared_memory(filename, mem_size, O_RDWR | O_CREAT); in create_shared_memory() 88 fd = open(CONTIGMEM_DEV, O_RDWR); in eal_hugepage_info_init()
|
| /f-stack/tools/libutil/ |
| H A D | pty.c | 56 master = posix_openpt(O_RDWR|O_NOCTTY); in openpty() 70 slave = open(slavename, O_RDWR); in openpty()
|
| H A D | quotafile.c | 183 if ((qf->fd = open(qf->qfname, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0)) < in quota_open() 420 if ((qf->accmode & O_RDWR) != O_RDWR) { in quota_write_usage() 468 if ((qf->accmode & O_RDWR) != O_RDWR) { in quota_write_limits() 529 if ((qf->accmode & O_RDWR) != O_RDWR || qf->fd == -1) { in quota_convert() 550 if ((newqf->fd = open(qf->qfname, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, in quota_convert()
|
| /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() 284 int fd = open("/dev/mem", O_RDWR); in setup_reserve32()
|
| /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/dpdk/drivers/bus/pci/linux/ |
| H A D | pci_uio.c | 236 dev->intr_handle.fd = open(devname, O_RDWR); in pci_uio_alloc_resource() 245 dev->intr_handle.uio_cfg_fd = open(cfgname, O_RDWR); in pci_uio_alloc_resource() 318 fd = open(devname, O_RDWR); in pci_uio_map_resource_by_index() 334 fd = open(devname, O_RDWR); in pci_uio_map_resource_by_index() 408 dev->intr_handle.fd = open(filename, O_RDWR); in pci_uio_ioport_map() 463 fd = open(filename, O_RDWR); in pci_uio_ioport_map()
|
| /f-stack/dpdk/drivers/bus/vmbus/linux/ |
| H A D | vmbus_uio.c | 83 dev->intr_handle.fd = open(devname, O_RDWR); in vmbus_uio_alloc_resource() 145 fd = open(uio_res->path, O_RDWR); in vmbus_uio_map_resource_by_index() 212 fd = open(ring_path, O_RDWR); in vmbus_uio_map_subchan() 269 fd = open(ring_path, O_RDWR); in vmbus_uio_map_secondary_subchan()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/file_write/ |
| H A D | file_write.c | 176 oflag = (O_RDWR|O_CREAT); in main() 178 oflag = (O_RDWR|O_APPEND); in main()
|
| /f-stack/dpdk/drivers/bus/pci/bsd/ |
| H A D | pci.c | 124 if (access(devname, O_RDWR) < 0) { in pci_uio_alloc_resource() 131 dev->intr_handle.fd = open(devname, O_RDWR); in pci_uio_alloc_resource() 183 fd = open(devname, O_RDWR); in pci_uio_map_resource_by_index() 422 fd = open("/dev/pci", O_RDWR); in rte_pci_read_config() 475 fd = open("/dev/pci", O_RDWR); in rte_pci_write_config()
|
| /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/app/redis-5.0.5/utils/ |
| H A D | corrupt_rdb.c | 26 fd = open(filename,O_RDWR); in main()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/ |
| H A D | tmpfile_003_pos.c | 46 fd = open(penv[0], O_RDWR|O_TMPFILE|O_EXCL, 0666); in main()
|
| H A D | tmpfile_002_pos.c | 47 fd = open(penv[0], O_RDWR|O_TMPFILE, 0666); in main()
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_daemon.c | 39 fd = open("/dev/null", O_RDWR); in ngx_daemon()
|
| /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 | 25 sys_flags = O_RDWR; in eal_file_open()
|
| /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/dpdk/examples/ip_pipeline/ |
| H A D | tap.c | 72 fd = open(TAP_DEV, O_RDWR | O_NONBLOCK); in tap_create()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/ |
| H A D | libzfs_pool_os.c | 65 if ((fd = open(path, O_RDWR|O_DIRECT)) < 0) { in zpool_relabel_disk() 244 if ((fd = open(path, O_RDWR|O_DIRECT|O_EXCL)) < 0) { in zpool_label_disk()
|
| /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()
|