Home
last modified time | relevance | path

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

/third_party/FatFs/source/
Dff.c3393 fp->obj.lockid = inc_lock(&dj, (mode & ~FA_READ) ? 1 : 0); /* Lock the file for this session */ in f_open()
3394 if (fp->obj.lockid == 0) res = FR_INT_ERR; in f_open()
3428 dec_lock(fp->obj.lockid); in f_open()
3494 dec_lock(fp->obj.lockid); /* Ivalid lockid will be ignored */ in f_open()
3851 res = dec_lock(fp->obj.lockid); /* Decrement file open counter */ in f_close()
4219 dp->obj.lockid = inc_lock(dp, 0); /* Lock the sub directory */ in f_opendir()
4220 if (!dp->obj.lockid) res = FR_TOO_MANY_OPEN_FILES; in f_opendir()
4222 dp->obj.lockid = 0; /* Root directory need not to be locked */ in f_opendir()
4254 if (dp->obj.lockid) res = dec_lock(dp->obj.lockid); /* Decrement sub-directory open counter */ in f_closedir()
Dff.h281 UINT lockid; /* File lock ID origin from 1 (index of file semaphore table Files[]) */ member