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