Lines Matching refs:ld_count
163 u16 ld_count; in MR_PopulateDrvRaidMap() local
186 ld_count = (u16)le16_to_cpu(fw_map_dyn->ld_count); in MR_PopulateDrvRaidMap()
187 pDrvRaidMap->ldCount = (__le16)cpu_to_le16(ld_count); in MR_PopulateDrvRaidMap()
245 ld_count = (u16)le16_to_cpu(fw_map_ext->ldCount); in MR_PopulateDrvRaidMap()
246 if (ld_count > MAX_LOGICAL_DRIVES_EXT) { in MR_PopulateDrvRaidMap()
251 pDrvRaidMap->ldCount = (__le16)cpu_to_le16(ld_count); in MR_PopulateDrvRaidMap()
257 sizeof(struct MR_LD_SPAN_MAP) * ld_count); in MR_PopulateDrvRaidMap()
273 ld_count = (u16)le32_to_cpu(pFwRaidMap->ldCount); in MR_PopulateDrvRaidMap()
274 if (ld_count > MAX_LOGICAL_DRIVES) { in MR_PopulateDrvRaidMap()
281 pDrvRaidMap->ldCount = (__le16)cpu_to_le16(ld_count); in MR_PopulateDrvRaidMap()
286 for (i = 0; i < ld_count; i++) { in MR_PopulateDrvRaidMap()