Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c1181 if (obj->n_frag != 0) { /* Is it on the growing edge? */ in get_fat()
1382 while (obj->n_frag > 0) { /* Create the chain of last fragment */ in fill_last_frag()
1383 res = put_fat(obj->fs, lcl - obj->n_frag + 1, (obj->n_frag > 1) ? lcl - obj->n_frag + 2 : term); in fill_last_frag()
1385 obj->n_frag--; in fill_last_frag()
1534 obj->n_frag = obj->n_frag ? obj->n_frag + 1 : 2; /* Increment size of last framgent */ in create_chain()
1536 if (obj->n_frag == 0) obj->n_frag = 1; in create_chain()
1538 if (res == FR_OK) obj->n_frag = 1; in create_chain()
2158 obj->n_frag = 0; /* No last fragment info */
2180 dp->obj.n_frag = 0;
3023 dp->obj.n_frag = 0; /* Invalidate last fragment counter of the object */
/fatfs-2.7.6/include/
Dff.h192 DWORD n_frag; /* Size of last fragment needs to be written to FAT (valid when not zero) */ member