Searched refs:n_ent (Results 1 – 1 of 1) sorted by relevance
1826 UINT n_ent /* Number of contiguous entries to allocate */ argument1845 if (++n == n_ent) break; /* Is a block of contiguous free entries found? */2494 UINT n, len, n_ent; local2503 n_ent = (len + 14) / 15 + 2; /* Number of entries to allocate (85+C0+C1s) */2504 res = dir_alloc(dp, n_ent); /* Allocate directory entries */2506 dp->blk_ofs = dp->dptr - SZDIRE * (n_ent - 1); /* Set the allocated entry block offset */2547 n_ent = (sn[NSFLAG] & NS_LFN) ? (len + 12) / 13 + 1 : 1; /* Number of entries to allocate */2548 res = dir_alloc(dp, n_ent); /* Allocate entries */2549 if (res == FR_OK && --n_ent) { /* Set LFN entry if needed */2550 res = dir_sdi(dp, dp->dptr - n_ent * SZDIRE);[all …]