/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 248 if ((fd = open(FAB_REPOSITORY, O_RDWR | O_CREAT)) == -1) { in update_fabric_wwn_list() 314 if ((copy_fd = open(copy_rep, O_RDWR | O_CREAT | O_TRUNC, in update_fabric_wwn_list() 442 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC, in update_fabric_wwn_list() 537 if ((tmp_fd = open(tmp_rep, O_RDWR|O_CREAT|O_TRUNC, in update_fabric_wwn_list()
|
/illumos-gate/usr/src/ucblib/libdbm/ |
H A D | dbm.c | 76 pagf = open(pagbuf, 2); in dbminit() 78 pagf = open(pagbuf, 0); in dbminit() 89 dirf = open(pagbuf, 2); in dbminit() 91 dirf = open(pagbuf, 0); in dbminit()
|
/illumos-gate/usr/src/contrib/ast/lib/package/ |
H A D | ast-open.ver | 1 ast-open 2012-08-01 2012-08-01 1
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | cpmv.c | 52 if ((fd1 = open(f1, O_RDONLY)) == -1) 74 if ((fd2 = open(temp_p, O_CREAT | O_TRUNC | O_WRONLY,
|
H A D | logent.c | 103 _Sf = open(SYSLOG, 1); 136 fd = open(CMDLOG, O_WRONLY | O_APPEND);
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | warmstart.c | 73 fd = open(filename, O_CREAT|O_EXCL|O_WRONLY, 0600); in open_tmp_file() 126 fd = open(filename, O_RDONLY, 0600); in read_struct()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 191 if ((ds_fd = open(device, O_RDONLY)) >= 0 && in ds_readbuf() 307 if ((ds_fd = open(device, O_RDONLY)) < 0) { in ds_init() 361 if ((ds_fd = open(norewind, O_RDONLY)) < 0) { in ds_init() 613 if ((ds_fd = open(device, O_RDONLY)) < 0) in ds_getnextvol() 778 if ((n = open(ds_device, 0)) >= 0) in ds_close()
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | device.c | 126 fd = open(devnode, O_RDONLY|O_NDELAY); in get_device() 457 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) { in lookup_device() 478 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device() 494 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device() 518 fd = open(node, O_RDONLY|O_NDELAY); in is_cd()
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-port.c | 199 if (((fd = open(JOB_ID_FILE, O_RDWR)) < 0) && (errno == ENOENT)) in next_job_id() 200 fd = open(JOB_ID_FILE, O_CREAT|O_EXCL|O_RDWR, 0644); in next_job_id() 420 if ((fd = open(name, O_RDONLY)) < 0) in send_data_file() 509 if ((fd = open(path, O_RDONLY)) < 0) { in submit_job() 593 if ((fd = open(path, O_WRONLY)) >= 0) { in submit_job()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/sppptun/ |
H A D | sppptun.c | 240 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) { in plumb_it() 347 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) { in unplumb_it() 394 if ((muxfd = open("/dev/" PPP_TUN_NAME, O_RDWR)) < 0) { in query_interfaces()
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | packlib.c | 65 if ((fd_d = open(dname, O_RDWR|O_CREAT, 0600)) == -1) in PWOpen() 68 if ((fd_i = open(iname, O_RDWR|O_CREAT, 0600)) == -1) in PWOpen() 71 if ((fd_w = open(wname, O_RDWR|O_CREAT, 0600)) == -1) in PWOpen()
|
/illumos-gate/usr/src/cmd/enhance/ |
H A D | enhance.c | 246 *cntrl = open("/dev/ptmx", O_RDWR); in pty_open_manager() 299 *cntrl = open(manager_name, O_RDWR); in pty_open_manager() 365 fd = open(subsid_name, O_RDWR); in pty_open_subsid()
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | fcntl | 113 #undef open 114 #define open open64
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | fcntl | 113 #undef open 114 #define open open64
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | fcntl | 113 #undef open 114 #define open open64
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | fcntl | 113 #undef open 114 #define open open64
|
/illumos-gate/usr/src/cmd/dtrace/demo/spec/ |
H A D | spec.d | 27 syscall::open:entry
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | detach.c | 67 (void) open("/dev/null", O_RDWR, 0); in detachfromtty()
|
/illumos-gate/usr/src/cmd/sgs/0@0/common/ |
H A D | 0@0.c | 46 if ((fd = open("/dev/zero", O_RDWR)) < 0) in __zero_at_zero()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/ |
H A D | psvcobj.c | 1655 fp = open(path, O_RDWR); in i_psvc_get_temperature_11_2() 1685 fp = open(path, O_RDWR); in i_psvc_get_temperature_11_4() 1714 fp = open(path, O_RDWR); in i_psvc_get_temperature_11_6() 1742 fp = open(path, O_RDWR); in i_psvc_get_fanspeed_11_7() 1770 fp = open(path, O_RDWR); in i_psvc_get_input_11_6() 1798 fp = open(path, O_RDWR); in i_psvc_get_output_11_3() 1826 fp = open(path, O_RDWR); in i_psvc_get_output_11_6() 1855 fp = open(path, O_RDWR); in i_psvc_get_output_11_8() 1884 fp = open(path, O_RDWR); in i_psvc_set_output_11_3() 1912 fp = open(path, O_RDWR); in i_psvc_set_output_11_6() [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/t/ |
H A D | Project.t | 163 open($fh, "</usr/include/project.h") || fatal($!); 170 open($fh, "</usr/include/sys/param.h") || fatal($!); 210 open($file1, "+>/tmp/project.$$.1") || fatal($!); 221 open($file2, "+>/tmp/project.$$.2") || fatal($!); 232 open($file3, "+>/tmp/project.$$.3") || fatal($!); 243 open($file4, "+>/tmp/project.$$.4") || fatal($!); 259 open($file5, "+>/tmp/project.$$.5") || fatal($!); 357 open($fh, ">$filename.w") || fatal($!); 747 open($fh2, ">/tmp/projent.$$") || fatal($!); 753 open($fh1, "</tmp/projent.$$") || fatal($!); [all …]
|
/illumos-gate/usr/src/cmd/vt/ |
H A D | vtinfo.c | 45 if ((fd = open("/dev/vt/0", O_RDONLY)) < 0) in main()
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_kef.c | 353 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDWR)) == -1) { in disable_kef_hardware() 486 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDWR)) == -1) { in disable_kef_software() 622 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDWR)) == -1) { in enable_kef() 918 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDWR)) == -1) { in install_kef() 1007 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDWR)) == -1) { in uninstall_kef() 1074 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDWR)) == -1) { in refresh() 1237 if ((fd = open(ADMIN_IOCTL_DEVICE, O_RDWR)) == -1) { in unload_kef_soft()
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | ptrace.c | 171 if ((fd = open(procname, O_WRONLY, 0)) < 0) in ptrace() 490 if ((fd = open(procname, omode, 0)) < 0 || in OpenProc() 495 if ((fd = open(procname, O_WRONLY, 0)) < 0 || in OpenProc() 500 if ((fd = open(procname, O_RDONLY, 0)) < 0 || in OpenProc() 703 if ((fd = open(procname, O_RDONLY, 0)) < 0) { in GetPsargs() 728 if ((fd = open(procname, O_RDONLY, 0)) >= 0) { in GetSignal()
|
/illumos-gate/usr/src/lib/libc/sparc/sys/ |
H A D | ptrace.c | 173 if ((fd = open(procname, O_WRONLY, 0)) < 0) in ptrace() 500 if ((fd = open(procname, omode, 0)) < 0 || in OpenProc() 505 if ((fd = open(procname, O_WRONLY, 0)) < 0 || in OpenProc() 510 if ((fd = open(procname, O_RDONLY, 0)) < 0 || in OpenProc() 715 if ((fd = open(procname, O_RDONLY, 0)) < 0) { in GetPsargs() 740 if ((fd = open(procname, O_RDONLY, 0)) >= 0) { in GetSignal()
|