Searched refs:my_idlun (Results 1 – 1 of 1) sorted by relevance
655 My_scsi_idlun my_idlun; in run_sg_scan_tests() local701 res = ioctl(sg_fd, SCSI_IOCTL_GET_IDLUN, &my_idlun); in run_sg_scan_tests()732 (my_idlun.dev_id >> 16) & 0xff, my_idlun.dev_id & 0xff, in run_sg_scan_tests()733 (my_idlun.dev_id >> 8) & 0xff); in run_sg_scan_tests()737 printf(", huid=%d", my_idlun.host_unique_id); in run_sg_scan_tests()3249 static int find_dev_in_sg_arr(My_scsi_idlun * my_idlun, int host_no, in find_dev_in_sg_arr() argument3258 ((my_idlun->dev_id & 0xff) == sidp->scsi_id) && in find_dev_in_sg_arr()3259 (((my_idlun->dev_id >> 8) & 0xff) == sidp->lun) && in find_dev_in_sg_arr()3260 (((my_idlun->dev_id >> 16) & 0xff) == sidp->channel)) in find_dev_in_sg_arr()3274 My_scsi_idlun my_idlun; in scan_dev_type() local[all …]