perf_benchmark sample
lfs_file_truncate_()
is only used within perf_benchmark sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/6)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
perf_benchmark sample
lfs_file_truncate_()
lfs_file_truncate_() function
Syntax
Show:
Summary
Declaration
from
lfs.c:3728
static
int
lfs_file_truncate_
(
lfs_t
*
lfs
,
lfs_file_t
*
file
,
lfs_off_t
size
)
;
Arguments
Argument
lfs
file
size
Examples
References
from
examples
Code
Location
Referrer
static
int
lfs_file_truncate_
(
lfs_t
*
lfs
,
lfs_file_t
*
file
,
lfs_off_t
size
)
{
lfs.c:3728
err
=
lfs_file_truncate_
(
lfs
,
file
,
size
)
;
lfs.c:6186
lfs_file_truncate()
Call Tree
from
examples
lfs_file_truncate_()
is called by 1 function and calls 8 functions:
lfs_file_truncate()
All items filtered out
lfs_file_truncate_()
__assert_func()
lfs_ctz_find()
lfs_cache_drop()
lfs_file_flush()
lfs_file_flushedread()
lfs_file_seek_()
lfs_file_write_()
lfs_file_size_()
All items filtered out
Data Use
from
examples
lfs_file_truncate_()
reads 19 variables and writes 7 variables:
lfs_error::LFS_ERR_INVAL
lfs_open_flags::LFS_O_WRONLY
lfs_open_flags::LFS_F_DIRTY
lfs_open_flags::LFS_F_READING
lfs_open_flags::LFS_F_INLINE
lfs_whence_flags::LFS_SEEK_SET
lfs_whence_flags::LFS_SEEK_END
lfs_cache::buffer
lfs_config::cache_size
lfs::cfg
lfs::inline_max
lfs_ctz::head
lfs_ctz::size
lfs_file::ctz
lfs_file::flags
lfs_file::pos
lfs_file::block
lfs_file::cache
lfs::rcache
All items filtered out
lfs_file_truncate_()
lfs_cache::block
lfs_cache::off
lfs_cache::size
lfs_ctz::head
lfs_ctz::size
lfs_file::flags
lfs_file::pos
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