Lines Matching refs:curr_lba
230 static uint32_t curr_lba; variable
280 curr_lba = 0U; in msd_init()
472 curr_lba += 1; in thread_memory_read_done()
487 if (curr_lba >= block_count) { in memoryRead()
488 LOG_WRN("Attempt to read past end of device: lba=%u", curr_lba); in memoryRead()
496 LOG_DBG("Signal thread for %u", curr_lba); in memoryRead()
533 curr_lba = n; in infoTransfer()
686 if (curr_lba >= block_count) { in memoryVerify()
687 LOG_WRN("Attempt to read past end of device: lba=%u", curr_lba); in memoryVerify()
696 LOG_DBG("Disk READ sector %u", curr_lba); in memoryVerify()
697 if (disk_access_read(disk_pdrv, page, curr_lba, 1)) { in memoryVerify()
698 LOG_ERR("---- Disk Read Error %u", curr_lba); in memoryVerify()
706 curr_lba, curr_offset + n); in memoryVerify()
715 curr_lba += 1; in memoryVerify()
729 if (curr_lba >= block_count) { in memoryWrite()
730 LOG_WRN("Attempt to write past end of device: lba=%u", curr_lba); in memoryWrite()
744 LOG_DBG("Disk WRITE Qd %u", curr_lba); in memoryWrite()
830 curr_lba += 1; in thread_memory_write_done()
988 page, curr_lba, 1)) { in mass_thread_main()
990 curr_lba); in mass_thread_main()
997 page, curr_lba, 1)) { in mass_thread_main()
999 curr_lba); in mass_thread_main()