Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 25 of 36) sorted by relevance

12

/f-stack/freebsd/security/audit/
H A Daudit_bsm_klib.c77 { O_WRONLY, AUE_OPEN_W },
78 { (O_WRONLY | O_CREAT), AUE_OPEN_WC },
79 { (O_WRONLY | O_CREAT | O_TRUNC), AUE_OPEN_WTC },
80 { (O_WRONLY | O_TRUNC), AUE_OPEN_WT },
92 { O_WRONLY, AUE_OPENAT_W },
93 { (O_WRONLY | O_CREAT), AUE_OPENAT_WC },
94 { (O_WRONLY | O_CREAT | O_TRUNC), AUE_OPENAT_WTC },
95 { (O_WRONLY | O_TRUNC), AUE_OPENAT_WT },
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/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Dprof_idump.c11 fd = open("/dev/null", O_WRONLY); in prof_dump_open_intercept()
H A Dprof_gdump.c11 fd = open("/dev/null", O_WRONLY); in prof_dump_open_intercept()
H A Dprof_accum.c12 fd = open("/dev/null", O_WRONLY); in prof_dump_open_intercept()
H A Dprof_reset.c7 fd = open("/dev/null", O_WRONLY); in prof_dump_open_intercept()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
H A Dtmpfile_test.c37 fd = open(argv[1], O_TMPFILE | O_WRONLY, 0666); in main()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cp_files/
H A Dcp_files.c43 int fd = openat(tfd, dirent->d_name, O_CREAT|O_WRONLY, 0666); in main()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/ctime/
H A Dctime.c134 if ((fd = open(pfile, O_WRONLY, ALL_MODE)) == -1) { in do_write()
330 if ((fd = open(tfile, O_WRONLY | O_CREAT | O_TRUNC, ALL_MODE)) == -1) { in main()
/f-stack/dpdk/drivers/raw/octeontx2_dma/
H A Dotx2_dpi_msg.c54 fd = open(buff, O_WRONLY); in send_msg_to_pf()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/user_ns_exec/
H A Duser_ns_exec.c98 mapfd = open(path, O_WRONLY); in set_idmap()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/badsend/
H A Dbadsend.c82 fd = open("/dev/null", O_WRONLY); in main()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/stride_dd/
H A Dstride_dd.c140 ofd = open(ofile, O_WRONLY | O_CREAT, 0666); in main()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_files.h73 #define NGX_FILE_WRONLY O_WRONLY
78 #define NGX_FILE_APPEND (O_WRONLY|O_APPEND)
/f-stack/freebsd/sys/
H A Dfcntl.h76 #define O_WRONLY 0x0001 /* open for writing only */ macro
/f-stack/tools/libutil/
H A Duucplock.c78 if ((tmpfd = open(lcktmpname, O_CREAT | O_TRUNC | O_WRONLY | O_CLOEXEC, in uu_lock()
H A Dpidfile.c156 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NONBLOCK, mode); in pidfile_open()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/
H A Dxattrtest.c239 fd = open(file, O_WRONLY); in drop_caches()
269 devnull_fd = open("/dev/null", O_WRONLY); in run_process()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c48 if (!(flags & O_CREAT) && (flags & O_WRONLY)) in zfs_file_open()
H A Dvdev_file.c81 mode = O_WRONLY; in vdev_file_open_mode()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_file.c81 mode = O_WRONLY; in vdev_file_open_mode()
/f-stack/tools/libxo/libxo/
H A Dxo_syslog.c257 int flags = O_WRONLY | O_NONBLOCK; in xo_send_syslog()
/f-stack/freebsd/contrib/zlib/
H A Dgzlib.c235 (O_WRONLY | O_CREAT |
/f-stack/freebsd/contrib/zstd/zlibWrapper/
H A Dgzlib.c235 (O_WRONLY | O_CREAT |
/f-stack/app/redis-5.0.5/src/
H A Daof.c252 newfd = open(server.aof_filename,O_WRONLY|O_APPEND|O_CREAT,0644); in startAppendOnly()
1676 newfd = open(tmpfile,O_WRONLY|O_APPEND); in backgroundRewriteDoneHandler()
/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dkernel.c1077 dump_fd = open64(dumppath, O_CREAT | O_WRONLY, 0666); in zfs_file_open()

12