Lines Matching refs:pau
5814 DWORD sz_buf, sz_blk, n_clst, pau, nsect, n, vsn; local
6102 pau = sz_au;
6105 if (pau == 0) { /* AU auto-selection */
6107 for (i = 0, pau = 1; cst32[i] && cst32[i] <= n; i++, pau <<= 1) ; /* Get from table */
6109 n_clst = (DWORD)sz_vol / pau; /* Number of clusters */
6115 if (pau == 0) { /* au auto-selection */
6117 for (i = 0, pau = 1; cst[i] && cst[i] <= n; i++, pau <<= 1) ; /* Get from table */
6119 n_clst = (DWORD)sz_vol / pau;
6145 if (sz_vol < b_data + pau * 16 - b_vol) LEAVE_MKFS(FR_MKFS_ABORTED); /* Too small volume? */
6146 n_clst = ((DWORD)sz_vol - sz_rsv - sz_fat * n_fat - sz_dir) / pau;
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 */
6183 buf[BPB_SecPerClus] = (BYTE)pau; /* Cluster size [sector] */
6249 nsect = (fsty == FS_FAT32) ? pau : sz_dir; /* Number of root directory sectors */