Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/fatfs/src/
Dff.c4261 DWORD clst, bcs, nsect; local
4337 fp->fptr = nsect = 0;
4381 nsect = clst2sect(fs, clst); /* Current sector */
4382 if (nsect == 0) ABORT(fs, FR_INT_ERR);
4383 nsect += (DWORD)(ofs / SS(fs));
4391 if (fp->fptr % SS(fs) && nsect != fp->sect) { /* Fill sector cache if needed */
4399 …if (disk_read(fs->pdrv, fp->buf, nsect, 1) != RES_OK) ABORT(fs, FR_DISK_ERR); /* Fill sector cache…
4401 fp->sect = nsect;
5545 DWORD szb_buf, sz_buf, sz_blk, n_clst, pau, sect, nsect, n; local
5696 sect = b_data; nsect = (szb_bit + ss - 1) / ss; /* Start of bitmap and number of sectors */
[all …]