Lines Matching refs:pau
5545 DWORD szb_buf, sz_buf, sz_blk, n_clst, pau, sect, nsect, n; local
5793 pau = au;
5796 if (pau == 0) { /* au auto-selection */
5798 for (i = 0, pau = 1; cst32[i] && cst32[i] <= n; i++, pau <<= 1) ; /* Get from table */
5800 n_clst = sz_vol / pau; /* Number of clusters */
5806 if (pau == 0) { /* au auto-selection */
5808 for (i = 0, pau = 1; cst[i] && cst[i] <= n; i++, pau <<= 1) ; /* Get from table */
5810 n_clst = sz_vol / pau;
5833 if (sz_vol < b_data + pau * 16 - b_vol) LEAVE_MKFS(FR_MKFS_ABORTED); /* Too small volume */
5834 n_clst = (sz_vol - sz_rsv - sz_fat * n_fats - sz_dir) / pau;
5837 if (au == 0 && (au = pau / 2) != 0) continue; /* Adjust cluster size and retry */
5843 if (au == 0 && (pau * 2) <= 64) {
5844 au = pau * 2; continue; /* Adjust cluster size and retry */
5849 if (au == 0 && (au = pau * 2) <= 128) continue; /* Adjust cluster size and retry */
5853 if (au == 0 && (au = pau * 2) <= 128) continue; /* Adjust cluster size and retry */
5871 buf[BPB_SecPerClus] = (BYTE)pau; /* Cluster size [sector] */
5937 nsect = (fmt == FS_FAT32) ? pau : sz_dir; /* Number of root directory sectors */