Searched refs:open (Results 726 - 750 of 1624) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/uts/intel/io/ipmi/
H A Dipmi.c40 #include <sys/open.h>
/illumos-gate/usr/src/uts/intel/io/
H A Ducode_drv.c30 #include <sys/open.h>
/illumos-gate/usr/src/cmd/lockstat/
H A Dsym.c150 if ((fd = open("/dev/ksyms", O_RDONLY)) == -1)
/illumos-gate/usr/src/cmd/lp/filter/postscript/download/
H A Ddownload.c272 * combined to build the final pathname. If we can open the file we read it all
275 * nothing was in the file or we couldn't open it.
289 if ( (fd = open(path, 0)) != -1 ) {
381 error(FATAL, "can't open %s", *argv);
435 error(FATAL, "can't open %s", temp_file);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A DSyscalls.c268 while ((n = open(s, i, j)) == -1 && errno == EINTR)
/illumos-gate/usr/src/cmd/luxadm/
H A Dfabric_conf.c111 fd = open(repos_filename, O_RDONLY);
115 "fopen failed: cannot open repository file %s. %d",
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dlock_update.c120 * Try to open the file. If file doesn't exist, or size is too small,
130 lockfile = open(LOCKFILE, O_RDWR|O_CREAT, 0600);
172 "open(%s) => errno=%d", LOCKFILE, errno);
177 * File exists with correct size, is open, and we're holding
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgtxt.c69 #define DB_OPEN 2 /* Already tried to open */
71 /* Minimum number of open catalogues */
161 if ((fd = open(pathname, O_RDONLY)) != -1 &&
253 * try to open the catalogue again.
/illumos-gate/usr/src/lib/libkstat/common/
H A Dkstat.c73 kd = open("/dev/kstat", O_RDONLY);
/illumos-gate/usr/src/cmd/ptools/ptime/
H A Dptime.c207 if ((fd = open(pathname, O_RDONLY)) < 0)
208 return (perr("open usage"));
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/
H A Dpiclsbl.c159 if ((fd = open(hba_devctl, O_RDONLY)) < 0) {
/illumos-gate/usr/src/lib/fm/libfmd_agent/common/
H A Dfmd_agent.c169 if ((fd = open("/dev/fm", mode)) < 0)
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_chkpnt.c110 NDMP_LOG(LOG_ERR, "Cannot open snapshot %s.", volname);
196 NDMP_LOG(LOG_ERR, "Cannot open volume %s.", volname);
200 if (cleanup_fd == -1 && (cleanup_fd = open(ZFS_DEV,
202 NDMP_LOG(LOG_ERR, "Cannot open dev %d", errno);
226 NDMP_LOG(LOG_ERR, "Cannot open volume %s", volname);
324 NDMP_LOG(LOG_DEBUG, "snapshot_destroy: open %s failed",
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbzipfs.c174 /* Try to open the compressed datafile */
175 rawfd = open(bzfname, O_RDONLY);
369 /* Small test case, open and decompress test.bz2 */
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dboot.c306 if ((fd = open(lbuf, O_RDONLY)) < 0)
H A Dinstall.c247 command_errmsg = "cannot open package";
261 fd = open("/metatags", O_RDONLY);
H A Dinterp.c193 if (((fd = open(filename, O_RDONLY)) == -1)) {
194 snprintf(command_errbuf, sizeof (command_errbuf), "can't open '%s': %s",
H A Dinterp_forth.c317 fd = open(rc, O_RDONLY);
/illumos-gate/usr/src/boot/sys/boot/userboot/libstand/
H A DMakefile122 fstat.c close.c lseek.c open.c read.c write.c readdir.c
/illumos-gate/usr/src/lib/libdtrace_jni/common/
H A Ddtrace_jni.c376 int fd = open("/proc/self/auxv", O_RDONLY);
533 /* Get open flags */
573 * Repeated calls to open() when the consumer table is maxed out should
749 dtj_throw_dtrace_exception(&jc, "failed to open %s", file);
1315 int open; local
1318 open = 0;
1320 open = g_consumer_count;
1323 return (open);
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dos.c128 ** int fd1 = open("./file1", O_RDWR|O_CREAT, 0644);
129 ** int fd2 = open("./file2", O_RDWR|O_CREAT, 0644);
180 ** per open inode, which means that multiple OsFiles can point to a single
182 ** other OsFiles open on the same inode that are holding locks, the call
219 ** An instance of the following structure is allocated for each open
244 ** An instance of the following structure is allocated for each open
380 ** When testing, keep a count of the number of open files.
448 ** Attempt to open a file for both reading and writing. If that
452 ** On success, a handle for the open file is written to *id
468 id->fd = open(zFilenam
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c1057 if ((p = open("/dev/ptmx", O_RDWR)) == -1)
1058 fatalperror(f, "cannot open /dev/ptmx");
1065 if ((t = open(line, O_RDWR)) == -1)
1066 fatal(f, "could not open slave pty");
1163 if ((tt = open(line, O_RDWR)) == -1)
1164 fatalperror(f, "could not re-open slave pty");
1357 if ((ptmfd = open("/dev/logindmux", O_RDWR)) == -1)
1358 fatalperror(f, "open /dev/logindmux");
1360 if ((netfd = open("/dev/logindmux", O_RDWR)) == -1)
1361 fatalperror(f, "open /de
[all...]
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c159 mapfd = open(ondiskname, O_RDWR|O_CREAT|O_SYNC, S_IRUSR | S_IWUSR);
162 if ((mapfd = open(ondiskname, O_RDONLY)) < 0) {
164 gettext("Unable to open or create %s:%s\n"),
1252 fd = open(realpath, O_RDONLY|O_NDELAY);
1254 fd = open(openpath, O_RDONLY|O_NDELAY);
1258 logmsg(MSG_INFO, "Unable to open path %s: %s\n",
1326 vhci_fd = open(VHCI_CTL_NODE, O_RDWR);
1460 logmsg(MSG_INFO, "Unable to open vfstab or create a backup "
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_sun.c34 * exclusive audio device, for each PID, as determined during open(2).
41 * is, a device open for reading won't intefere with a future open for
45 * if a process tries to open an audio device at the same time it
59 * - Corollary: processes that want asynch. notifications will open
64 * - By corollary, a process is only allowed to open /dev/audio once
67 * - Attempts to open /dev/audio in duplex mode (O_RDWR) fail (EBUSY)
70 * - Attempts to open a device with FREAD set fail if the device is not
84 #include <sys/open.h>
254 * audio(7I) says: Upon the initial open() o
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c114 if ((mapfd = open(mapfile, O_RDONLY)) < 0 ||
147 if ((fd = open(auxfile, O_RDONLY)) < 0) {
148 dprintf("%s: failed to open %s: %s\n",
513 * Exclusive write open advises others not to interfere.
514 * There is no reason for any of these open()s to fail.
517 if ((fd = open(procname, (O_RDWR|O_EXCL))) < 0 ||
519 dprintf("Pcreate: failed to open %s: %s\n",
527 if ((fd = open(procname, O_RDONLY)) < 0 ||
529 dprintf("Pcreate: failed to open %s: %s\n",
537 if ((fd = open(procnam
[all...]

Completed in 103 milliseconds

<<21222324252627282930>>