Searched refs:open (Results 976 - 1000 of 1624) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c601 if ((fd = open(pidpath, O_RDONLY)) < 0 ||
/illumos-gate/usr/src/cmd/last/
H A Dlast.c235 wtmp = open(wtmpfile, 0);
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_change.c604 if ((fd = open(fname, O_RDONLY)) >= 0) {
/illumos-gate/usr/src/cmd/ldmad/
H A Dldmad.c597 if (open("/dev/null", O_RDWR) == -1) {
598 LDMA_ERR("open /dev/null error (%d)", errno);
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c395 (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 Dtabs.c409 if ((fildes = open(scan, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Dt10.c104 /* 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 Dtmchild.c245 /* 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 Dsmb_dev.c46 #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 Dsed1.c113 if ((f = open(file, 0)) < 0) {
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c107 if ((fd = open(name, 0)) < 0)
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dkssl.c39 #include <sys/open.h>
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_impl.h159 * 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 Dioat.c35 #include <sys/open.h>
/illumos-gate/usr/src/uts/common/io/
H A Dsrn.c36 #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 Dtphci.c34 #include <sys/open.h>
70 tphci_open, /* open */
H A Diwscons.c51 #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 Demlxs_os.h114 #include <sys/open.h>
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c347 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 Ddevreserv.c183 /* 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 Dputdgrp.c148 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 Dmdesc.c34 #include <sys/open.h>
/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx_tools.c36 #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 Dadm1026.c28 #include <sys/open.h> /* for open params. */
92 adm1026_open, /* open */
H A Dics951601.c31 #include <sys/open.h>
72 ics951601_open, /* open */
181 * Make sure the open is for the right file type

Completed in 162 milliseconds

<<31323334353637383940>>