Lines Matching refs:block_count
181 static uint32_t block_count; variable
429 (uint8_t)((block_count >> 24) & 0xff), in readFormatCapacity()
430 (uint8_t)((block_count >> 16) & 0xff), in readFormatCapacity()
431 (uint8_t)((block_count >> 8) & 0xff), in readFormatCapacity()
432 (uint8_t)((block_count >> 0) & 0xff), in readFormatCapacity()
447 sys_put_be32(block_count - 1, &capacity[0]); in readCapacity()
487 if (curr_lba >= block_count) { in memoryRead()
527 if (n >= block_count) { in infoTransfer()
686 if (curr_lba >= block_count) { in memoryVerify()
729 if (curr_lba >= block_count) { in memoryWrite()
1031 DISK_IOCTL_GET_SECTOR_COUNT, &block_count)) { in mass_storage_init()
1050 LOG_INF("Sect Count %u", block_count); in mass_storage_init()
1051 LOG_INF("Memory Size %llu", (uint64_t) block_count * BLOCK_SIZE); in mass_storage_init()