Searched refs:open (Results 476 - 500 of 1624) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/fs.d/smbclnt/chacl/
H A Dchacl.c169 * The driver will re-open with the necessary
172 fd = open(file, O_RDONLY, 0);
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/
H A Dfssnap.c210 if ((mountfd = open(mountpoint, O_RDONLY)) < 0)
301 if ((ctlfd = open(SNAP_CTL_PATH, O_RDONLY | O_EXCL)) == -1) {
352 if ((ctlfd = open(SNAP_CTL_PATH, O_RDONLY | O_EXCL)) == -1)
642 fd = open(wpath, O_RDWR | O_CREAT | O_EXCL, 0600);
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/
H A Dmount.c350 fd = open(mp, O_RDONLY);
363 fd = open(mp, O_RDONLY);
390 fd = open(mp, O_RDONLY);
599 if ((fd = open(MNTTAB, O_RDONLY, 0)) < 0)
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dosspec.c181 if ((mnttab_fd = open (MNTTAB, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/hal/probing/printer/
H A Dprobe-printer.c51 if ((fd = open (device_file, O_RDONLY | O_NONBLOCK)) < 0) {
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dkmem.c90 fd = open(core, mode);
142 perror("openkmem:open");
H A Dload_hash.c36 hashfd = open(IPLOOKUP_NAME, O_RDWR);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool.c361 fd = open(IPLOOKUP_NAME, O_RDWR);
363 perror("open(IPLOOKUP_NAME)");
447 fd = open(IPLOOKUP_NAME, O_RDWR);
449 perror("open(IPLOOKUP_NAME)");
703 fd = open(IPLOOKUP_NAME, O_RDWR);
705 perror("open(IPLOOKUP_NAME)");
792 fd = open(IPLOOKUP_NAME, O_RDWR);
794 perror("open(IPLOOKUP_NAME)");
/illumos-gate/usr/src/cmd/iscsitsvc/
H A Discsitsvc.c95 *fd = open(ISCSIT_NODE, O_RDONLY);
98 (void) fprintf(stdout, "open failed: EPERM");
101 (void) fprintf(stdout, "open failed: INVALID");
132 (void) fprintf(stdout, "Unable to open device %s", ISCSIT_NODE);
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Ddumpbind.c161 if ((fd = open(fname, O_RDWR)) == -1) {
163 "dumpbindings: unable to open file: %s\n", fname);
164 perror("open");
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A DsymintOpen.c53 * to open.
69 * Under ELF, the file must be opened using a system open call. The file
78 * Thus, for ELF, an open will consist of opening the file and extracting
80 * open is as follows; the code for building the symbol table (extracting
92 *fail_open_s = "Unable to open file",
132 * Elf file open operation
135 * - open file
163 DEBUG_EXP(printf("Attempting to open %s\n", aout_name));
166 if ((pfile_p->pf_fildes = open(aout_name, O_RDONLY)) == -1)
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dlocale.c157 if ((fd = open(path, O_RDONLY, 0)) == -1)
/illumos-gate/usr/src/cmd/srchtxt/
H A Dsrchtxt.c245 if ((fd = open(path, O_RDONLY)) != -1 &&
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrace.c194 log = open(LOGDEV, O_RDWR);
196 fprintf(stderr, "ERROR: unable to open %s\n", LOGDEV);
H A Dstrerr.c120 fd = open(LOGDEV, O_RDWR);
122 fprintf(stderr, "ERROR: unable to open %s\n", LOGDEV);
153 fprintf(stderr, "ERROR: unable to open %s\n", errfile);
/illumos-gate/usr/src/cmd/latencytop/common/
H A Dutil.c143 fd = open(name, O_RDONLY);
/illumos-gate/usr/src/cmd/lms/tools/
H A DATVersion.cpp139 pidf.open(status_path);
/illumos-gate/usr/src/cmd/loadkeys/
H A Ddumpkeys.c80 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) {
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dlockinst.c69 #define ERR_NOOPEN "unable to open <%s>."
188 /* LINTED O_CREAT without O_EXCL specified in call to open() */
189 if ((fd = open(lockpath, O_RDWR | O_CREAT, 0600)) == -1) {
/illumos-gate/usr/src/cmd/tip/
H A Duucplock.c125 fd = open(file, 0);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_onexit.c29 #include <sys/open.h>
47 * clone-open, generating a unique minor number. The process then passes
/illumos-gate/usr/src/tools/chk4ubin/
H A Dchk4ubin.c148 if ((fd = open(path, O_RDONLY)) == -1) {
149 (void) printf("%s: cannot open %s - %s\n",
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dctfconvert.c91 if ((fd = open(filename, O_RDONLY)) < 0)
92 terminate("failed to open %s", filename);
/illumos-gate/usr/src/tools/elfextract/
H A Delfextract.c217 fd = open(fname, O_RDONLY);
219 (void) fprintf(stderr, "%s: open(%s, O_RDONLY) failed, %s\n",
/illumos-gate/usr/src/tools/mbh_patch/
H A Dmbh_patch.c181 if ((fd = open(fname, O_RDWR)) < 0) {
182 (void) fprintf(stderr, "%s: open(%s, O_RDWR) failed: %s\n",

Completed in 154 milliseconds

<<11121314151617181920>>