Searched refs:vol_pg0 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_warpdrive.c | 117 Mpi2RaidVolPage0_t *vol_pg0; in mpt3sas_init_warpdrive_properties() local 144 sz = struct_size(vol_pg0, PhysDisk, num_pds); in mpt3sas_init_warpdrive_properties() 145 vol_pg0 = kzalloc(sz, GFP_KERNEL); in mpt3sas_init_warpdrive_properties() 146 if (!vol_pg0) { in mpt3sas_init_warpdrive_properties() 151 if ((mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, vol_pg0, in mpt3sas_init_warpdrive_properties() 154 kfree(vol_pg0); in mpt3sas_init_warpdrive_properties() 165 kfree(vol_pg0); in mpt3sas_init_warpdrive_properties() 171 vol_pg0->PhysDisk[count].PhysDiskNum) || in mpt3sas_init_warpdrive_properties() 176 vol_pg0->PhysDisk[count].PhysDiskNum); in mpt3sas_init_warpdrive_properties() 199 (le32_to_cpu(vol_pg0->StripeSize) * in mpt3sas_init_warpdrive_properties() [all …]
|
H A D | mpt3sas_scsih.c | 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() [all …]
|