Lines Matching defs:file

4    This file is part of the SANE package.
29 the executable file might be covered by the GNU General Public
40 This file provides a generic SCSI interface. */
351 To get this file compiling also with older versions of sg.h, the
427 u_int fake_fd:1; /* is this a fake file descriptor? */
517 static HFILE driver_handle = 0; /* file handle for device 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");
757 DBG (2, "open_aspi: close temporary file '%s'\n", tmpAspi);
803 get_max_buffer_size (const char *file)
811 fd = rsm_open_device(file, O_RDWR);
815 fd = open (file, O_RDWR);
833 DBG (4, "get_max_buffer_size for %s: %i\n", file,
1358 DBG (1, "sanei_scsi_open: The file %s is not an SG device file\n",
1422 an SG device file
1426 DBG (1, "sanei_scsi_open: The file %s is not an SG device file\n",
1982 "Check file PROBLEMS.\n");
2060 /* sanei_scsi_open allows only one open file handle, so we
2492 numbers (i.e. <host,bus,id,lun>) with a sg device file name
2527 static int /* Returns open sg file descriptor, or -1 for no access,
2668 { /* no candidate sg device file name found, try /dev/sg0,1 */
2696 static void /* calls 'attach' function pointer with sg device file name iff match */
2937 void /* calls 'attach' function pointer with sg device file name iff match */
4177 DBG (2, "find_devices: open temporary file '%s'\n", tmpAspi);
4256 DBG (2, "find_devices: close temporary file '%s'\n", tmpAspi);
4505 int fd; /* SCSI file */
4563 "sanei_scsi_find_devices: unable to open device file - %s.\n",