Lines Matching refs:sz_au

5817 	DWORD sz_rsv, sz_fat, sz_dir, sz_au;	/* Size of reserved, fat, dir, data, cluster */  local
5849 sz_au = (opt->au_size <= 0x1000000 && (opt->au_size & (opt->au_size - 1)) == 0) ? opt->au_size : 0;
5850 sz_au /= ss; /* Byte --> Sector */
5920 …if ((fsopt & FM_ANY) == FM_EXFAT || sz_vol >= 0x4000000 || sz_au > 128) { /* exFAT only, vol >= 64…
5927 if (sz_au > 128) sz_au = 128; /* Invalid AU for FAT/FAT32? */
5951 if (sz_au == 0) { /* AU auto-selection */
5952 sz_au = 8;
5953 if (sz_vol >= 0x80000) sz_au = 64; /* >= 512Ks */
5954 if (sz_vol >= 0x4000000) sz_au = 256; /* >= 64Ms */
5957 sz_fat = (DWORD)((sz_vol / sz_au + 2) * 4 + ss - 1) / ss; /* Number of FAT sectors */
5960 n_clst = (DWORD)(sz_vol - (b_data - b_vol)) / sz_au; /* Number of clusters */
5965 clen[0] = (szb_bit + sz_au * ss - 1) / (sz_au * ss); /* Number of allocation bitmap clusters */
5968 sect = b_data + sz_au * clen[0]; /* Table start sector */
6002 clen[1] = (szb_case + sz_au * ss - 1) / (sz_au * ss); /* Number of up-case table clusters */
6047 …sect = b_data + sz_au * (clen[0] + clen[1]); nsect = sz_au; /* Start of the root directory and num…
6071 …for (buf[BPB_SecPerClusEx] = 0, i = sz_au; i >>= 1; buf[BPB_SecPerClusEx]++) ; /* Log2 of cluster …
6102 pau = sz_au;
6149 if (sz_au == 0 && (sz_au = pau / 2) != 0) continue; /* Adjust cluster size and retry */
6155 if (sz_au == 0 && (pau * 2) <= 64) {
6156 sz_au = pau * 2; continue; /* Adjust cluster size and retry */
6161 if (sz_au == 0 && (sz_au = pau * 2) <= 128) continue; /* Adjust cluster size and retry */
6165 if (sz_au == 0 && (sz_au = pau * 2) <= 128) continue; /* Adjust cluster size and retry */