/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestEnable.java | 51 consumer.open(); in main() 117 consumer2.open(); in main() 138 consumer.open(); in main()
|
H A D | TestClose.java | 39 consumer.open(); in main() 59 consumer.open(); in main()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | mmap | 52 if ((fd = open(file, O_CREAT|O_TRUNC|O_WRONLY, 0666)) < 0) 66 if ((fd = open(file, O_RDWR)) < 0) 80 if((fd = open(file, O_RDWR)) < 0) 91 if ((fd = open(file, O_RDWR)) < 0) 215 if((fd = open("/dev/zero", O_RDWR)) < 0) 261 if ((fd = open(file, O_CREAT|O_TRUNC|O_WRONLY, 0666)) < 0) 274 { if((fd = open(file, O_RDWR)) < 0) 289 { if ((fd = open(file, O_RDWR)) < 0)
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 220 if ((procfd = open(procfile, O_RDONLY)) >= 0) { in vsyslog() 372 if (((fd = open(sysmsg, O_WRONLY)) >= 0) || in vsyslog() 373 (fd = open(ctty, O_WRONLY)) >= 0) { in vsyslog() 397 if ((d = open(DOORFILE, O_RDONLY)) < 0) in syslogd_ok() 450 LogFile = open(logname, O_WRONLY); in openlog()
|
/illumos-gate/usr/src/test/os-tests/tests/sdevfs/ |
H A D | sdevfs_eisdir.c | 60 ret = open(SD_TEST_DIR, O_RDWR, 0); in main() 68 ret = open(SD_TEST_DIR, O_RDWR | O_CREAT, 0); in main()
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | diffdb.c | 24 db1 = open(argv[1], O_RDONLY); in main() 29 db2 = open(argv[2], O_RDONLY); in main()
|
/illumos-gate/usr/src/test/os-tests/tests/uccid/ |
H A D | excl-close.c | 49 fd = open(argv[1], O_RDWR); in main() 71 fd = open(argv[1], O_RDWR); in main()
|
H A D | excl-loop.c | 45 if ((fd = open(argv[1], O_RDWR)) < 0) { in main() 70 if ((fd = open(argv[1], O_RDWR)) < 0) { in main()
|
H A D | excl-nonblock.c | 66 if ((fda = open(argv[1], O_RDWR)) < 0) { in main() 70 if ((fdb = open(argv[1], O_RDWR)) < 0) { in main()
|
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | oplhpd.c | 158 (void) open("/dev/null", O_RDONLY); in init_daemon() 159 (void) open("/dev/null", O_WRONLY); in init_daemon() 167 if ((pid_fd = open(OPLHPD_PID_FILE, O_RDWR | O_CREAT, 0644)) < 0) { in init_daemon()
|
/illumos-gate/usr/src/contrib/ast/lib/package/ |
H A D | ksh.pkg | 3 :LICENSE: *.open 14 ast-base or ast-open packages.
|
/illumos-gate/usr/src/cmd/utmpd/ |
H A D | utmpd.c | 269 (void) open("/dev/null", O_RDONLY); in main() 270 (void) open("/dev/null", O_WRONLY); in main() 271 (void) open("/dev/null", O_WRONLY); in main() 301 if ((WTMPXfd = open(WTMPX_FILE, O_RDONLY)) < 0) in main() 612 Pfd = open(UTMPPIPE, O_RDWR | O_NDELAY); in setup_pipe() 888 if ((fd = open(procname, O_RDONLY)) >= 0) { in proc_to_fd() 1064 if ((fd = open(psinfoname, O_RDONLY)) < 0 || in proc_is_alive()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfs.c | 128 fd = open(fname, O_RDWR); 185 fd = open(fname, O_RDWR); 367 if ((fd = open(ipfdev, O_RDWR)) == -1) 368 if ((fd = open(ipfdev, O_RDONLY)) == -1) 415 wfd = open(file, O_WRONLY|O_TRUNC|O_CREAT, 0600); 467 sfd = open(file, O_RDONLY, 0600); 582 nfd = open(file, O_RDONLY); 711 nfd = open(file, O_WRONLY|O_TRUNC|O_CREAT, 0600);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_thread.c | 91 if (!taskq->open) { in emlxs_taskq_dispatch() 150 if (taskq->open) { in emlxs_taskq_create() 183 taskq->open = 1; in emlxs_taskq_create() 199 if (!taskq->open) { in emlxs_taskq_destroy() 206 if (!taskq->open) { in emlxs_taskq_destroy() 211 taskq->open = 0; in emlxs_taskq_destroy()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | copyf.c | 96 srcFd = open(a_srcPath, O_RDONLY, 0); in copyf() 112 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf() 132 dstFd = open(a_dstPath, O_WRONLY | O_TRUNC | O_CREAT, in copyf() 444 fd = open(a_path, a_oflag); in openLocal()
|
/illumos-gate/usr/src/data/locale/tools/ |
H A D | mkwidths.py | 45 lines = open("UTF-8.cm").readlines() 59 for line in open(filename).readlines():
|
/illumos-gate/usr/src/cmd/acpihpd/ |
H A D | acpihpd.c | 153 (void) open("/dev/null", O_RDONLY); in daemon_init() 154 (void) open("/dev/null", O_WRONLY); in daemon_init() 161 if ((s_pid_fd = open(ACPIHPD_PID_FILE, O_RDWR | O_CREAT, 0644)) < 0) { in daemon_init()
|
/illumos-gate/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 274 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_GetNodeProperties() 325 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_SetNodeName() 355 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_SetNodeAlias() 419 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_GetDiscoveryProperties() 789 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_GetDiscoveryAddressOidList() 935 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_RemoveDiscoveryAddress() 1048 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_AddDiscoveryAddress() 1088 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_GetStaticDiscoveryTargetProperties() 1174 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_GetDiscoveryAddressProperties() 1272 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_RemoveStaticDiscoveryTarget() [all …]
|
/illumos-gate/usr/src/cmd/power/ |
H A D | conf.c | 170 if ((fd = open("/dev/tod", O_RDONLY)) != -1) { in get_cpr_info() 182 if ((fd = open(cpr_conf, O_RDONLY)) == -1) { in get_cpr_info() 210 if ((pm_fd = open("/dev/pm", O_RDWR)) == -1) in pm_rem_reset() 225 if ((fd = open(PIDPATH, O_RDONLY)) == -1) in get_powerd_pid() 271 if ((fd = open(cpr_conf, O_CREAT | O_TRUNC | O_WRONLY, 0644)) == -1) in update_cprconfig()
|
H A D | sys-suspend.c | 599 (void) dup2(open("/dev/console", O_RDONLY), 0); in main() 600 (void) dup2(open("/dev/console", O_WRONLY), 1); in main() 601 (void) dup2(open("/dev/console", O_WRONLY), 2); in main() 752 if ((fd = open("/dev/pm", O_RDWR)) < 0) { in bringto_lowpower() 780 if ((fd = open(CPR_CONFIG, O_RDONLY)) < 0) { in is_mou3()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid.c | 105 (void) open("/dev/null", O_RDONLY); in daemonize() 106 (void) open("/dev/null", O_WRONLY); in daemonize() 271 if ((dfd = open(NFSMAPID_DOOR, O_RDWR|O_CREAT|O_TRUNC, in start_svcs()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_pickle.cc | 56 pickle_file::open() in open() function in pickle_file 107 if (open()) { in transfer()
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | bstream.c | 274 fd = open(file, O_RDONLY); in open_file_read_stream() 396 fd = open(fname, O_RDONLY); in open_au_read_stream() 477 fd = open(fname, O_RDONLY); in open_wav_read_stream() 557 fd = open(fname, O_RDWR|O_CREAT|O_TRUNC, 0666); in open_au_write_stream() 586 fd = open(fname, O_RDWR|O_CREAT|O_TRUNC, 0666); in open_wav_write_stream() 613 fd = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666); in open_aur_write_stream() 630 fd = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666); in open_file_write_stream()
|
/illumos-gate/usr/src/cmd/fs.d/reparsed/ |
H A D | reparsed.c | 116 (void) open("/dev/null", O_RDONLY); in daemonize() 117 (void) open("/dev/null", O_WRONLY); in daemonize() 331 if ((dfd = open(REPARSED_DOOR, O_RDWR|O_CREAT|O_TRUNC, in start_reparsed_svcs()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | cppath.c | 106 srcFd = open(a_srcPath, O_RDONLY); in cppath() 364 fd = open(a_file, O_WRONLY | O_CREAT | O_TRUNC, a_mode); in write_file() 367 fd = open(a_file, O_WRONLY | O_CREAT | O_TRUNC, a_mode); in write_file()
|