Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c5667 LBA_t sz_drv; local
5673 if (disk_ioctl(drv, GET_SECTOR_COUNT, &sz_drv) != RES_OK) return FR_DISK_ERR;
5676 if (sz_drv >= FF_MIN_GPT) { /* Create partitions in GPT format */
5689 rnd = (DWORD)sz_drv + GET_FATTIME(); /* Random seed */
5692 top_bpt = sz_drv - sz_ptbl - 1; /* Backup partiiton table start sector */
5730 st_qword(buf + GPTH_BakLba, sz_drv - 1); /* LBA of secondary header */
5742 st_qword(buf + GPTH_CurLba, sz_drv - 1); /* LBA of this header */
5748 if (disk_write(drv, buf, sz_drv - 1, 1) != RES_OK) return FR_DISK_ERR;
5759 sz_drv32 = (DWORD)sz_drv;