Lines Matching refs:phys_disk
2127 RaidPhysDiskPage1_t *phys_disk; in mptscsih_is_phys_disk() local
2152 phys_disk = kzalloc(offsetof(RaidPhysDiskPage1_t, Path) + in mptscsih_is_phys_disk()
2154 if (!phys_disk) in mptscsih_is_phys_disk()
2158 phys_disk))) { in mptscsih_is_phys_disk()
2159 kfree(phys_disk); in mptscsih_is_phys_disk()
2163 if ((phys_disk->Path[j].Flags & in mptscsih_is_phys_disk()
2166 if ((phys_disk->Path[j].Flags & in mptscsih_is_phys_disk()
2169 if ((id == phys_disk->Path[j].PhysDiskID) && in mptscsih_is_phys_disk()
2170 (channel == phys_disk->Path[j].PhysDiskBus)) { in mptscsih_is_phys_disk()
2172 kfree(phys_disk); in mptscsih_is_phys_disk()
2176 kfree(phys_disk); in mptscsih_is_phys_disk()
2205 RaidPhysDiskPage1_t *phys_disk; in mptscsih_raid_id_to_num() local
2230 phys_disk = kzalloc(offsetof(RaidPhysDiskPage1_t, Path) + in mptscsih_raid_id_to_num()
2232 if (!phys_disk) in mptscsih_raid_id_to_num()
2236 phys_disk))) { in mptscsih_raid_id_to_num()
2237 kfree(phys_disk); in mptscsih_raid_id_to_num()
2241 if ((phys_disk->Path[j].Flags & in mptscsih_raid_id_to_num()
2244 if ((phys_disk->Path[j].Flags & in mptscsih_raid_id_to_num()
2247 if ((id == phys_disk->Path[j].PhysDiskID) && in mptscsih_raid_id_to_num()
2248 (channel == phys_disk->Path[j].PhysDiskBus)) { in mptscsih_raid_id_to_num()
2249 rc = phys_disk->PhysDiskNum; in mptscsih_raid_id_to_num()
2250 kfree(phys_disk); in mptscsih_raid_id_to_num()
2254 kfree(phys_disk); in mptscsih_raid_id_to_num()