Lines Matching refs:vol_pg0
2250 Mpi2RaidVolPage0_t vol_pg0; in scsih_get_resync() local
2273 if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in scsih_get_resync()
2282 volume_status_flags = le32_to_cpu(vol_pg0.VolumeStatusFlags); in scsih_get_resync()
2311 Mpi2RaidVolPage0_t vol_pg0; in scsih_get_state() local
2327 if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in scsih_get_state()
2335 volstate = le32_to_cpu(vol_pg0.VolumeStatusFlags); in scsih_get_state()
2341 switch (vol_pg0.VolumeState) { in scsih_get_state()
2418 Mpi2RaidVolPage0_t *vol_pg0; in _scsih_get_volume_capabilities() local
2434 sz = struct_size(vol_pg0, PhysDisk, num_pds); in _scsih_get_volume_capabilities()
2435 vol_pg0 = kzalloc(sz, GFP_KERNEL); in _scsih_get_volume_capabilities()
2436 if (!vol_pg0) { in _scsih_get_volume_capabilities()
2443 if ((mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, vol_pg0, in _scsih_get_volume_capabilities()
2448 kfree(vol_pg0); in _scsih_get_volume_capabilities()
2452 raid_device->volume_type = vol_pg0->VolumeType; in _scsih_get_volume_capabilities()
2459 vol_pg0->PhysDisk[0].PhysDiskNum))) { in _scsih_get_volume_capabilities()
2468 kfree(vol_pg0); in _scsih_get_volume_capabilities()