Home
last modified time | relevance | path

Searched refs:real_buffersize (Results 1 – 2 of 2) sorted by relevance

/dports/graphics/sane-backends/sane-backends-1.0.32/sanei/
H A Dsanei_scsi.c1336 int real_buffersize; in sanei_scsi_open_extended() local
1386 if (0 == ioctl (fd, SG_GET_RESERVED_SIZE, &real_buffersize)) in sanei_scsi_open_extended()
1392 if (real_buffersize < *buffersize) in sanei_scsi_open_extended()
1393 *buffersize = real_buffersize; in sanei_scsi_open_extended()
1517 int wanted_buffersize = SCSIBUFFERSIZE, real_buffersize; in sanei_scsi_open() local
1535 real_buffersize = wanted_buffersize; in sanei_scsi_open()
1537 &real_buffersize); in sanei_scsi_open()
1542 if (!first_time && real_buffersize != wanted_buffersize) in sanei_scsi_open()
1545 "wanted: %i got: %i\n", wanted_buffersize, real_buffersize); in sanei_scsi_open()
/dports/graphics/sane-epkowa/iscan-2.11.0/sanei/
H A Dsanei_scsi.c1299 int real_buffersize; in sanei_scsi_open_extended() local
1349 if (0 == ioctl (fd, SG_GET_RESERVED_SIZE, &real_buffersize)) in sanei_scsi_open_extended()
1355 if (real_buffersize < *buffersize) in sanei_scsi_open_extended()
1356 *buffersize = real_buffersize; in sanei_scsi_open_extended()
1480 int wanted_buffersize = SCSIBUFFERSIZE, real_buffersize; in sanei_scsi_open() local
1498 real_buffersize = wanted_buffersize; in sanei_scsi_open()
1500 &real_buffersize); in sanei_scsi_open()
1505 if (!first_time && real_buffersize != wanted_buffersize) in sanei_scsi_open()
1508 "wanted: %i got: %i\n", wanted_buffersize, real_buffersize); in sanei_scsi_open()