Home
last modified time | relevance | path

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

/fatfs-2.7.6/include/
Dff.h198 UINT lockid; /* File lock ID origin from 1 (index of file semaphore table Files[]) */ member
/fatfs-2.7.6/
Dff.c3765 fp->obj.lockid = inc_lock(&dj, (mode & ~FA_READ) ? 1 : 0); /* Lock the file for this session */
3766 if (fp->obj.lockid == 0) res = FR_INT_ERR;
3829 if (res != FR_OK) dec_lock(fp->obj.lockid); /* Decrement file open counter if seek failed */
4167 res = dec_lock(fp->obj.lockid); /* Decrement file open counter */
4573 dp->obj.lockid = inc_lock(dp, 0); /* Lock the sub directory */
4574 if (!dp->obj.lockid) res = FR_TOO_MANY_OPEN_FILES;
4576 dp->obj.lockid = 0; /* Root directory need not to be locked */
4608 if (dp->obj.lockid) res = dec_lock(dp->obj.lockid); /* Decrement sub-directory open counter */