/illumos-gate/usr/src/uts/intel/io/ipmi/ |
H A D | ipmi.c | 40 #include <sys/open.h>
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | ucode_drv.c | 30 #include <sys/open.h>
|
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | sym.c | 150 if ((fd = open("/dev/ksyms", O_RDONLY)) == -1)
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/download/ |
H A D | download.c | 272 * 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 D | Syscalls.c | 268 while ((n = open(s, i, j)) == -1 && errno == EINTR)
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fabric_conf.c | 111 fd = open(repos_filename, O_RDONLY); 115 "fopen failed: cannot open repository file %s. %d",
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | lock_update.c | 120 * 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 D | gtxt.c | 69 #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 D | kstat.c | 73 kd = open("/dev/kstat", O_RDONLY);
|
/illumos-gate/usr/src/cmd/ptools/ptime/ |
H A D | ptime.c | 207 if ((fd = open(pathname, O_RDONLY)) < 0) 208 return (perr("open usage"));
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/ |
H A D | piclsbl.c | 159 if ((fd = open(hba_devctl, O_RDONLY)) < 0) {
|
/illumos-gate/usr/src/lib/fm/libfmd_agent/common/ |
H A D | fmd_agent.c | 169 if ((fd = open("/dev/fm", mode)) < 0)
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_chkpnt.c | 110 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 D | bzipfs.c | 174 /* 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 D | boot.c | 306 if ((fd = open(lbuf, O_RDONLY)) < 0)
|
H A D | install.c | 247 command_errmsg = "cannot open package"; 261 fd = open("/metatags", O_RDONLY);
|
H A D | interp.c | 193 if (((fd = open(filename, O_RDONLY)) == -1)) { 194 snprintf(command_errbuf, sizeof (command_errbuf), "can't open '%s': %s",
|
H A D | interp_forth.c | 317 fd = open(rc, O_RDONLY);
|
/illumos-gate/usr/src/boot/sys/boot/userboot/libstand/ |
H A D | Makefile | 122 fstat.c close.c lseek.c open.c read.c write.c readdir.c
|
/illumos-gate/usr/src/lib/libdtrace_jni/common/ |
H A D | dtrace_jni.c | 376 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 D | os.c | 128 ** 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 D | in.rlogind.c | 1057 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 D | stmsboot_util.c | 159 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 D | audio_sun.c | 34 * 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 D | Pcontrol.c | 114 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...] |