Home
last modified time | relevance | path

Searched refs:O_CREAT (Results 101 – 125 of 410) sorted by relevance

12345678910>>...17

/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c162 flags = rflag == B_FALSE ? O_CREAT | O_RDWR : O_RDONLY; in main()
/illumos-gate/usr/src/test/zfs-tests/cmd/randwritecomp/
H A Drandwritecomp.c159 fd = open(filename, O_RDWR|O_CREAT, 0666); in main()
/illumos-gate/usr/src/test/smbclient-tests/cmd/cp_mmap/
H A Dcp_mmap.c112 des_fid = open(des_file, O_RDWR | O_CREAT | O_TRUNC, in main()
/illumos-gate/usr/src/test/smbclient-tests/cmd/rw_mmap/
H A Drw_mmap.c105 fid = open(filename, O_RDWR | O_CREAT | O_TRUNC, in main()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dlockinst.c189 if ((fd = open(lockpath, O_RDWR | O_CREAT, 0600)) == -1) { in lockinst()
/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c167 if ((pid_fd = open(OPLHPD_PID_FILE, O_RDWR | O_CREAT, 0644)) < 0) { in init_daemon()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c530 if ((respfd = open(respfile, O_CREAT |O_RDWR | O_EXCL, 0600)) == -1) { in kmf_get_encoded_ocsp_response()
678 if ((fd = open(crlfile, O_CREAT |O_RDWR | O_EXCL, 0644)) == -1) in kmf_download_crl()
752 if ((fd = open(certfile, O_CREAT |O_RDWR | O_EXCL, 0644)) == -1) in kmf_download_cert()
/illumos-gate/usr/src/cmd/ucodeadm/
H A Ducodeadm.c308 fd = open(common_path, O_WRONLY | O_CREAT | O_TRUNC, in ucode_gen_files_amd()
335 fd = open(common_path, O_WRONLY | O_CREAT | O_TRUNC, in ucode_gen_files_amd()
413 if ((fd = open(firstname, O_WRONLY | O_CREAT | O_TRUNC, in ucode_gen_files_intel()
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dfcntl_h.cfg34 value | O_CREAT | int | fcntl.h | POSIX+ SUS+
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dtee.c113 register int oflag = O_WRONLY|O_TRUNC|O_CREAT|O_BINARY|O_cloexec; in b_tee()
/illumos-gate/usr/src/tools/install.bin/
H A Dinstall.bin.c77 if ((dest_fd = open(dest_file, O_CREAT|O_WRONLY|O_TRUNC, 0755)) == -1) { in file_copy()
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Ddict.c69 if ((lockfd = open(dblock, O_WRONLY|O_CREAT|O_EXCL, 0400)) == -1) { in lock_db()
/illumos-gate/usr/src/cmd/mailx/
H A Dedit.c132 if ((fd = open(tempZedit, O_RDWR|O_CREAT| in edit1()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c360 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in create_keystore()
735 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in create_updated_keystore_version()
1267 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in reencrypt_obj()
1473 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_setpin()
2229 O_RDWR|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_put_new_obj()
2277 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_put_new_obj()
2532 O_WRONLY|O_CREAT|O_EXCL|O_NONBLOCK, S_IRUSR|S_IWUSR); in soft_keystore_modify_obj()
/illumos-gate/usr/src/cmd/sh/
H A Dservice.c96 newmode = O_RDWR|O_CREAT; in initio()
655 O_WRONLY | O_APPEND | O_CREAT, 0666)) != -1) { in doacct()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_io.c99 d->fd = THREEPARAMOPEN(d->fn, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL | in krb5_rc_io_creat()
117 while ((d->fd = THREEPARAMOPEN(d->fn, O_WRONLY | O_CREAT | O_TRUNC | in krb5_rc_io_creat()
/illumos-gate/usr/src/cmd/bnu/
H A Dcpmv.c74 if ((fd2 = open(temp_p, O_CREAT | O_TRUNC | O_WRONLY,
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Ddoor.c191 O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW | O_NONBLOCK, in init_door()
/illumos-gate/usr/src/cmd/rpcbind/
H A Dwarmstart.c73 fd = open(filename, O_CREAT|O_EXCL|O_WRONLY, 0600); in open_tmp_file()
/illumos-gate/usr/src/cmd/acpihpd/
H A Dacpihpd.c161 if ((s_pid_fd = open(ACPIHPD_PID_FILE, O_RDWR | O_CREAT, 0644)) < 0) { in daemon_init()
/illumos-gate/usr/src/test/os-tests/tests/portfs/
H A Dfile_assoc.c238 fd = open(fa_path, O_RDWR | O_CREAT, 0644); in main()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgexecv.c409 n = open(fileout, O_WRONLY|O_CREAT|O_APPEND, 0666); in pkgexecv()
/illumos-gate/usr/src/uts/common/sys/
H A Dfcntl.h81 #define O_CREAT 0x100 /* open with file create (uses third arg) */ macro
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid.c271 if ((dfd = open(NFSMAPID_DOOR, O_RDWR|O_CREAT|O_TRUNC, in start_svcs()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.sed.in57 SED_REPLACE(O_CREAT)

12345678910>>...17