Home
last modified time | relevance | path

Searched refs:sz_drv (Results 1 – 2 of 2) sorted by relevance

/third_party/FatFs/documents/res/
Dapp4.c44 DWORD sz_drv, lba, lba2, sz_eblk, pns = 1; in test_diskio() local
71 printf(" disk_ioctl(%u, GET_SECTOR_COUNT, 0x%08X)", pdrv, (UINT)&sz_drv); in test_diskio()
72 sz_drv = 0; in test_diskio()
73 dr = disk_ioctl(pdrv, GET_SECTOR_COUNT, &sz_drv); in test_diskio()
80 if (sz_drv < 128) { in test_diskio()
84 printf(" Number of sectors on the drive %u is %lu.\n", pdrv, sz_drv); in test_diskio()
235 if (sz_drv >= 128 + 0x80000000 / (sz_sect / 2)) { in test_diskio()
/third_party/FatFs/source/
Dff.c5561 LBA_t sz_drv; local
5566 if (disk_ioctl(drv, GET_SECTOR_COUNT, &sz_drv) != RES_OK) return FR_DISK_ERR;
5569 sz_drv32 = (DWORD)sz_drv;