Lines Matching refs:raid

1458 	struct MR_LD_RAID  *raid;  in megasas_sync_map_info()  local
1494 raid = MR_LdRaidGet(i, map); in megasas_sync_map_info()
1496 ld_sync->seqNum = raid->seqNum; in megasas_sync_map_info()
2350 struct MR_LD_RAID *raid; in megasas_set_pd_lba() local
2359 raid = MR_LdRaidGet(ld, local_map_ptr); in megasas_set_pd_lba()
2360 if (raid->capability.ldPiMode == MR_PROT_INFO_TYPE_CONTROLLER) { in megasas_set_pd_lba()
2610 struct MR_LD_RAID *raid, bool fp_possible, in megasas_set_raidflag_cpu_affinity() argument
2619 if ((raid->cpuAffinity.pdRead.cpu0) && in megasas_set_raidflag_cpu_affinity()
2620 (raid->cpuAffinity.pdRead.cpu1)) in megasas_set_raidflag_cpu_affinity()
2622 else if (raid->cpuAffinity.pdRead.cpu1) in megasas_set_raidflag_cpu_affinity()
2625 if ((raid->cpuAffinity.pdWrite.cpu0) && in megasas_set_raidflag_cpu_affinity()
2626 (raid->cpuAffinity.pdWrite.cpu1)) in megasas_set_raidflag_cpu_affinity()
2628 else if (raid->cpuAffinity.pdWrite.cpu1) in megasas_set_raidflag_cpu_affinity()
2631 if ((raid->level <= 1) && in megasas_set_raidflag_cpu_affinity()
2632 (raid->capability.fp_cache_bypass_capable)) { in megasas_set_raidflag_cpu_affinity()
2642 if ((raid->cpuAffinity.ldRead.cpu0) && in megasas_set_raidflag_cpu_affinity()
2643 (raid->cpuAffinity.ldRead.cpu1)) in megasas_set_raidflag_cpu_affinity()
2645 else if (raid->cpuAffinity.ldRead.cpu1) in megasas_set_raidflag_cpu_affinity()
2648 if ((raid->cpuAffinity.ldWrite.cpu0) && in megasas_set_raidflag_cpu_affinity()
2649 (raid->cpuAffinity.ldWrite.cpu1)) in megasas_set_raidflag_cpu_affinity()
2651 else if (raid->cpuAffinity.ldWrite.cpu1) in megasas_set_raidflag_cpu_affinity()
2655 ((raid->level == 5) || (raid->level == 6)) && in megasas_set_raidflag_cpu_affinity()
2656 (raid->writeMode == MR_RL_WRITE_THROUGH_MODE) && in megasas_set_raidflag_cpu_affinity()
2669 if ((fusion->pcie_bw_limitation) && (raid->level == 1) && (!is_read) && in megasas_set_raidflag_cpu_affinity()
2701 struct MR_LD_RAID *raid = NULL; in megasas_build_ldio_fusion() local
2788 raid = MR_LdRaidGet(ld, local_map_ptr); in megasas_build_ldio_fusion()
2790 if (!raid || (!fusion->fast_path_io)) { in megasas_build_ldio_fusion()
2843 if (raid) in megasas_build_ldio_fusion()
2845 raid, fp_possible, io_info.isRead, in megasas_build_ldio_fusion()
2954 struct MR_LD_RAID *raid; in megasas_build_ld_nonrw_fusion() local
2976 raid = MR_LdRaidGet(ld, local_map_ptr); in megasas_build_ld_nonrw_fusion()
2977 if (!(raid->capability.fpNonRWCapable)) in megasas_build_ld_nonrw_fusion()
2995 pRAID_Context->config_seq_num = raid->seqNum; in megasas_build_ld_nonrw_fusion()
2999 cpu_to_le16(raid->fpIoTimeoutForLd); in megasas_build_ld_nonrw_fusion()
3015 memcpy(io_request->LUN, raid->LUN, 8); in megasas_build_ld_nonrw_fusion()