/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_dev.h | 54 int (*open)(); /* Open device */ member in struct:nsc_io_s 184 int sf_reopen; /* Re-open required */
|
H A D | nsc_power.c | 31 #include <sys/open.h>
|
/illumos-gate/usr/src/test/zfs-tests/cmd/file_write/ |
H A D | file_write.c | 165 * Given an operation (create/overwrite/append), open the file 168 if ((bigfd = open(filename, oflag, 0666)) == -1) { 169 (void) printf("open %s: failed [%s]%d. Aborting!\n", filename,
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | audioio.h | 86 uchar_t open; /* non-zero if open access permitted */ member in struct:audio_prinfo
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | server_dict.c | 119 if ((fd = open(params->dict_file, O_RDONLY)) == -1) {
|
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_provider.c | 33 #include <sys/open.h>
|
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | balloon_drv.c | 36 #include <sys/open.h>
|
H A D | domcaps.c | 35 #include <sys/open.h>
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | ifdef.c | 102 else if ( (ttyi = open(line, O_RDWR)) == -1 ) 103 error(FATAL, "can't open %s", line); 374 } else if ( (ttyi = open(line, O_RDWR)) == -1 ) 375 error(FATAL, "can't open %s", line); 614 else if ( (ttyi = open(line, O_RDWR)) == -1 ) 615 error(FATAL, "can't open %s", line); 957 if ( (ttyi = open(line, O_RDWR)) == -1 ) 958 error(FATAL, "can't open %s", line);
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 169 if ((fcode_fd = open(file, O_RDONLY)) < 0) { 171 MSGSTR(21000, "Error: Could not open %s\n"), file); 279 if ((fd = open(&pcibus_list[i][0], O_RDWR)) < 0) { 281 MSGSTR(21000, "Error: Could not open %s\n"), 410 if ((fd = open(&pcibus_list[index][0], O_RDWR)) < 0) { 412 MSGSTR(21000, "Error: Could not open %s\n"), 459 if ((fd = open(&pcibus_list[index][0], O_RDWR)) < 0) { 461 MSGSTR(4511, "Could not open %s\n"), 643 if ((testopen = open(devpath, O_RDONLY)) >= 0) { 713 MSGSTR(21000, "Error: Could not open [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestDrop.java | 153 consumer.open();
|
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | util.py | 38 dev = open("/dev/zfs", "w")
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | hg-active.py | 82 sys.stderr.write("failed to open repository: %s\n" % e) 94 fh = open(outputfile, 'w') 96 sys.stderr.write("could not open output file: %s\n" % e)
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | gzguts.h | 39 # define open _open macro
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | host.c | 54 return (CALLBACK(open, upath, &f->f_fsdata));
|
/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | acquire-lock.c | 153 fd = open(path, rdonly ? O_RDONLY : O_WRONLY); 155 err(EXIT_FAILURE, "Failed to open %s", path);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | asppp2pppd | 299 open(SVCFILE, '<' . $file) || return undef; 340 if (!open(POSFILE, '<' . $file)) { 364 if (!open(POSFILE, '<' . $file)) { 442 open ASPPPD, "<" . $aspppcf || die "$aspppcf: $!\n"; 541 open PMADM, "pmadm -L|" || (warn "pmadm: $!\n", return undef); 736 open IFLIST, "/usr/sbin/ifconfig -au4|" || die "cannot run ifconfig: $!\n"; 925 open SEDFILE, ">$sedpasswd" || die "Cannot write $sedpasswd: $!\n"; 977 if (open(OPTIONS,"<" . $options)) { 1270 open(OPTIONS,"<" . $options) || die "$options disappeared: $!\n"; 1351 if (open(SECRET [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 61 #include <sys/open.h> 462 fd = open(path, O_RDONLY); 835 fd = open(path, O_RDWR); 888 sensorp->fd = open(path, O_RDWR); 1005 sysfd = open(hwm_devs[sys_id], O_RDWR); 1093 pm_fd = open(PM_DEVICE, O_RDWR); 1399 fd = open(hwm_devs[hwm_id], O_RDWR); 1483 * Setup temperature sensors and fail if we can't open 1635 fd = open(CPU_HWM_DEVFS, O_RDWR); 1677 fd = open(CPU_HWM_DEVF [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_repartition.c | 64 if ((fd = open(rname, (O_RDONLY|O_NDELAY), 0)) < 0) { 75 fd = open(n, (O_RDONLY|O_NDELAY), 0);
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_write.c | 111 fd = open(file, O_RDWR|O_CREAT|O_EXCL, 0644); 113 fd = open(file, O_RDWR);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 175 /* n */ "prom open", 542 if ((fd = open(ap_id, O_RDWR, 0)) == -1) 576 if ((sim_fd = open("/tmp/cfga_simdata", O_RDWR|O_CREAT)) == -1) { 592 } else if ((fd = open(ap_id, O_RDWR, 0)) == -1) 609 return (open(a, b, c)); 655 #define open(a, b, c) sim_open((char *)(a), (int)(b), (int)(c)) macro 723 if ((prom_fd = open(promdev, O_RDWR, 0)) < 0) 770 if ((prom_fd = open(promdev, O_RDWR, 0)) < 0) 1126 else if (((fd = open(ap_id, O_RDWR, 0)) == -1) ||
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_fs.c | 164 (void) open("/dev/null", O_WRONLY, mode); 165 (void) open("/dev/null", O_WRONLY, mode);
|
/illumos-gate/usr/src/lib/libsum/common/ |
H A D | sumlib.c | 48 Sum_t* (*open)(const struct Method_s*, const char*); member in struct:Method_s 270 * open sum method name 288 return (*methods[n].open)(&methods[n], name); 347 * close an open sum handle
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | Makefile.com | 28 OBJECTS.c= open.o \
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | scratchops.c | 97 if ((fd = open(mapfile, flags, 0644)) == -1) { 109 fd = open(mapfile, O_RDWR);
|