Lines Matching refs:old_addr
838 uint32_t old_addr; in set_bam_entry() local
854 (u_char *)&old_addr); in set_bam_entry()
859 old_addr = le32_to_cpu(old_addr); in set_bam_entry()
861 if (((virt_addr == 0xfffffffe) && !BLOCK_FREE(old_addr)) || in set_bam_entry()
862 ((virt_addr == 0) && (BLOCK_TYPE(old_addr) != BLOCK_DATA)) || in set_bam_entry()
863 (!BLOCK_DELETED(virt_addr) && (old_addr != 0xfffffffe))) { in set_bam_entry()
868 ", new = 0x%x\n", log_addr, old_addr, virt_addr); in set_bam_entry()
876 if (le32_to_cpu(part->bam_cache[blk]) != old_addr) { in set_bam_entry()
883 le32_to_cpu(part->bam_cache[blk]), old_addr); in set_bam_entry()
904 uint32_t bsize, log_addr, virt_addr, old_addr, blk; in ftl_write() local
961 old_addr = part->VirtualBlockMap[sector+i]; in ftl_write()
962 if (old_addr != 0xffffffff) { in ftl_write()
964 part->EUNInfo[old_addr/bsize].Deleted++; in ftl_write()
965 if (set_bam_entry(part, old_addr, 0)) in ftl_write()
1018 uint32_t old_addr = part->VirtualBlockMap[sector]; in ftl_discardsect() local
1019 if (old_addr != 0xffffffff) { in ftl_discardsect()
1021 part->EUNInfo[old_addr/bsize].Deleted++; in ftl_discardsect()
1022 if (set_bam_entry(part, old_addr, 0)) in ftl_discardsect()