Home
last modified time | relevance | path

Searched refs:page_code (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/udev/scsi_id/
Dscsi_id.c49 static enum page_code default_page_code = PAGE_UNSPECIFIED;
320 static int per_dev_options(struct scsi_id_device *dev_scsi, int *good_bad, int *page_code) { in per_dev_options() argument
327 *page_code = default_page_code; in per_dev_options()
348 *page_code = PAGE_80; in per_dev_options()
350 *page_code = PAGE_83; in per_dev_options()
352 *page_code = PAGE_83_PRE_SPC3; in per_dev_options()
398 int page_code; in scsi_id() local
407 per_dev_options(&dev_scsi, &good_dev, &page_code); in scsi_id()
414 scsi_get_serial(&dev_scsi, maj_min_dev, page_code, MAX_SERIAL_LEN); in scsi_id()
Dscsi_id.h53 int page_code, int len);
58 enum page_code { enum
Dscsi_serial.c784 int page_code, int len) { in scsi_get_serial() argument
806 if (page_code == PAGE_80) { in scsi_get_serial()
814 } else if (page_code == PAGE_83) { in scsi_get_serial()
822 } else if (page_code == PAGE_83_PRE_SPC3) { in scsi_get_serial()
847 } else if (page_code != 0x00) { in scsi_get_serial()
848 log_debug("%s: unsupported page code 0x%d", dev_scsi->kernel, page_code); in scsi_get_serial()