FatFS
FR_DENIED
is only used within FatFS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
FatFS
FR_DENIED
FR_DENIED value
Syntax
Show:
Summary
Declaration
from
ff.h:290
FR_DENIED
;
Examples
References
from
examples
Code
Location
Referrer
FR_DENIED
,
/* (7) Access denied due to prohibited access or directory full */
ff.h:290
if
(
clst
==
0
)
return
FR_DENIED
;
/* No free cluster */
ff.c:1782
dir_next()
if
(
res
==
FR_NO_FILE
)
res
=
FR_DENIED
;
/* No directory entry to allocate */
ff.c:1840
dir_alloc()
if
(
n
==
100
)
return
FR_DENIED
;
/* Abort if too many collisions */
ff.c:2524
dir_register()
res
=
FR_DENIED
;
ff.c:3781
f_open()
res
=
FR_DENIED
;
ff.c:3832
f_open()
if
(
!
(
fp
->
flag
&
FA_READ
)
)
LEAVE_FF
(
fs
,
FR_DENIED
)
;
/* Check access mode */
ff.c:3970
f_read()
if
(
!
(
fp
->
flag
&
FA_WRITE
)
)
LEAVE_FF
(
fs
,
FR_DENIED
)
;
/* Check access mode */
ff.c:4069
f_write()
if
(
!
(
fp
->
flag
&
FA_WRITE
)
)
LEAVE_FF
(
fs
,
FR_DENIED
)
;
/* Check access mode */
ff.c:4964
f_truncate()
res
=
FR_DENIED
;
/* Cannot remove R/O object */
ff.c:5034
f_unlink()
if
(
res
==
FR_OK
)
res
=
FR_DENIED
;
/* Not empty? */
ff.c:5066
f_unlink()
if
(
dcl
==
0
)
res
=
FR_DENIED
;
/* No space to allocate a new cluster? */
ff.c:5122
f_mkdir()
if
(
fsz
==
0
||
fp
->
obj
.
objsize
!=
0
||
!
(
fp
->
flag
&
FA_WRITE
)
)
LEAVE_FF
(
fs
,
FR_DENIED
)
;
ff.c:5619
f_expand()
res
=
FR_DENIED
;
break
;
ff.c:5660
f_expand()
case
FR_DENIED
:
return
EACCES
;
vfs_fat.c:327
fresult_to_errno()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
FR_DENIED
is read by 11 functions:
All items filtered out
FR_DENIED
dir_next()
dir_alloc()
dir_register()
f_open()
f_read()
f_write()
f_truncate()
f_unlink()
f_mkdir()
f_expand()
fresult_to_errno()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out