Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c357 static Sg_map sg_map_arr[(sizeof(devices) / sizeof(char *)) + 1]; variable
5821 ioctl(fd, SCSI_IOCTL_GET_BUS_NUMBER, &(sg_map_arr[j].bus)); in show_devices()
5837 sg_map_arr[j].channel = (m_idlun.dev_id >> 16) & 0xff; in show_devices()
5838 sg_map_arr[j].lun = (m_idlun.dev_id >> 8) & 0xff; in show_devices()
5839 sg_map_arr[j].target_id = m_idlun.dev_id & 0xff; in show_devices()
5840 sg_map_arr[j].dev_name = devices[k]; in show_devices()
5842 printf("[scsi%d ch=%d id=%d lun=%d %s] ", sg_map_arr[j].bus, in show_devices()
5843 sg_map_arr[j].channel, sg_map_arr[j].target_id, in show_devices()
5844 sg_map_arr[j].lun, sg_map_arr[j].dev_name); in show_devices()
5899 for (j = 0; sg_map_arr[j].dev_name; ++j) { in show_devices()
[all …]