Searched refs:open (Results 351 - 375 of 1624) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_dev.h54 int (*open)(); /* Open device */ member in struct:nsc_io_s
184 int sf_reopen; /* Re-open required */
H A Dnsc_power.c31 #include <sys/open.h>
/illumos-gate/usr/src/test/zfs-tests/cmd/file_write/
H A Dfile_write.c165 * 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 Daudioio.h86 uchar_t open; /* non-zero if open access permitted */ member in struct:audio_prinfo
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_dict.c119 if ((fd = open(params->dict_file, O_RDONLY)) == -1) {
/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_provider.c33 #include <sys/open.h>
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dballoon_drv.c36 #include <sys/open.h>
H A Ddomcaps.c35 #include <sys/open.h>
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c102 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 Dqlgcupdate.c169 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 DTestDrop.java153 consumer.open();
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dutil.py38 dev = open("/dev/zfs", "w")
/illumos-gate/usr/src/tools/scripts/
H A Dhg-active.py82 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 Dgzguts.h39 # define open _open macro
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dhost.c54 return (CALLBACK(open, upath, &f->f_fsdata));
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Dacquire-lock.c153 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 Dasppp2pppd299 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 Dpiclenvd.c61 #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 Dmeta_repartition.c64 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 Dnss_write.c111 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 Dcfga.c175 /* 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 Dinuse_fs.c164 (void) open("/dev/null", O_WRONLY, mode);
165 (void) open("/dev/null", O_WRONLY, mode);
/illumos-gate/usr/src/lib/libsum/common/
H A Dsumlib.c48 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 DMakefile.com28 OBJECTS.c= open.o \
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c97 if ((fd = open(mapfile, flags, 0644)) == -1) {
109 fd = open(mapfile, O_RDWR);

Completed in 114 milliseconds

<<11121314151617181920>>