Home
last modified time | relevance | path

Searched refs:n_clst (Results 1 – 1 of 1) sorted by relevance

/fatfs-latest/
Dff.c5914 DWORD sz_buf, sz_blk, n_clst, pau, nsect, n, vsn; local
6063 n_clst = (DWORD)((sz_vol - (b_data - b_vol)) / sz_au); /* Number of clusters */
6064 if (n_clst <16) LEAVE_MKFS(FR_MKFS_ABORTED); /* Too few clusters? */
6065 if (n_clst > MAX_EXFAT) LEAVE_MKFS(FR_MKFS_ABORTED); /* Too many clusters? */
6067 szb_bit = (n_clst + 7) / 8; /* Size of allocation bitmap */
6170 st_dword(buf + BPB_NumClusEx, n_clst); /* Number of clusters */
6213 n_clst = (DWORD)sz_vol / pau; /* Number of clusters */
6214 sz_fat = (n_clst * 4 + 8 + ss - 1) / ss; /* FAT size [sector] */
6217 if (n_clst <= MAX_FAT16 || n_clst > MAX_FAT32) LEAVE_MKFS(FR_MKFS_ABORTED);
6223 n_clst = (DWORD)sz_vol / pau;
[all …]