Searched refs:n_fatent (Results 1 – 3 of 3) sorted by relevance
40 if (cl != ccl + 1 && cl < fp->fs->n_fatent) break; /* Not contiguous? */ in allocate_contiguous_clusters()58 if (cl >= fp->fs->n_fatent) return 0; /* No contiguous area is found. */ in allocate_contiguous_clusters()62 if (cl >= fp->fs->n_fatent) return 0; /* No contiguous area is found. */ in allocate_contiguous_clusters()
1027 if (clst >= fs->n_fatent - 2) return 0; /* Is it invalid cluster number? */ in clst2sect()1051 if (clst < 2 || clst >= fs->n_fatent) { /* Check if in valid range */ in get_fat()1108 if (clst >= 2 && clst < fs->n_fatent) { /* Check if in valid range */ in put_fat()1165 if (clst < 2 || clst >= fs->n_fatent) return FR_INT_ERR; /* Check if in valid range */ in remove_chain()1183 if (fs->free_clst < fs->n_fatent - 2) { /* Update FSINFO */ in remove_chain()1192 if (PARENTFS(fs)->free_clst < PARENTFS(fs)->n_fatent - 2) { in remove_chain()1208 } while (clst < fs->n_fatent); /* Repeat while not the last link */ in remove_chain()1239 if (scl == 0 || scl >= fs->n_fatent) in create_chain()1246 if (scl == 0 || scl >= fs->n_fatent) scl = 1; in create_chain()1258 if ((cs >= fs->st_clst + fs->ct_clst && cs < fs->n_fatent) || cs < fs->st_clst) in create_chain()[all …]
241 DWORD n_fatent; /* Number of FAT entries, = number of clusters + 2 */ member