Searched refs:logblk (Results 1 – 1 of 1) sorted by relevance
755 static int ms_lib_set_logicalpair(struct us_data *us, u16 logblk, u16 phyblk) in ms_lib_set_logicalpair() argument759 if ((logblk >= info->MS_Lib.NumberOfLogBlock) || (phyblk >= info->MS_Lib.NumberOfPhyBlock)) in ms_lib_set_logicalpair()762 info->MS_Lib.Phy2LogMap[phyblk] = logblk; in ms_lib_set_logicalpair()763 info->MS_Lib.Log2PhyMap[logblk] = phyblk; in ms_lib_set_logicalpair()1136 static int ms_lib_force_setlogical_pair(struct us_data *us, u16 logblk, u16 phyblk) in ms_lib_force_setlogical_pair() argument1140 if (logblk == MS_LB_NOT_USED) in ms_lib_force_setlogical_pair()1143 if ((logblk >= info->MS_Lib.NumberOfLogBlock) || in ms_lib_force_setlogical_pair()1147 info->MS_Lib.Phy2LogMap[phyblk] = logblk; in ms_lib_force_setlogical_pair()1148 info->MS_Lib.Log2PhyMap[logblk] = phyblk; in ms_lib_force_setlogical_pair()1433 static int ms_libsearch_block_from_logical(struct us_data *us, u16 logblk) in ms_libsearch_block_from_logical() argument[all …]