FatFs
_FDID::lockid
is only used within FatFs.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
FatFs
_FDID::lockid
_FDID::lockid field
Syntax
from
ff.h:147
UINT
lockid
;
References
Location
Referrer
Text
ff.h:147
UINT
lockid
;
/* File lock ID origin from 1 (index of file semaphore table Files[]) */
ff.c:3428
f_open()
fp
->
obj
.
lockid
=
inc_lock
(
&
dj
,
(
mode
&
~
FA_READ
)
?
1
:
0
)
;
ff.c:3429
f_open()
if
(
!
fp
->
obj
.
lockid
)
res
=
FR_INT_ERR
;
ff.c:3828
f_close()
res
=
dec_lock
(
fp
->
obj
.
lockid
)
;
/* Decrement file open counter */
ff.c:4208
f_opendir()
obj
->
lockid
=
inc_lock
(
dp
,
0
)
;
/* Lock the sub directory */
ff.c:4209
f_opendir()
if
(
!
obj
->
lockid
)
res
=
FR_TOO_MANY_OPEN_FILES
;
ff.c:4211
f_opendir()
obj
->
lockid
=
0
;
/* Root directory need not to be locked */
ff.c:4243
f_closedir()
if
(
dp
->
obj
.
lockid
)
{
/* Decrement sub-directory open counter */
ff.c:4244
f_closedir()
res
=
dec_lock
(
dp
->
obj
.
lockid
)
;
Data Use
Functions writing
_FDID::lockid
Functions reading
_FDID::lockid
f_open()
f_opendir()
all items filtered out
_FDID::lockid
f_open()
f_close()
f_opendir()
f_closedir()
all items filtered out
Type of
_FDID::lockid
_FDID::lockid
UINT
all items filtered out