Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/fatfs/src/
Dff.c5545 DWORD szb_buf, sz_buf, sz_blk, n_clst, pau, sect, nsect, n; local
5650 n_clst = (sz_vol - (b_data - b_vol)) / au; /* Number of clusters */
5651 if (n_clst <16) LEAVE_MKFS(FR_MKFS_ABORTED); /* Too few clusters? */
5652 if (n_clst > MAX_EXFAT) LEAVE_MKFS(FR_MKFS_ABORTED); /* Too many clusters? */
5654 szb_bit = (n_clst + 7) / 8; /* Size of allocation bitmap */
5757 st_dword(buf + BPB_NumClusEx, n_clst); /* Number of clusters */
5800 n_clst = sz_vol / pau; /* Number of clusters */
5801 sz_fat = (n_clst * 4 + 8 + ss - 1) / ss; /* FAT size [sector] */
5804 if (n_clst <= MAX_FAT16 || n_clst > MAX_FAT32) LEAVE_MKFS(FR_MKFS_ABORTED);
5810 n_clst = sz_vol / pau;
[all …]