Searched refs:num_luns (Results 1 – 10 of 10) sorted by relevance
1317 unsigned int num_luns; in scsi_report_lun_scan() local1435 num_luns = (length / sizeof(struct scsi_lun)); in scsi_report_lun_scan()1436 if (num_luns > max_scsi_report_luns) { in scsi_report_lun_scan()1440 max_scsi_report_luns, num_luns); in scsi_report_lun_scan()1441 num_luns = max_scsi_report_luns; in scsi_report_lun_scan()1451 for (lunp = &lun_data[1]; lunp <= &lun_data[num_luns]; lunp++) { in scsi_report_lun_scan()
158 unsigned char num_luns; /* number of supported luns per device */ member
1185 __u32 num_luns=0; in cciss_update_non_disk_devices() local1204 num_luns = ((ch[0]<<24) | (ch[1]<<16) | (ch[2]<<8) | ch[3]) / 8; in cciss_update_non_disk_devices()1205 if (num_luns > CISS_MAX_PHYS_LUN) { in cciss_update_non_disk_devices()1209 num_luns - CISS_MAX_PHYS_LUN); in cciss_update_non_disk_devices()1210 num_luns = CISS_MAX_PHYS_LUN; in cciss_update_non_disk_devices()1220 for (i = 0; i < num_luns; i++) { in cciss_update_non_disk_devices()
71 int num_luns; member
268 h->num_luns, in cciss_seq_show_header()1501 ++h->num_luns; in cciss_update_drive_info()1624 int num_luns; in rebuild_lun_table() local1663 num_luns = listlength / 8; /* 8 bytes per entry */ in rebuild_lun_table()1664 if (num_luns > CISS_MAX_LUN) { in rebuild_lun_table()1665 num_luns = CISS_MAX_LUN; in rebuild_lun_table()1671 if (num_luns == 0) in rebuild_lun_table()1687 for (j = 0; j < num_luns; j++) { in rebuild_lun_table()1710 for (i = 0; i < num_luns; i++) { in rebuild_lun_table()1830 --h->num_luns; in deregister_disk()[all …]
585 vtarget->num_luns, in mptfc_dump_lun_info()629 if (vtarget->num_luns == 0) { in mptfc_slave_alloc()637 vtarget->num_luns++; in mptfc_slave_alloc()
729 vtarget->num_luns++; in mptspi_slave_alloc()797 if (vtarget->num_luns == 1 && vdevice->configured_lun) { in mptspi_slave_destroy()
384 u32 num_luns; member
2381 vtarget->num_luns--; in mptscsih_slave_destroy()
1003 vdevice->vtarget->num_luns++; in mptsas_slave_alloc()