Lines Matching refs:old_addr
799 uint32_t old_addr; in set_bam_entry() local
815 (u_char *)&old_addr); in set_bam_entry()
820 old_addr = le32_to_cpu(old_addr); in set_bam_entry()
822 if (((virt_addr == 0xfffffffe) && !BLOCK_FREE(old_addr)) || in set_bam_entry()
823 ((virt_addr == 0) && (BLOCK_TYPE(old_addr) != BLOCK_DATA)) || in set_bam_entry()
824 (!BLOCK_DELETED(virt_addr) && (old_addr != 0xfffffffe))) { in set_bam_entry()
829 ", new = 0x%x\n", log_addr, old_addr, virt_addr); in set_bam_entry()
837 if (le32_to_cpu(part->bam_cache[blk]) != old_addr) { in set_bam_entry()
844 le32_to_cpu(part->bam_cache[blk]), old_addr); in set_bam_entry()
865 uint32_t bsize, log_addr, virt_addr, old_addr, blk; in ftl_write() local
922 old_addr = part->VirtualBlockMap[sector+i]; in ftl_write()
923 if (old_addr != 0xffffffff) { in ftl_write()
925 part->EUNInfo[old_addr/bsize].Deleted++; in ftl_write()
926 if (set_bam_entry(part, old_addr, 0)) in ftl_write()
979 uint32_t old_addr = part->VirtualBlockMap[sector]; in ftl_discardsect() local
980 if (old_addr != 0xffffffff) { in ftl_discardsect()
982 part->EUNInfo[old_addr/bsize].Deleted++; in ftl_discardsect()
983 if (set_bam_entry(part, old_addr, 0)) in ftl_discardsect()