| /f-stack/freebsd/security/audit/ |
| H A D | audit_bsm_klib.c | 69 { O_RDONLY, AUE_OPEN_R }, 70 { (O_RDONLY | O_CREAT), AUE_OPEN_RC }, 71 { (O_RDONLY | O_CREAT | O_TRUNC), AUE_OPEN_RTC }, 72 { (O_RDONLY | O_TRUNC), AUE_OPEN_RT }, 84 { O_RDONLY, AUE_OPENAT_R }, 85 { (O_RDONLY | O_CREAT), AUE_OPENAT_RC }, 86 { (O_RDONLY | O_CREAT | O_TRUNC), AUE_OPENAT_RTC }, 87 { (O_RDONLY | O_TRUNC), AUE_OPENAT_RT }, 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/dir_rd_update/ |
| H A D | dir_rd_update.c | 82 testdd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC); in main() 92 int fd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC); in main() 113 int fd = open(dirpath, O_RDONLY); in main()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | pages.c | 442 fd = (int)syscall(SYS_open, "/proc/sys/vm/overcommit_memory", O_RDONLY | in os_overcommits_proc() 445 fd = (int)syscall(SYS_open, "/proc/sys/vm/overcommit_memory", O_RDONLY); in os_overcommits_proc() 453 AT_FDCWD, "/proc/sys/vm/overcommit_memory", O_RDONLY | O_CLOEXEC); in os_overcommits_proc() 456 AT_FDCWD, "/proc/sys/vm/overcommit_memory", O_RDONLY); in os_overcommits_proc() 463 fd = open("/proc/sys/vm/overcommit_memory", O_RDONLY | O_CLOEXEC); in os_overcommits_proc() 465 fd = open("/proc/sys/vm/overcommit_memory", O_RDONLY); in os_overcommits_proc() 532 "/sys/kernel/mm/transparent_hugepage/enabled", O_RDONLY); in init_thp_state() 534 int fd = open("/sys/kernel/mm/transparent_hugepage/enabled", O_RDONLY); in init_thp_state()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/get_diff/ |
| H A D | get_diff.c | 56 if ((fd1 = open(fname1, O_LARGEFILE | O_RDONLY)) < 0) { in main() 63 if ((fd2 = open(fname2, O_LARGEFILE | O_RDONLY)) < 0) { in main()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/ |
| H A D | libzfs_pool_os.c | 110 if ((fd = open(diskname, O_RDONLY|O_DIRECT)) >= 0) { in read_efi_label() 162 if ((fd = open(path, O_RDONLY|O_DIRECT)) < 0) in zpool_label_disk_check() 193 fd = open("/dev/urandom", O_RDONLY); in zpool_label_name()
|
| H A D | libzfs_util_os.c | 198 if ((fd = open(ZFS_SYSFS_DIR "/version", O_RDONLY)) == -1) in zfs_version_kernel()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/libzfs/ |
| H A D | many_fds.c | 56 int fd = open("/dev/null", O_RDONLY); in main()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mmap_exec/ |
| H A D | mmap_exec.c | 53 if ((fd = open(argv[1], O_RDONLY)) < 0) { in main()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/os/linux/ |
| H A D | zpool_vdev_os.c | 244 if ((fd = open(path, O_RDONLY|O_DIRECT)) < 0) in check_sector_size_database() 321 int flags = O_RDONLY|O_DIRECT; in check_disk()
|
| /f-stack/tools/libutil/ |
| H A D | login_auth.c | 101 if ((fd = open(file, O_RDONLY | O_CLOEXEC)) < 0) in auth_cat()
|
| /f-stack/dpdk/lib/librte_cmdline/ |
| H A D | cmdline_socket.c | 32 fd = open(path, O_RDONLY, 0); in cmdline_file_new()
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/os/linux/ |
| H A D | gethostid.c | 77 fd = open("/etc/hostid", O_RDONLY); in get_system_hostid()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/file_check/ |
| H A D | file_check.c | 63 if ((bigfd = open(argv[1], O_RDONLY)) == -1) { in main()
|
| /f-stack/dpdk/lib/librte_eal/linux/ |
| H A D | eal_cpuflags.c | 52 int auxv_fd = open("/proc/self/auxv", O_RDONLY); in _rte_cpu_getauxval()
|
| H A D | eal_hugepage_info.c | 304 fd = openat(dir_fd, dirent->d_name, O_RDONLY); in clear_hugedir() 448 hpi->lock_descriptor = open(hpi->hugedir, O_RDONLY); in hugepage_info_init()
|
| /f-stack/dpdk/lib/librte_eal/unix/ |
| H A D | eal_file.c | 22 sys_flags = O_RDONLY; in eal_file_open()
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_files.h | 72 #define NGX_FILE_RDONLY O_RDONLY 97 #define NGX_FILE_SEARCH (O_PATH|O_RDONLY|NGX_FILE_DIRECTORY) 100 #define NGX_FILE_SEARCH (O_RDONLY|NGX_FILE_DIRECTORY)
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/sysrandom/ |
| H A D | randombytes_sysrandom.c | 140 fd = open("/dev/random", O_RDONLY); in randombytes_block_on_dev_random() 179 fd = open(*device, O_RDONLY); in randombytes_sysrandom_random_dev_open()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_project.c | 101 fd = open(name, O_RDONLY | O_NOCTTY); in zfs_project_load_projid() 126 fd = open(name, O_RDONLY | O_NOCTTY); in zfs_project_handle_one()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zvol_id/ |
| H A D | zvol_id_main.c | 80 fd = open(dev_name, O_RDONLY); in main()
|
| /f-stack/dpdk/lib/librte_eal/x86/ |
| H A D | rte_cycles.c | 36 fd = open("/dev/cpu/0/msr", O_RDONLY); in rdmsr()
|
| /f-stack/dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | qman_driver.c | 64 qmfd = open(QMAN_PORTAL_IRQ_PATH, O_RDONLY); in fsl_qman_portal_init() 170 q_fd = open(QMAN_PORTAL_IRQ_PATH, O_RDONLY); in fsl_qman_fq_portal_create()
|
| /f-stack/tools/ipfw/ |
| H A D | altq.c | 84 pffd = open("/dev/pf", O_RDONLY); in altq_fetch()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/stride_dd/ |
| H A D | stride_dd.c | 133 ifd = open(ifile, O_RDONLY); 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()
|