Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c367 static my_map_info_t map_arr[MAX_SG_DEVS]; variable
3117 map_arr[k].active = -2; in show_scsi_maps()
3123 map_arr[k].active = -1; in show_scsi_maps()
3135 res = ioctl(sg_fd, SG_GET_SCSI_ID, &map_arr[k].sg_dat); in show_scsi_maps()
3149 memcpy(map_arr[k].vendor, &buff[8], 8); in show_scsi_maps()
3150 memcpy(map_arr[k].product, &buff[16], 16); in show_scsi_maps()
3151 memcpy(map_arr[k].revision, &buff[32], 4); in show_scsi_maps()
3154 map_arr[k].active = 1; in show_scsi_maps()
3155 map_arr[k].oth_dev_num = -1; in show_scsi_maps()
3187 switch (map_arr[k].active) { in show_scsi_maps()
[all …]