Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c1499 DWORD cs, ncl, scl; in create_chain() local
1509 cs = get_fat(obj, clst); /* Check the cluster status */ in create_chain()
1510 if (cs < 2) return 1; /* Test for insanity */ in create_chain()
1511 if (cs == 0xFFFFFFFF) return cs; /* Test for disk error */ in create_chain()
1512 if (cs < fs->n_fatent) return cs; /* It is already followed by next cluster */ in create_chain()
1548 cs = get_fat(obj, ncl); /* Get next cluster status */ in create_chain()
1549 if (cs == 1 || cs == 0xFFFFFFFF) return cs; /* Test for error */ in create_chain()
1550 if (cs != 0) { /* Not free? */ in create_chain()
1551 cs = fs->last_clst; /* Start at suggested cluster if it is valid */ in create_chain()
1552 if (cs >= 2 && cs < fs->n_fatent) scl = cs; in create_chain()
[all …]