/illumos-gate/usr/src/test/zfs-tests/cmd/largest_file/ |
H A D | largest_file.c | 73 fd = open(testfile, O_CREAT | O_RDWR, mode);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/randfree_file/ |
H A D | randfree_file.c | 85 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, mode)) < 0) { 86 perror("open");
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kiconv.h | 51 * have corresponding module id and internal function pointers to open(), 58 void *(*open)(void); member in struct:__anon8027 105 void *handle; /* Handle from the actual open(). */
|
/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | pager.c | 69 fd = open("/dev/tty", O_WRONLY, 0);
|
/illumos-gate/usr/src/cmd/make/lib/vroot/ |
H A D | Makefile | 28 open.o \
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | timerfd.c | 39 if ((fd = open("/dev/timerfd", oflags)) < 0)
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | hdrchk.py | 62 fh = open(filename, 'r') 64 sys.stderr.write("failed to open '%s': %s\n" %
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | pager.c | 43 * 'open' the pager 138 if ((fd = open(fname, O_RDONLY)) == -1) { 139 printf("can't open '%s': %s\n", fname, strerror(errno));
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | syslog.c | 219 if ((procfd = open(procfile, O_RDONLY)) >= 0) { 370 if (((fd = open(sysmsg, O_WRONLY)) >= 0) || 371 (fd = open(ctty, O_WRONLY)) >= 0) { 395 if ((d = open(DOORFILE, O_RDONLY)) < 0) 424 * OPENLOG -- open system log 441 * then we must open the file 448 LogFile = open(logname, O_WRONLY);
|
/illumos-gate/usr/src/cmd/power/ |
H A D | conf.c | 172 if ((fd = open("/dev/tod", O_RDONLY)) != -1) { 179 * Read in the cpr conf file. If any open or read error occurs, 184 if ((fd = open(cpr_conf, O_RDONLY)) == -1) { 186 mesg(MEXIT, err_fmt, gettext("cannot open"), 205 * Unconfigure and reset PM, device is left open for later use. 212 if ((pm_fd = open("/dev/pm", O_RDWR)) == -1) 213 err_fmt = "cannot open \"/dev/pm\": %s\n"; 227 if ((fd = open(PIDPATH, O_RDONLY)) == -1) 273 if ((fd = open(cpr_conf, O_CREAT | O_TRUNC | O_WRONLY, 0644)) == -1) 274 err_fmt = "cannot open/creat [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | callers.c | 281 /* We do locking (file and advisory) after open */ 291 /* take care of the possible partial open fd */ 292 (void) close(nullfd = open("/", O_RDONLY)); 295 DEBUG(1, "generic open timeout\n%s", ""); 296 logent("generic open", "TIMEOUT"); 304 dcf = open(dcname, (O_RDWR | O_NDELAY) ); 307 dcf = open(dcname, O_RDWR ); 313 DEBUG(1, "generic open failed, errno = %d\n", errno); 315 logent("generic open", "FAILED"); 422 if ((ndcf = open(saved_dcnam [all...] |
H A D | cpmv.c | 52 if ((fd1 = open(f1, O_RDONLY)) == -1) 71 /* open of temp may fail if called from uidxcp() */ 74 if ((fd2 = open(temp_p, O_CREAT | O_TRUNC | O_WRONLY, 76 DEBUG(5, "open of file returned errno %d\n", errno);
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fcalupdate.c | 151 if ((fd1 = open(file, O_RDONLY)) == -1) { 154 "Error: open() failed on file " 215 if ((fd = open(socal, O_RDWR)) < 0) { 217 if ((fd = open(socal, O_RDWR)) < 0) { 219 MSGSTR(4505, "Could not open %s\n"), 237 fd = open(slotname, O_RDWR); 240 perror(MSGSTR(4507, "open of slotname")); 320 if ((fd = open(socal, O_RDWR)) < 0) { 322 if ((fd = open(socal, O_RDWR)) < 0) { 324 MSGSTR(4511, "Could not open [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_thread.c | 90 /* Make sure taskq is open for business */ 91 if (!taskq->open) { 149 /* If taskq is already open then quit */ 150 if (taskq->open) { 183 taskq->open = 1; 199 if (!taskq->open) { 206 if (!taskq->open) { 211 taskq->open = 0;
|
/illumos-gate/usr/src/lib/lvm/libsvm/common/ |
H A D | start_svm.c | 244 if ((fromfd = open(from, O_RDONLY | O_NDELAY)) < 0) 252 if ((tofd = open(to, O_CREAT | O_WRONLY | O_TRUNC,
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | dict.c | 69 if ((lockfd = open(dblock, O_WRONLY|O_CREAT|O_EXCL, 0400)) == -1) { 71 lockfd = open(dblock, O_WRONLY); 75 "can't open lockfile: %s", strerror(errno)); 141 /* verify database version number by trying to open it */
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_vartree003.sh | 119 fox-gate/XW_NV/open-src/tarballs/xorg-server-1.3.0.0/hw/xprint/config/C/print/models/PSdefault/fonts/AvantGarde-Demi.pmf 142 fox-gate/XW_NV/open-src/tarballs/xorg-server-1.3.0.0/hw/xprint/config/C/print/models/PSdefault/fonts/AvantGarde-DemiOblique.pmf
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | iod_cl.c | 97 fd = open(path, O_RDONLY, 0); 138 fd = open(svc_door, O_RDONLY, 0); 141 DPRINT("%s: open failed, err %d", svc_door, err);
|
/illumos-gate/usr/src/lib/libnsctl/common/ |
H A D | machdep.c | 67 if ((fd = open("/dev/ncall", O_RDONLY)) < 0) { 114 fd = open("/dev/ncall", O_RDONLY);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_prom.c | 78 prom_fd = open(PROMDEV, O_RDONLY); 94 prom_fd = open(PROMDEV, O_RDWR);
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/ |
H A D | Intrs.xs | 50 return (open(intrpath, O_RDWR));
|
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/ |
H A D | mddoors.c | 59 daemon_lock_fd = open(daemon_lock_file, O_CREAT|O_RDWR, 0644); 226 i = open("/dev/null", 2);
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestGetAggregate.java | 177 consumer.open(); 211 consumer.open();
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | warmstart.c | 66 * Use open O_CREAT|O_EXCL so file is not created 67 * between unlink() and open() operation. 73 fd = open(filename, O_CREAT|O_EXCL|O_WRONLY, 0600); 100 "cannot open file = %s for writing", filename); 126 fd = open(filename, O_RDONLY, 0600); 129 "rpcbind: cannot open file = %s for reading\n", filename); 136 "rpcbind: cannot open file = %s for reading\n", filename);
|
/illumos-gate/usr/src/cmd/audio/audioplay/ |
H A D | audioplay.c | 193 /* Return if already open */ 198 Audio_fd = open(Audio_dev, O_WRONLY | O_NONBLOCK); 210 /* Now hang until it's open */ 211 Audio_fd = open(Audio_dev, O_WRONLY); 213 Error(stderr, (Audio_fd < 0) ? "\n" : MGET("open\n")); 221 /* Clear the non-blocking flag (in System V it persists after open) */ 322 /* Validate and open the audio device */ 342 Audio_fd = open(Audio_dev, O_WRONLY | O_NONBLOCK); 353 /* Try to open the control device and save the current format */ 355 Audio_ctlfd = open(ctlde [all...] |