/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | configd.c | 601 if ((fd = open(pidpath, O_RDONLY)) < 0 ||
|
/illumos-gate/usr/src/cmd/last/ |
H A D | last.c | 235 wtmp = open(wtmpfile, 0);
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_change.c | 604 if ((fd = open(fname, O_RDONLY)) >= 0) {
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldmad.c | 597 if (open("/dev/null", O_RDWR) == -1) { 598 LDMA_ERR("open /dev/null error (%d)", errno);
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 395 (void) open("/", 0); 522 if ((fd = open(DEBUGFILE, 538 * Attempts to open the local log device 552 if ((fd = open(name, mode)) < 0) { 553 logerror("cannot open %s", name); 581 logerror("can't open kernel log device - fatal"); 1953 f->f_file = open(f->f_un.f_fname, 2131 ttyf = open(w->dev, O_WRONLY|O_NOCTTY|O_NDELAY); 2173 DPRINT2(1, "writetodev(%u): Can't open '%s'\n", 2400 * must use open her [all...] |
/illumos-gate/usr/src/cmd/tabs/ |
H A D | tabs.c | 409 if ((fildes = open(scan, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/cmd/troff/troff.d/ |
H A D | t10.c | 104 /* open table for device, 111 if ((fin = open(termtab, 0)) < 0) { 112 errprint(gettext("can't open tables for %s"), termtab);
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmchild.c | 245 /* open should return fd 0, if not, then close it */ 246 if ((pmtab->p_fd = open(pmtab->p_device, O_RDWR)) != 0) { 247 log("open \"%s\" failed: %s", pmtab->p_device,
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_dev.c | 46 #include <sys/open.h> 104 nsmb_open, /* open */ 280 * We get one (unique) minor unit per open. 439 * This does "clone" open, meaning it automatically 440 * assigns an available minor unit for each open. 498 * 4. Deallocate any resources allocated in open() call.
|
/illumos-gate/usr/src/ucbcmd/sed/ |
H A D | sed1.c | 113 if ((f = open(file, 0)) < 0) {
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nlist.c | 107 if ((fd = open(name, 0)) < 0)
|
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | kssl.c | 39 #include <sys/open.h>
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_impl.h | 159 * associated with an open file, etc. These are the entities that are 199 uint_t c_omode; /* open mode */ 507 #define ENG_OPEN(e, flg, nf, d) E_OP(e, open)(E_PRV(e), flg, nf, d)
|
/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat.c | 35 #include <sys/open.h>
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | srn.c | 36 #include <sys/open.h> /* OTYP_CHR definition */ 77 struct cred *srn_cred[SRN_MAX_CLONE]; /* cred for each open */ 100 srn_open, /* open */ 329 PMD(PMD_SX, ("srn open OK\n"))
|
H A D | tphci.c | 34 #include <sys/open.h> 70 tphci_open, /* open */
|
H A D | iwscons.c | 51 #include <sys/open.h> 478 * You can't really open us until the console subsystem 485 * Check if this is the first open of this device or if 498 * pass this open request onto the console driver 535 * is an artifact of the multiple open/single close driver 546 * signal handling list upon each open. It doesn't guarantee 552 * the device framework from an multiple open/single close 553 * model to a multiple open/multiple close model. Then 648 iwscnopen, /* open */
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_os.h | 114 #include <sys/open.h>
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 347 if ((db_ctx->db_lf_file = open(filename, O_RDWR, 0666)) < 0) { 348 if ((db_ctx->db_lf_file = open(filename, O_RDONLY, 0666)) < 0) { 352 (void) snprintf(errbuf, sizeof(errbuf), gettext("Failed to open \"%s\": "), filename); 687 gettext("Failed to open db \"%s\": "), 782 snprintf(errbuf, sizeof(errbuf), gettext("Failed to open \"%s\": "), db_name); 796 fd = open(okname, O_CREAT | O_RDWR | O_TRUNC, 0600); 800 snprintf(errbuf, sizeof(errbuf), gettext("Failed to open \"%s\": "), okname); 836 if ((fd = open(filename, O_RDWR, 0)) < 0) { 1636 /* db2 has a problem of needing to close and open the database again. This removes that need */
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | devreserv.c | 183 /* Close the lockfile -- it might be open */ 190 lkfilefd = open(lockname, O_RDWR|O_CREAT, 0600); 220 /* Close the lock file if it's open */ 251 * int lkfilefd File descriptor of the open lock file 297 * lkfilefd File descriptor of the open lockfile 382 * the allocated buffer. Also, the device lock file is open and 502 * lkfilefd The open file descriptor for the open device 602 * lkfilefd File-descriptor of the open lock file
|
H A D | putdgrp.c | 148 if ((fd = open(oldname, O_WRONLY)) == -1) 167 * Build the name of the temp dgrptab and open 281 * o_mode The open() mode to use when opening the device-group table 299 /* Close the device-group table (if it's open) */ 308 * available, wait until it is, then close and open the 349 /* Don't keep file open if an error happened */
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | mdesc.c | 34 #include <sys/open.h>
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx_tools.c | 36 #include <sys/open.h> 59 niumx_open, /* open */ 96 * Make sure the open is for the right file type. 110 * Handle the open by tracking the device state.
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | adm1026.c | 28 #include <sys/open.h> /* for open params. */ 92 adm1026_open, /* open */
|
H A D | ics951601.c | 31 #include <sys/open.h> 72 ics951601_open, /* open */ 181 * Make sure the open is for the right file type
|