sas_info 557 drivers/message/fusion/mptsas.c struct mptsas_device_info *sas_info, *next; sas_info 566 drivers/message/fusion/mptsas.c list_for_each_entry_safe(sas_info, next, &ioc->sas_device_info_list, sas_info 568 drivers/message/fusion/mptsas.c if (!sas_info->is_logical_volume && sas_info 569 drivers/message/fusion/mptsas.c (sas_info->sas_address == sas_address || sas_info 570 drivers/message/fusion/mptsas.c (sas_info->fw.channel == channel && sas_info 571 drivers/message/fusion/mptsas.c sas_info->fw.id == id))) { sas_info 572 drivers/message/fusion/mptsas.c list_del(&sas_info->list); sas_info 573 drivers/message/fusion/mptsas.c kfree(sas_info); sas_info 577 drivers/message/fusion/mptsas.c sas_info = kzalloc(sizeof(struct mptsas_device_info), GFP_KERNEL); sas_info 578 drivers/message/fusion/mptsas.c if (!sas_info) sas_info 584 drivers/message/fusion/mptsas.c sas_info->fw.id = id; sas_info 585 drivers/message/fusion/mptsas.c sas_info->fw.channel = channel; sas_info 587 drivers/message/fusion/mptsas.c sas_info->sas_address = sas_address; sas_info 588 drivers/message/fusion/mptsas.c sas_info->device_info = device_info; sas_info 589 drivers/message/fusion/mptsas.c sas_info->slot = slot; sas_info 590 drivers/message/fusion/mptsas.c sas_info->enclosure_logical_id = enclosure_logical_id; sas_info 591 drivers/message/fusion/mptsas.c INIT_LIST_HEAD(&sas_info->list); sas_info 592 drivers/message/fusion/mptsas.c list_add_tail(&sas_info->list, &ioc->sas_device_info_list); sas_info 601 drivers/message/fusion/mptsas.c sas_info->os.id = starget->id; sas_info 602 drivers/message/fusion/mptsas.c sas_info->os.channel = starget->channel; sas_info 660 drivers/message/fusion/mptsas.c struct mptsas_device_info *sas_info, *next; sas_info 705 drivers/message/fusion/mptsas.c list_for_each_entry(sas_info, &ioc->sas_device_info_list, sas_info 707 drivers/message/fusion/mptsas.c if (!sas_info->is_logical_volume && sas_info 708 drivers/message/fusion/mptsas.c (sas_info->fw.channel == phys_disk.PhysDiskBus && sas_info 709 drivers/message/fusion/mptsas.c sas_info->fw.id == phys_disk.PhysDiskID)) { sas_info 710 drivers/message/fusion/mptsas.c sas_info->is_hidden_raid_component = 1; sas_info 711 drivers/message/fusion/mptsas.c sas_info->volume_id = starget->id; sas_info 722 drivers/message/fusion/mptsas.c list_for_each_entry_safe(sas_info, next, &ioc->sas_device_info_list, sas_info 724 drivers/message/fusion/mptsas.c if (sas_info->is_logical_volume && sas_info->fw.id == sas_info 726 drivers/message/fusion/mptsas.c list_del(&sas_info->list); sas_info 727 drivers/message/fusion/mptsas.c kfree(sas_info); sas_info 731 drivers/message/fusion/mptsas.c sas_info = kzalloc(sizeof(struct mptsas_device_info), GFP_KERNEL); sas_info 732 drivers/message/fusion/mptsas.c if (sas_info) { sas_info 733 drivers/message/fusion/mptsas.c sas_info->fw.id = starget->id; sas_info 734 drivers/message/fusion/mptsas.c sas_info->os.id = starget->id; sas_info 735 drivers/message/fusion/mptsas.c sas_info->os.channel = starget->channel; sas_info 736 drivers/message/fusion/mptsas.c sas_info->is_logical_volume = 1; sas_info 737 drivers/message/fusion/mptsas.c INIT_LIST_HEAD(&sas_info->list); sas_info 738 drivers/message/fusion/mptsas.c list_add_tail(&sas_info->list, &ioc->sas_device_info_list); sas_info 792 drivers/message/fusion/mptsas.c struct mptsas_device_info *sas_info, *next; sas_info 797 drivers/message/fusion/mptsas.c list_for_each_entry_safe(sas_info, next, &ioc->sas_device_info_list, sas_info 799 drivers/message/fusion/mptsas.c if (sas_info->os.channel == channel && sas_info->os.id == id) sas_info 800 drivers/message/fusion/mptsas.c sas_info->is_cached = 1; sas_info 812 drivers/message/fusion/mptsas.c struct mptsas_device_info *sas_info, *next; sas_info 815 drivers/message/fusion/mptsas.c list_for_each_entry_safe(sas_info, next, &ioc->sas_device_info_list, sas_info 817 drivers/message/fusion/mptsas.c list_del(&sas_info->list); sas_info 818 drivers/message/fusion/mptsas.c kfree(sas_info); sas_info 3773 drivers/message/fusion/mptsas.c struct mptsas_device_info *sas_info; sas_info 3797 drivers/message/fusion/mptsas.c list_for_each_entry(sas_info, &ioc->sas_device_info_list, list) { sas_info 3798 drivers/message/fusion/mptsas.c if (sas_info->is_cached) sas_info 3800 drivers/message/fusion/mptsas.c if (!sas_info->is_logical_volume) { sas_info 3807 drivers/message/fusion/mptsas.c (sas_info->fw.channel << 8) + sas_info 3808 drivers/message/fusion/mptsas.c sas_info->fw.id); sas_info 3838 drivers/message/fusion/mptsas.c sas_info->sas_address)); sas_info 3844 drivers/message/fusion/mptsas.c sas_info->fw.channel, sas_info->fw.id); sas_info 3850 drivers/message/fusion/mptsas.c sas_info->sas_address); sas_info 3855 drivers/message/fusion/mptsas.c mptsas_volume_delete(ioc, sas_info->fw.id); sas_info 4024 drivers/message/fusion/mptsas.c struct mptsas_device_info *sas_info; sas_info 4042 drivers/message/fusion/mptsas.c list_for_each_entry(sas_info, &ioc->sas_device_info_list, sas_info 4044 drivers/message/fusion/mptsas.c if (sas_info->is_cached || sas_info 4045 drivers/message/fusion/mptsas.c sas_info->is_logical_volume) sas_info 4047 drivers/message/fusion/mptsas.c if (sas_info->is_hidden_raid_component && sas_info 4048 drivers/message/fusion/mptsas.c (sas_info->fw.channel == fw_channel && sas_info 4049 drivers/message/fusion/mptsas.c sas_info->fw.id == fw_id)) { sas_info 4050 drivers/message/fusion/mptsas.c id = sas_info->volume_id; sas_info 4056 drivers/message/fusion/mptsas.c list_for_each_entry(sas_info, &ioc->sas_device_info_list, sas_info 4058 drivers/message/fusion/mptsas.c if (sas_info->is_cached || sas_info 4059 drivers/message/fusion/mptsas.c sas_info->is_hidden_raid_component || sas_info 4060 drivers/message/fusion/mptsas.c sas_info->is_logical_volume) sas_info 4062 drivers/message/fusion/mptsas.c if (sas_info->fw.channel == fw_channel && sas_info 4063 drivers/message/fusion/mptsas.c sas_info->fw.id == fw_id) { sas_info 4064 drivers/message/fusion/mptsas.c id = sas_info->os.id; sas_info 4065 drivers/message/fusion/mptsas.c channel = sas_info->os.channel;