Lines Matching refs:Phy2LogMap

228 …hyBlock) >= (pdx)->MS_Lib.NumberOfPhyBlock) ? MS_STATUS_ERROR : (pdx)->MS_Lib.Phy2LogMap[PhyBlock])
417 u16 *Phy2LogMap; /* phy2log table */ member
762 info->MS_Lib.Phy2LogMap[phyblk] = logblk; in ms_lib_set_logicalpair()
775 info->MS_Lib.Phy2LogMap[phyblk] = mark; in ms_lib_set_logicalblockmark()
794 kfree(info->MS_Lib.Phy2LogMap); in ms_lib_free_logicalmap()
795 info->MS_Lib.Phy2LogMap = NULL; in ms_lib_free_logicalmap()
808 info->MS_Lib.Phy2LogMap = kmalloc_array(info->MS_Lib.NumberOfPhyBlock, in ms_lib_alloc_logicalmap()
815 if ((info->MS_Lib.Phy2LogMap == NULL) || (info->MS_Lib.Log2PhyMap == NULL)) { in ms_lib_alloc_logicalmap()
821 info->MS_Lib.Phy2LogMap[i] = MS_LB_NOT_USED; in ms_lib_alloc_logicalmap()
857 switch (info->MS_Lib.Phy2LogMap[PhyBlock]) { in ms_count_freeblock()
1147 info->MS_Lib.Phy2LogMap[phyblk] = logblk; in ms_lib_force_setlogical_pair()
1252 log = info->MS_Lib.Phy2LogMap[phyblk]; in ms_lib_setacquired_errorblock()
1257 if (info->MS_Lib.Phy2LogMap[phyblk] != MS_LB_INITIAL_ERROR) in ms_lib_setacquired_errorblock()
1258 info->MS_Lib.Phy2LogMap[phyblk] = MS_LB_ACQUIRED_ERROR; in ms_lib_setacquired_errorblock()
1318 log = info->MS_Lib.Phy2LogMap[phyblk]; in ms_lib_erase_phyblock()
1323 info->MS_Lib.Phy2LogMap[phyblk] = MS_LB_NOT_USED; in ms_lib_erase_phyblock()
1328 info->MS_Lib.Phy2LogMap[phyblk] = MS_LB_NOT_USED_ERASED; in ms_lib_erase_phyblock()
1396 if (info->MS_Lib.Phy2LogMap[blk] == MS_LB_NOT_USED_ERASED) { in ms_libsearch_block_from_physical()
1398 } else if (info->MS_Lib.Phy2LogMap[blk] == MS_LB_NOT_USED) { in ms_libsearch_block_from_physical()
1810 info->MS_Lib.Phy2LogMap[oldphy] = MS_LB_NOT_USED_ERASED; in ms_scsi_write()
2029 info->MS_Lib.Phy2LogMap[TmpBlock] = MS_LB_INITIAL_ERROR; in ms_card_init()
2031 info->MS_Lib.Phy2LogMap[btBlk1st] = MS_LB_BOOT_BLOCK; in ms_card_init()
2035 info->MS_Lib.Phy2LogMap[TmpBlock] = MS_LB_INITIAL_ERROR; in ms_card_init()
2037 info->MS_Lib.Phy2LogMap[btBlk2nd] = MS_LB_BOOT_BLOCK; in ms_card_init()