Lines Matching refs:rsc
5578 gdth_ioctl_rescan rsc; in ioc_hdrlist() local
5591 if (copy_from_user(&rsc, (char *)arg, sizeof(gdth_ioctl_rescan)) || in ioc_hdrlist()
5592 rsc.ionode >= gdth_ctr_count) in ioc_hdrlist()
5594 hanum = rsc.ionode; in ioc_hdrlist()
5620 rsc.hdr_list[i].bus = 0xff; in ioc_hdrlist()
5623 rsc.hdr_list[i].bus = ha->virt_bus; in ioc_hdrlist()
5624 rsc.hdr_list[i].target = i; in ioc_hdrlist()
5625 rsc.hdr_list[i].lun = 0; in ioc_hdrlist()
5626 rsc.hdr_list[i].cluster_type = ha->hdr[i].cluster_type; in ioc_hdrlist()
5637 rsc.hdr_list[i].cluster_type = srp->sr_command->SCp.Message; in ioc_hdrlist()
5641 rsc.hdr_list[i].cluster_type = scp->SCp.Message; in ioc_hdrlist()
5645 rsc.hdr_list[i].cluster_type = scp.SCp.Message; in ioc_hdrlist()
5655 if (copy_to_user((char *)arg, &rsc, sizeof(gdth_ioctl_rescan))) in ioc_hdrlist()
5662 gdth_ioctl_rescan rsc; in ioc_rescan() local
5677 if (copy_from_user(&rsc, (char *)arg, sizeof(gdth_ioctl_rescan)) || in ioc_rescan()
5678 rsc.ionode >= gdth_ctr_count) in ioc_rescan()
5680 hanum = rsc.ionode; in ioc_rescan()
5704 if (rsc.flag == 0) { in ioc_rescan()
5730 i = rsc.hdr_no; in ioc_rescan()
5754 rsc.hdr_list[i].bus = ha->virt_bus; in ioc_rescan()
5755 rsc.hdr_list[i].target = i; in ioc_rescan()
5756 rsc.hdr_list[i].lun = 0; in ioc_rescan()
5824 rsc.hdr_list[i].cluster_type = ha->hdr[i].cluster_type; in ioc_rescan()
5855 if (copy_to_user((char *)arg, &rsc, sizeof(gdth_ioctl_rescan))) in ioc_rescan()