Searched refs:open (Results 751 - 775 of 1624) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/
H A Dfru_access.c39 * Define the devfsadm command to load the seeprom drivers if open fails.
745 * FRU with the container to open.
1074 device_fd = open(cont_object->u.cont_obj->device_pathname,
1272 /* open the container */
1273 fd = open(cont_hash->u.cont_obj->device_pathname, O_RDWR);
1560 fd = open(cont_hash->u.cont_obj->device_pathname, O_RDWR);
1695 fd = open(cont_hash->u.cont_obj->device_pathname, O_RDWR);
1997 device_fd = open(cont_hash_obj->u.cont_obj->device_pathname,
2121 device_fd = open(container_hash_obj->u.cont_obj->device_pathname,
2228 fd = open(cont_has
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c38 * Define the devfsadm command to load the seeprom drivers if open fails.
751 * FRU with the container to open.
824 device_fd = open(devpath, O_RDONLY);
1147 open(cont_object->u.cont_obj->device_pathname, O_RDONLY);
1344 /* open the container */
1345 fd = open(cont_hash->u.cont_obj->device_pathname, O_RDWR);
1634 fd = open(cont_hash->u.cont_obj->device_pathname, O_RDWR);
1767 fd = open(cont_hash->u.cont_obj->device_pathname, O_RDONLY);
2123 device_fd = open(cont_hash_obj->u.cont_obj->device_pathname,
2331 fd = open(cont_has
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvd.c116 #include <sys/open.h>
960 fd = open(path, O_RDONLY);
1376 pm_fd = open(PM_DEVICE, O_RDONLY);
1418 fd = open(path, O_RDWR);
1643 sensorp->fd = open(path, O_RDWR);
2125 * Setup temperature sensors and fail if we can't open
2134 xwd = open(XCALWD_DEVFS, O_RDONLY);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c178 static bool privopen; /* don't lock, open device as root */
311 * Ensure that fds 0, 1, 2 are open, to /dev/null if nowhere else.
315 if ((i = open(_PATH_DEVNULL, O_RDWR)) >= 0) {
476 * If the device is already open read/write on stdin,
477 * we assume we don't need to lock it, and we can open it as root.
517 warn("Warning: couldn't open ppp database %s", _PATH_PPPDB);
661 * First we open it in non-blocking mode so we can set the
679 ttyfd = open(devnam, O_NONBLOCK | O_RDWR);
687 error("Failed to open %s: %m", devnam);
815 if ((i = open(devna
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dbackend.c872 int repfd = open(rep_name, O_RDONLY);
873 int fd = open(backup_name, O_RDONLY);
1100 infd = open(src, O_RDONLY);
1504 * Create and open the related db files
1522 if ((srcfd = open(src, O_RDONLY)) < 0) {
1755 configd_critical("Unable to open \"%s\". %s\n",
1919 if ((fd = open(db_file, O_RDONLY)) >= 0) {
1954 if ((fd = open(fname, O_CREAT|O_WRONLY|O_APPEND, 0600)) < 0) {
2672 /* Can't open fast repository. Stick with permanent. */
2673 configd_critical("Cannot open \"
[all...]
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibsysevent.c970 pub_fd = open(sub_info->sp_door_name, O_RDONLY);
1659 if ((sub_fd = open(sub->sd_door_name, O_RDONLY)) == -1) {
1660 dprint("sysevent_send_event: Failed to open "
1979 fd = open(SH_DOOR_NAME(shp), O_CREAT|O_RDWR,
2172 fd = open(SH_DOOR_NAME(shp), O_CREAT|O_RDWR, S_IREAD|S_IWRITE);
2438 if ((sub_fd = open(sub->sd_door_name, O_RDONLY)) == -1) {
2599 pub_fd = open(door_name, O_RDONLY);
H A Dlibevchannel.c154 EV_FD(scp) = open(DEVSYSEVENT, O_RDWR);
162 EV_FD(scp) = open(DEVICESYSEVENT, O_RDWR);
/illumos-gate/usr/src/lib/fm/libldom/sparc/
H A Dldom.c180 if ((fh = open("/devices/pseudo/mdesc@0:mdesc", O_RDONLY, 0)) < 0)
624 if ((fd = open("/dev/bl", O_RDONLY)) < 0)
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_intel.c82 mc_fd = open("/dev/mc/mc", O_RDONLY);
92 mc_fd = open(path, O_RDONLY);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dsetupterm.c266 tfd = open(fname, 0);
282 tfd = open(fname, 0);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c792 * Just open the first devpath.
799 return (open(diskp->aliases->devpaths->devpath, O_RDONLY|O_NDELAY));
801 /* On intel we need to open partition device (e.g. c0d0p1). */
827 return (open(part_dev, O_RDONLY|O_NDELAY));
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_door.c327 (void) syslog(LOG_ERR, "svc_door_create: cannot open %s",
343 fd = open(rendezvous, O_WRONLY|O_CREAT|O_EXCL|O_TRUNC, 0644);
354 fd = open(rendezvous, O_WRONLY | O_CREAT | O_EXCL |
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl.c196 if (write_locked == 1) { /* close and open door */
198 if ((door_handle = open(PICLD_DOOR, O_RDONLY)) < 0) {
252 if ((door_handle = open(PICLD_DOOR, O_RDONLY)) < 0) {
/illumos-gate/usr/src/lib/librdc/common/
H A Drdcpersist.c154 fd = open(SV_DEVICE, O_RDONLY);
212 fd = open(SV_DEVICE, O_RDONLY);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Derrlist63 24 Too many open files
/illumos-gate/usr/src/cmd/vi/port/
H A Dexrecover.c340 * Name begins with E; open it and
345 f = open(filname, 0);
348 fprintf(stderr, "open failed\n");
458 int bestfd; /* Keep best file open so it dont vanish */
485 * Put the file (which is already open) in the file
572 tfile = open(name, 2);
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Ddevice.c146 fd = open (map[drive], O_RDONLY);
571 show_error (line_number, "No open parenthesis found");
685 /* Try to open the device map file to write the probed data. */
895 fd = open (dev, O_RDWR);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfcal_leds_thread.c439 int fd = open(dtls->fcal_leds, O_RDWR);
667 fd_bkplane = open(dtls->fcal_status, O_RDONLY);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dmain.c433 fd = open(cp, O_RDONLY);
460 fd = open(argv[n], O_RDONLY);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c206 (void) open("/", 0);
291 whod = open(path, O_WRONLY | O_CREAT, 0644);
293 syslog(LOG_WARNING, "main: open: %s: %m", path);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c149 pr_err("cannot open \"%s\": %s", linkname,
515 * Writes target buffer to the open file descriptor. Upon detection of a short
579 capfile_out = open(name, O_CREAT | O_TRUNC | O_RDWR, 0666);
611 capfile_in = open(name, O_RDONLY);
613 pr_err("couldn't open %s: %m", name);
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_db.c403 if ((dbfd = open(MED_DB_FILE, OP_FLAGS, 0644)) == -1) {
405 return (med_error(medep, errno, "open_dbfile: open()"));
407 if ((dbfd = open(MED_DB_FILE, CR_FLAGS, 0644)) == -1)
409 "open_dbfile: open(create)"));
/illumos-gate/usr/src/cmd/mailx/
H A Dlex.c187 if ((i = open(name, O_WRONLY)) < 0)
200 if ((fd = open(tempMesg, O_RDWR|O_CREAT|O_EXCL, 0600)) < 0 ||
250 gettext("WARNING: Can't open mail lock file (%s).\n"), semfn);
786 * Close all open files except 0, 1, 2, and the temporary.
788 * annoyed about losing its open file.
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestBean.java546 consumer.open();
567 consumer.open();
730 System.err.println("failed to open " + filename);
/illumos-gate/usr/src/cmd/fmthard/
H A Dfmthard.c71 #include <sys/open.h>
219 if ((fd = open(argv[optind], O_RDWR|O_NDELAY)) < 0) {
220 (void) fprintf(stderr, "fmthard: Cannot open device %s - %s\n",
306 (void) fprintf(stderr, "Cannot open file %s\n",

Completed in 184 milliseconds

<<31323334353637383940>>