Lines Matching refs:io_info

78 	u64 stripRow, u16 stripRef, struct IO_REQUEST_INFO *io_info,
702 u64 stripRow, u16 stripRef, struct IO_REQUEST_INFO *io_info, in mr_spanset_get_phy_params() argument
711 u64 *pdBlock = &io_info->pdBlock; in mr_spanset_get_phy_params()
712 __le16 *pDevHandle = &io_info->devHandle; in mr_spanset_get_phy_params()
713 u8 *pPdInterface = &io_info->pd_interface; in mr_spanset_get_phy_params()
721 row = io_info->start_row; in mr_spanset_get_phy_params()
722 span = io_info->start_span; in mr_spanset_get_phy_params()
750 !io_info->isRead) { in mr_spanset_get_phy_params()
753 io_info->r1_alt_dev_handle = in mr_spanset_get_phy_params()
776 io_info->span_arm = in mr_spanset_get_phy_params()
781 io_info->span_arm = pRAID_Context->span_arm; in mr_spanset_get_phy_params()
783 io_info->pd_after_lb = pd; in mr_spanset_get_phy_params()
805 u16 stripRef, struct IO_REQUEST_INFO *io_info, in MR_GetPhyParams() argument
814 u64 *pdBlock = &io_info->pdBlock; in MR_GetPhyParams()
815 __le16 *pDevHandle = &io_info->devHandle; in MR_GetPhyParams()
816 u8 *pPdInterface = &io_info->pd_interface; in MR_GetPhyParams()
866 !io_info->isRead) { in MR_GetPhyParams()
869 io_info->r1_alt_dev_handle = in MR_GetPhyParams()
894 io_info->span_arm = in MR_GetPhyParams()
899 io_info->span_arm = pRAID_Context->span_arm; in MR_GetPhyParams()
901 io_info->pd_after_lb = pd; in MR_GetPhyParams()
916 struct IO_REQUEST_INFO *io_info, in MR_BuildRaidContext() argument
933 u64 *pdBlock = &io_info->pdBlock; in MR_BuildRaidContext()
936 ldStartBlock = io_info->ldStartBlock; in MR_BuildRaidContext()
937 numBlocks = io_info->numBlocks; in MR_BuildRaidContext()
938 ldTgtId = io_info->ldTgtId; in MR_BuildRaidContext()
939 isRead = io_info->isRead; in MR_BuildRaidContext()
940 io_info->IoforUnevenSpan = 0; in MR_BuildRaidContext()
941 io_info->start_span = SPAN_INVALID; in MR_BuildRaidContext()
947 io_info->ra_capable = raid->capability.ra_capable; in MR_BuildRaidContext()
957 io_info->IoforUnevenSpan = 1; in MR_BuildRaidContext()
982 if (io_info->IoforUnevenSpan) { in MR_BuildRaidContext()
1007 io_info->start_span = startlba_span; in MR_BuildRaidContext()
1008 io_info->start_row = start_row; in MR_BuildRaidContext()
1024 io_info->do_fp_rlbypass = raid->capability.fpBypassRegionLock; in MR_BuildRaidContext()
1029 io_info->fpOkForIo = (raid->capability.fpReadCapable && in MR_BuildRaidContext()
1034 io_info->fpOkForIo = (raid->capability.fpWriteCapable && in MR_BuildRaidContext()
1039 io_info->fpOkForIo = false; in MR_BuildRaidContext()
1048 } else if (io_info->IoforUnevenSpan == 0) { in MR_BuildRaidContext()
1115 if (io_info->fpOkForIo) { in MR_BuildRaidContext()
1116 retval = io_info->IoforUnevenSpan ? in MR_BuildRaidContext()
1119 io_info, pRAID_Context, map) : in MR_BuildRaidContext()
1121 ref_in_start_stripe, io_info, in MR_BuildRaidContext()
1124 if (io_info->devHandle == MR_DEVHANDLE_INVALID) in MR_BuildRaidContext()
1125 io_info->fpOkForIo = false; in MR_BuildRaidContext()
1130 retval = io_info->IoforUnevenSpan ? in MR_BuildRaidContext()
1133 ref_in_start_stripe, io_info, in MR_BuildRaidContext()
1137 io_info, pRAID_Context, map); in MR_BuildRaidContext()
1286 struct IO_REQUEST_INFO *io_info, in megasas_get_best_arm_pd() argument
1296 u64 block = io_info->ldStartBlock; in megasas_get_best_arm_pd()
1297 u32 count = io_info->numBlocks; in megasas_get_best_arm_pd()
1299 span = ((io_info->span_arm & RAID_CTX_SPANARM_SPAN_MASK) in megasas_get_best_arm_pd()
1301 arm = (io_info->span_arm & RAID_CTX_SPANARM_ARM_MASK); in megasas_get_best_arm_pd()
1303 ld = MR_TargetIdToLdGet(io_info->ldTgtId, drv_map); in megasas_get_best_arm_pd()
1337 io_info->span_arm = in megasas_get_best_arm_pd()
1339 io_info->pd_after_lb = (bestArm == arm) ? pd0 : pd1; in megasas_get_best_arm_pd()
1342 lbInfo->last_accessed_block[io_info->pd_after_lb] = block + count - 1; in megasas_get_best_arm_pd()
1343 return io_info->pd_after_lb; in megasas_get_best_arm_pd()
1348 struct IO_REQUEST_INFO *io_info, in get_updated_dev_handle() argument
1355 arm_pd = megasas_get_best_arm_pd(instance, lbInfo, io_info, drv_map); in get_updated_dev_handle()
1357 io_info->pd_interface = MR_PdInterfaceTypeGet(arm_pd, drv_map); in get_updated_dev_handle()