Lines Matching refs:scl
1163 DWORD scl = clst, ecl = clst; in remove_chain() local
1203 rt[0] = clst2sect(fs, scl); /* Start of data area to be freed */ in remove_chain()
1206 scl = ecl = nxt; in remove_chain()
1227 DWORD cs, ncl, scl; in create_chain() local
1238 scl = fs->last_clst; /* Suggested cluster to start to find */ in create_chain()
1241 if (scl == 0 || scl >= fs->n_fatent) in create_chain()
1242 scl = fs->st_clst - 1 ; in create_chain()
1243 if (scl == 0 || scl < fs->st_clst || scl >= fs->st_clst + fs->ct_clst) in create_chain()
1244 scl = fs->st_clst - 1; in create_chain()
1248 if (scl == 0 || scl >= fs->n_fatent) scl = 1; in create_chain()
1267 scl = clst; /* Cluster to start to find */ in create_chain()
1273 if (scl == clst) { /* Stretching an existing chain? */ in create_chain()
1274 ncl = scl + 1; /* Test if next cluster is free */ in create_chain()
1291 if (cs >= fs->st_clst && cs < fs->st_clst + fs->ct_clst) scl = cs; in create_chain()
1296 if (cs >= 2 && cs < fs->n_fatent) scl = cs; in create_chain()
1303 ncl = scl; /* Start cluster */ in create_chain()
1311 if (ncl > scl) return 0; /* No free cluster */ in create_chain()
1318 if (ncl > scl) return 0; /* No free cluster */ in create_chain()
1324 if (ncl == scl) return 0; /* No free cluster found? */ in create_chain()
5327 DWORD n, clst, stcl, scl, ncl, tcl, lclst, count, fclust = 0; local
5350 scl = stcl; ncl = 0; clst = stcl + 1;
5361 scl = clst;
5380 scl = stcl; ncl = 0; clst = stcl + 1;
5390 scl = clst;
5412 fp->obj.sclust = scl; /* Update object allocation information */
5414 res = put_fat(fs, fclust, scl);
5429 fp->obj.sclust = scl; /* Update object allocation information */
5431 res = put_fat(fs, fclust, scl);
5451 clst = scl;