FatFs + 0/17 examples
CodeScope will show references to _FDID::objsize from the following samples and libraries:
Examples
STM32F413ZH-Nucleo
STM32F429ZI-Nucleo
STM32446E_EVAL
Demonstrations
Applications
USB_Host
STM32469I-Discovery
Demonstrations
Applications
USB_Host
STM32469I_EVAL
Demonstrations
STM324xG_EVAL
Demonstrations
Applications
USB_Host
STM32F412G-Discovery
Demonstrations
STM32F413H-Discovery
Demonstrations
STM324x9I_EVAL
Applications
USB_Host
Demonstrations
STemWin
STM32F429I-Discovery
Applications
USB_Host
 
Symbols
loading...
Files
loading...

_FDID::objsize field

Syntax

FSIZE_t objsize;

Examples

_FDID::objsize is referenced by 17 libraries and example projects.

References

LocationReferrerText
ff.h:138
FSIZE_t objsize; /* Object size (valid when sclust != 0) */
ff.c:3457f_open()
fp->obj.objsize = ld_dword(dj.dir + DIR_FileSize);
ff.c:3472f_open()
if ((mode & FA_SEEKEND) && fp->obj.objsize > 0) { /* Seek to end of file if FA_OPEN_APPEND is specified */
ff.c:3473f_open()
fp->fptr = fp->obj.objsize; /* Offset to seek */
ff.c:3476f_open()
for (ofs = fp->obj.objsize; res == FR_OK && ofs > bcs; ofs -= bcs) {
ff.c:3530f_read()
remain = fp->obj.objsize - fp->fptr;
ff.c:3636f_write()
wbuff += wcnt, fp->fptr += wcnt, fp->obj.objsize = (fp->fptr > fp->obj.objsize) ? fp->fptr : fp->obj.objsize, *bw += wcnt, btw -= wcnt) {
ff.c:3701f_write()
fp->fptr < fp->obj.objsize &&
ff.c:3790f_sync()
st_dword(dir + DIR_FileSize, (DWORD)fp->obj.objsize); /* Update file size */
ff.c:4051f_lseek()
if (ofs > fp->obj.objsize) ofs = fp->obj.objsize; /* Clip offset at the file size */
ff.c:4080f_lseek()
if (ofs > fp->obj.objsize && (_FS_READONLY || !(fp->flag & FA_WRITE))) { /* In read-only mode, clip offset with the file size */
ff.c:4081f_lseek()
ofs = fp->obj.objsize;
ff.c:4109f_lseek()
if (_FS_EXFAT && fp->fptr > fp->obj.objsize) { /* No FAT chain object needs correct objsize to generate FAT value */
ff.c:4110f_lseek()
fp->obj.objsize = fp->fptr;
ff.c:4134f_lseek()
if (!_FS_READONLY && fp->fptr > fp->obj.objsize) { /* Set file change flag if the file size is extended */
ff.c:4135f_lseek()
fp->obj.objsize = fp->fptr;
ff.c:4488f_truncate()
if (fp->fptr < fp->obj.objsize) { /* Process when fptr is not on the eof */
ff.c:4501f_truncate()
fp->obj.objsize = fp->fptr; /* Set file size to current R/W point */
ff.c:4645f_mkdir()
dj.obj.objsize = (DWORD)fs->csize * SS(fs);

Data Use

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