Lines Matching defs:pau

5627 	DWORD sz_buf, sz_blk, n_clst, pau, nsect, n;
5762 pau = sz_au;
5765 if (pau == 0) { /* AU auto-selection */
5767 for (i = 0, pau = 1; cst32[i] && cst32[i] <= n; i++, pau <<= 1) ; /* Get from table */
5769 n_clst = (DWORD)sz_vol / pau; /* Number of clusters */
5775 if (pau == 0) { /* au auto-selection */
5777 for (i = 0, pau = 1; cst[i] && cst[i] <= n; i++, pau <<= 1) ; /* Get from table */
5779 n_clst = (DWORD)sz_vol / pau;
5805 if (sz_vol < b_data + pau * 16 - b_vol) { /* Too small volume? */
5809 n_clst = ((DWORD)sz_vol - sz_rsv - sz_fat * n_fat - sz_dir) / pau;
5812 if (sz_au == 0 && (sz_au = pau / 2) != 0) continue; /* Adjust cluster size and retry */
5818 if (sz_au == 0 && (pau * 2) <= 64) {
5819 sz_au = pau * 2; continue; /* Adjust cluster size and retry */
5824 if (sz_au == 0 && (sz_au = pau * 2) <= 128) continue; /* Adjust cluster size and retry */
5828 if (sz_au == 0 && (sz_au = pau * 2) <= 128) continue; /* Adjust cluster size and retry */
5846 buf[BPB_SecPerClus] = (BYTE)pau; /* Cluster size [sector] */
5912 nsect = (fsty == FS_FAT32) ? pau : sz_dir; /* Number of root directory sectors */
5987 PRINTK("format to FAT12, %u sectors per cluster.\n", pau);
5990 PRINTK("Format to FAT16, %u sectors per cluster.\n", pau);
5994 PRINTK("Format to FAT32, %u sectors per cluster.\n", pau);
6012 DWORD sz_buf, sz_blk, n_clst, pau, nsect, n;
6133 pau = sz_au;
6136 if (pau == 0) { /* AU auto-selection */
6138 for (i = 0, pau = 1; cst32[i] && cst32[i] <= n; i++, pau <<= 1); /* Get from table */
6140 n_clst = (DWORD)sz_vol / pau; /* Number of clusters */
6146 if (pau == 0) { /* au auto-selection */
6148 for (i = 0, pau = 1; cst[i] && cst[i] <= n; i++, pau <<= 1); /* Get from table */
6150 n_clst = (DWORD)sz_vol / pau;
6176 if (sz_vol < b_data + pau * 16 - b_vol) { /* Too small volume */
6180 n_clst = ((DWORD)sz_vol - sz_rsv - sz_fat * n_fat - sz_dir) / pau;
6183 if (sz_au == 0 && (sz_au = pau / 2) != 0) continue; /* Adjust cluster size and retry */
6189 if (sz_au == 0 && (pau * 2) <= FAT_MAX_CLUSTER_SIZE) {
6190 sz_au = pau * 2; continue; /* Adjust cluster size and retry */
6195 if (sz_au == 0 && (sz_au = pau * 2) <= FAT32_MAX_CLUSTER_SIZE) continue; /* Adjust cluster size and retry */
6199 if (sz_au == 0 && (sz_au = pau * 2) <= FAT32_MAX_CLUSTER_SIZE) continue; /* Adjust cluster size and retry */
6217 buf[BPB_SecPerClus] = (BYTE)pau; /* Cluster size [sector] */
6285 nsect = (fsty == FS_FAT32) ? pau : sz_dir; /* Number of root directory sectors */
6358 PRINTK("format to FAT12, %u sectors per cluster.\n", pau);
6361 PRINTK("Format to FAT16, %u sectors per cluster.\n", pau);
6364 PRINTK("Format to FAT32, %u sectors per cluster.\n", pau);