/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 586 * If our swap -d succeeded, open up /dev/dump and ask what the dump 591 if ((fd = open("/dev/dump", O_RDONLY)) >= 0) { 601 * since /dev/dump mandates exclusive open. 614 dumpadm_err(gettext("Warning: failed to open /dev/dump")); 636 if ((fd = open("/dev/dump", O_RDONLY)) >= 0) { 663 dumpadm_err(gettext("Warning: failed to open /dev/dump"));
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | fmtmsglib.c | 274 mm.console = open("/dev/console", O_WRONLY|O_APPEND|O_NOCTTY);
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | postio.c | 255 open(line, O_RDWR); 361 error(NON_FATAL, "can't open log file %s", optarg); 429 * open and configure the communications line. Settings for interactive mode 645 if ((fd_in = open(*argv, O_RDONLY)) == -1) 646 error(FATAL, "can't open %s", *argv);
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | subr.c | 335 fatalerr("%s: Can't open PROC directory %s\n", 347 if ((procfd = open(pname, O_RDONLY)) < 0) 360 if ((procfd = open(pname, O_RDONLY)) < 0 ||
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 170 static int extra_dev_fd = -1; /* keep open until ready */ 282 * (/dev/sppp) installed. This is intentionally not kept open 288 (fd = open(devnam, O_RDWR | O_NONBLOCK | O_NOCTTY)) >= 0) { 302 ipfd = open(IP_DEV_NAME, O_RDWR | O_NONBLOCK, 0); 304 error("Couldn't open IP device (%s): %m", IP_DEV_NAME); 365 ip6fd = open(IP6_DEV_NAME, O_RDWR | O_NONBLOCK, 0); 367 error("Couldn't open IPv6 device (%s): %m", IP6_DEV_NAME); 464 pppfd = open(devnam, O_RDWR | O_NONBLOCK); 485 pppfd = open(drvnam, O_RDWR | O_NONBLOCK); 487 fatal("Can't open [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_tab.c | 261 /* open tab file */ 264 if ((fd = open(filename, O_RDONLY, 0)) < 0) {
|
/illumos-gate/usr/src/lib/lvm/libpreen/common/ |
H A D | mdpreen.c | 254 * to find the correct ctd name and open based on that. 279 * to open a slice that doesn't really exist. 295 if ((fd = open(devname, O_RDONLY, 0)) < 0) {
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | packer.c | 75 * (in /var/tmp), and immediately unlink() it. We keep an open 237 if ((fd = open(fname, O_RDONLY)) == -1) { 238 syslog(LOG_ERR, MODNAME ": failed to open %s: %s", 324 * we run out of open FILE pointers.
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelGeneral.c | 205 while ((kernel_fd = open(CRYPTO_DEVICE, O_RDWR)) < 0) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/ |
H A D | opl_dev_led.c | 114 scf_fd = open(SCF_DRV, O_RDWR);
|
/illumos-gate/usr/src/lib/efcode/fcdriver/ |
H A D | load_node.c | 164 if ((fd = open(path, 0)) < 0) { 165 debug_msg(DEBUG_FIND_FCODE, "%s: '%s' can't open\n", func_name,
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_mptsas/ |
H A D | fac_prov_mptsas.c | 90 if ((fd = open(devctl, (set ? O_RDWR : O_RDONLY))) == -1) { 91 topo_mod_dprintf(mod, "devctl open failed: %s",
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dummy/mech/ |
H A D | dmech.c | 1091 locally_initiated, open) 1101 int *open; 1140 if (open) 1141 *open = ctx->established;
|
/illumos-gate/usr/src/lib/libshell/amd64/include/ast/ |
H A D | shell.h | 254 # define open sh_open macro
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | hist.c | 193 if((fdo=open(fname,O_CREAT|O_RDWR,S_IRUSR|S_IWUSR)) < 0)
|
/illumos-gate/usr/src/lib/libshell/i386/include/ast/ |
H A D | shell.h | 254 # define open sh_open macro
|
/illumos-gate/usr/src/lib/libshell/sparc/include/ast/ |
H A D | shell.h | 254 # define open sh_open macro
|
/illumos-gate/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | shell.h | 254 # define open sh_open macro
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_gids.c | 60 (devrandom = open("/dev/urandom", O_RDONLY)) == -1) {
|
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | obsoleted.c | 69 "Couldn't open CPC library handle\n")); 207 * To look at the system-wide counters, we have to open the 208 * 'shared' device. Once that device is open, no further contexts 209 * can be installed (though one open is needed per CPU) 216 return (open(driver, O_RDWR));
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | random.c | 56 * Equivalent of open(2) insulated from EINTR. 71 if ((fd = open(path, oflag, pmode)) >= 0) { 75 /* errno definitely set by failed open() */ 132 * Opens the random number generator devices if not already open. 175 * Close the random number generator devices if already open.
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_mnt.c | 368 if ((fds[0].fd = open("/etc/mnttab", O_RDONLY)) != -1) {
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdladm.c | 106 if ((dld_fd = open(DLD_CONTROL_DEV, O_RDWR)) < 0) 110 * Don't open DLMGMT_DOOR now. dlmgmtd(1M) is not able to 111 * open the door when the dladm handle is opened because the 113 * open it on-demand in dladm_door_fd(). Move the open() 146 * If DLMGMT_DOOR hasn't been opened in the handle yet, open it. 154 if ((fd = open(DLMGMT_DOOR, O_RDONLY)) < 0) 314 s = "flow database open error"; 583 if ((lock_fd = open(lock_file, O_RDWR | O_CREAT | O_TRUNC, 748 if ((nfd = open(newfil [all...] |
/illumos-gate/usr/src/lib/libdscp/ |
H A D | libdscp.c | 388 if ((fd = open(DSCP_CONFIGFILE, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | internal.c | 228 procfd = open(path, O_RDONLY);
|