_FDID::lockid is only used within FatFs.
 
Symbols
loading...
Files
loading...

_FDID::lockid field

Syntax

UINT lockid;

References

LocationReferrerText
ff.h:147
UINT lockid; /* File lock ID origin from 1 (index of file semaphore table Files[]) */
ff.c:3428f_open()
fp->obj.lockid = inc_lock(&dj, (mode & ~FA_READ) ? 1 : 0);
ff.c:3429f_open()
if (!fp->obj.lockid) res = FR_INT_ERR;
ff.c:3828f_close()
res = dec_lock(fp->obj.lockid); /* Decrement file open counter */
ff.c:4208f_opendir()
obj->lockid = inc_lock(dp, 0); /* Lock the sub directory */
ff.c:4209f_opendir()
if (!obj->lockid) res = FR_TOO_MANY_OPEN_FILES;
ff.c:4211f_opendir()
obj->lockid = 0; /* Root directory need not to be locked */
ff.c:4243f_closedir()
if (dp->obj.lockid) { /* Decrement sub-directory open counter */
ff.c:4244f_closedir()
res = dec_lock(dp->obj.lockid);

Data Use

Functions writing _FDID::lockid
Functions reading _FDID::lockid
all items filtered out
_FDID::lockid
Type of _FDID::lockid
_FDID::lockid
all items filtered out