Searched refs:logical_addr (Results 1 – 1 of 1) sorted by relevance
1763 static int write_back_to_l2_cache(u8 *buf, u64 logical_addr) in write_back_to_l2_cache() argument1797 logical_blk_num = BLK_FROM_ADDR(logical_addr); in write_back_to_l2_cache()1798 logical_page_num = PAGE_FROM_ADDR(logical_addr, logical_blk_num); in write_back_to_l2_cache()1886 static int search_l2_cache(u8 *buf, u64 logical_addr) in search_l2_cache() argument1897 logical_blk_num = BLK_FROM_ADDR(logical_addr); in search_l2_cache()1898 logical_page_num = PAGE_FROM_ADDR(logical_addr, logical_blk_num); in search_l2_cache()2020 static int FTL_Cache_Read(u64 logical_addr) in FTL_Cache_Read() argument2031 item_addr = (u64)GLOB_u64_Div(logical_addr, Cache.cache_item_size) * in FTL_Cache_Read()2050 ret = search_l2_cache(Cache.array[num].buf, logical_addr); in FTL_Cache_Read()2733 static u64 FTL_Get_Physical_Block_Addr(u64 logical_addr) in FTL_Get_Physical_Block_Addr() argument[all …]