Lines Matching refs:open

556       return 1;			/* Already open. */
572 rc = DosOpen ((PSZ) "aspirou$", /* open driver */
618 DBG (2, "open_aspi: open temporary file '%s'\n", tmpAspi);
621 { /* can't open tmp file */
623 DBG (1, "open_aspi: Can't open temporary file.\n");
815 fd = open (file, O_RDWR);
841 fd = open ("/proc/sys/kernel/sg-big-buff", O_RDONLY);
967 cam_fd = open ("/dev/cam", O_RDWR);
970 DBG (1, "sanei_scsi_open: open(/dev/cam) failed: %s\n",
1013 DomainErrorCheck (status, "Can't open common area");
1047 /* The communication area is open, wait for the initial response */
1052 DomainErrorCheck (status, "Error waiting on initial open EC");
1071 /* Send the command open to the server */
1151 DBG (1, "sanei_scsi_open: can't open device `%s´: %s\n", dev,
1280 fd = open (dev, O_RDWR | O_EXCL
1294 DBG (1, "sanei_scsi_open: open of `%s' failed: %s\n",
1505 /* The "wrapper" for the old open call */
1548 /* dummy for the proposed new open call */
2060 /* sanei_scsi_open allows only one open file handle, so we
2527 static int /* Returns open sg file descriptor, or -1 for no access,
2549 dev_fd = open (name, O_RDWR | O_NONBLOCK);
2655 dev_fd = open (name, O_RDWR | O_NONBLOCK);
2672 return 0; /* no luck finding sg fd to open */
2802 DBG (1, "%s: could not open %s for reading\n", me, PROCFILE);
2971 DBG (1, "%s: could not open %s; falling back to /proc\n",
3076 DBG (1, "%s: could not open %s: %s\n", me, path, strerror(errno));
3449 if ((fd = open (XPT_DEVICE, O_RDWR)) == -1)
3451 DBG (1, "could not open %s\n", XPT_DEVICE);
4175 open_aspi (); /* open aspi manager if not already done */
4177 DBG (2, "find_devices: open temporary file '%s'\n", tmpAspi);
4181 DBG (1, "could not open %s for reading\n", tmpAspi);
4563 "sanei_scsi_find_devices: unable to open device file - %s.\n",
5338 ioReturnValue = (*scsiDeviceInterface)->open (scsiDeviceInterface);