Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/fatfs/src/
Dff.h188 UINT lockid; /* File lock ID origin from 1 (index of file semaphore table Files[]) */ member
Dff.c3656 fp->obj.lockid = inc_lock(&dj, (mode & ~FA_READ) ? 1 : 0); /* Lock the file for this session */
3657 if (fp->obj.lockid == 0) res = FR_INT_ERR;
4054 res = dec_lock(fp->obj.lockid); /* Decrement file open counter */
4457 dp->obj.lockid = inc_lock(dp, 0); /* Lock the sub directory */
4458 if (!dp->obj.lockid) res = FR_TOO_MANY_OPEN_FILES;
4460 dp->obj.lockid = 0; /* Root directory need not to be locked */
4492 if (dp->obj.lockid) res = dec_lock(dp->obj.lockid); /* Decrement sub-directory open counter */