Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c5668 DWORD sz_drv32, nxt_alloc32, sz_part32; local
5766 …for (i = 0, nxt_alloc32 = n_sc; i < 4 && nxt_alloc32 != 0 && nxt_alloc32 < sz_drv32; i++, nxt_allo…
5769 …if (nxt_alloc32 + sz_part32 > sz_drv32 || nxt_alloc32 + sz_part32 < nxt_alloc32) sz_part32 = sz_dr…
5772 st_dword(pte + PTE_StLba, nxt_alloc32); /* Start LBA */
5776 cy = (UINT)(nxt_alloc32 / n_sc / n_hd); /* Start cylinder */
5777 hd = (BYTE)(nxt_alloc32 / n_sc % n_hd); /* Start head */
5778 sc = (BYTE)(nxt_alloc32 % n_sc + 1); /* Start sector */
5783 cy = (UINT)((nxt_alloc32 + sz_part32 - 1) / n_sc / n_hd); /* End cylinder */
5784 hd = (BYTE)((nxt_alloc32 + sz_part32 - 1) / n_sc % n_hd); /* End head */
5785 sc = (BYTE)((nxt_alloc32 + sz_part32 - 1) % n_sc + 1); /* End sector */