Lines Matching refs:pDrvRaidMap

171 	struct MR_DRV_RAID_MAP *pDrvRaidMap = &drv_map->raidMap;  in MR_PopulateDrvRaidMap()  local
175 memset(pDrvRaidMap->ldTgtIdToLd, in MR_PopulateDrvRaidMap()
187 pDrvRaidMap->ldCount = (__le16)cpu_to_le16(ld_count); in MR_PopulateDrvRaidMap()
188 pDrvRaidMap->fpPdIoTimeoutSec = in MR_PopulateDrvRaidMap()
190 pDrvRaidMap->totalSize = in MR_PopulateDrvRaidMap()
202 memcpy(pDrvRaidMap->devHndlInfo, in MR_PopulateDrvRaidMap()
212 pDrvRaidMap->ldTgtIdToLd[j] = in MR_PopulateDrvRaidMap()
220 memcpy(pDrvRaidMap->arMapInfo, in MR_PopulateDrvRaidMap()
230 memcpy(pDrvRaidMap->ldSpanMap, in MR_PopulateDrvRaidMap()
251 pDrvRaidMap->ldCount = (__le16)cpu_to_le16(ld_count); in MR_PopulateDrvRaidMap()
252 pDrvRaidMap->fpPdIoTimeoutSec = fw_map_ext->fpPdIoTimeoutSec; in MR_PopulateDrvRaidMap()
254 pDrvRaidMap->ldTgtIdToLd[i] = in MR_PopulateDrvRaidMap()
256 memcpy(pDrvRaidMap->ldSpanMap, fw_map_ext->ldSpanMap, in MR_PopulateDrvRaidMap()
258 memcpy(pDrvRaidMap->arMapInfo, fw_map_ext->arMapInfo, in MR_PopulateDrvRaidMap()
260 memcpy(pDrvRaidMap->devHndlInfo, fw_map_ext->devHndlInfo, in MR_PopulateDrvRaidMap()
267 pDrvRaidMap->totalSize = in MR_PopulateDrvRaidMap()
280 pDrvRaidMap->totalSize = pFwRaidMap->totalSize; in MR_PopulateDrvRaidMap()
281 pDrvRaidMap->ldCount = (__le16)cpu_to_le16(ld_count); in MR_PopulateDrvRaidMap()
282 pDrvRaidMap->fpPdIoTimeoutSec = pFwRaidMap->fpPdIoTimeoutSec; in MR_PopulateDrvRaidMap()
284 pDrvRaidMap->ldTgtIdToLd[i] = in MR_PopulateDrvRaidMap()
287 pDrvRaidMap->ldSpanMap[i] = pFwRaidMap->ldSpanMap[i]; in MR_PopulateDrvRaidMap()
289 memcpy(pDrvRaidMap->arMapInfo, pFwRaidMap->arMapInfo, in MR_PopulateDrvRaidMap()
291 memcpy(pDrvRaidMap->devHndlInfo, pFwRaidMap->devHndlInfo, in MR_PopulateDrvRaidMap()
306 struct MR_DRV_RAID_MAP *pDrvRaidMap; in MR_ValidateMapInfo() local
319 pDrvRaidMap = &drv_map->raidMap; in MR_ValidateMapInfo()
331 le16_to_cpu(pDrvRaidMap->ldCount)); in MR_ValidateMapInfo()
333 if (le32_to_cpu(pDrvRaidMap->totalSize) != expected_size) { in MR_ValidateMapInfo()
335 le32_to_cpu(pDrvRaidMap->totalSize)); in MR_ValidateMapInfo()
340 le32_to_cpu(pDrvRaidMap->totalSize)); in MR_ValidateMapInfo()