Searched refs:sz_part32 (Results 1 – 1 of 1) sorted by relevance
5668 DWORD sz_drv32, nxt_alloc32, sz_part32; local5766 …loc32 = n_sc; i < 4 && nxt_alloc32 != 0 && nxt_alloc32 < sz_drv32; i++, nxt_alloc32 += sz_part32) {5767 sz_part32 = (DWORD)plst[i]; /* Get partition size */5768 …if (sz_part32 <= 100) sz_part32 = (sz_part32 == 100) ? sz_drv32 : sz_drv32 / 100 * sz_part32; /* S…5769 …if (nxt_alloc32 + sz_part32 > sz_drv32 || nxt_alloc32 + sz_part32 < nxt_alloc32) sz_part32 = sz_dr…5770 if (sz_part32 == 0) break; /* End of table or no sector to allocate? */5773 st_dword(pte + PTE_SizLba, sz_part32); /* Number of sectors */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 */