Lines Matching defs:log_addr
789 uint32_t log_addr, bsize;
807 log_addr = part->VirtualBlockMap[sector+i];
808 if (log_addr == 0xffffffff)
811 offset = (part->EUNInfo[log_addr / bsize].Offset
812 + (log_addr % bsize));
832 static int set_bam_entry(partition_t *part, uint32_t log_addr,
844 part, log_addr, virt_addr);
846 eun = log_addr / bsize;
847 blk = (log_addr % bsize) / SECTOR_SIZE;
866 printk(KERN_NOTICE "ftl_cs: log_addr = 0x%x, old = 0x%x"
867 ", new = 0x%x\n", log_addr, old_addr, virt_addr);
880 printk(KERN_NOTICE "ftl_cs: log_addr = 0x%x, cache"
894 printk(KERN_NOTICE "ftl_cs: log_addr = 0x%x, new = 0x%x\n",
895 log_addr, virt_addr);
903 uint32_t bsize, log_addr, virt_addr, old_addr, blk;
941 log_addr = part->bam_index * bsize + blk * SECTOR_SIZE;
944 if (set_bam_entry(part, log_addr, 0xfffffffe))
954 printk(KERN_NOTICE "ftl_cs: log_addr = 0x%x, virt_addr"
955 " = 0x%x, Offset = 0x%zx\n", log_addr, virt_addr,
970 if (set_bam_entry(part, log_addr, virt_addr))
972 part->VirtualBlockMap[sector+i] = log_addr;