FSVol_CacheFlush()
void FSVol_CacheFlush (CPU_CHAR *name_vol, FS_ERR *p_err)
File | Called from | Code enabled by |
---|---|---|
| Application |
|
Flush cache on a volume.
Arguments
name_vol
Volume name.
p_err
Pointer to variable that will receive return error code from this function:
FS_ERR_NONE
Cache created.
FS_ERR_NAME_NULL
‘name_vol
’ passed a NULL pointer.
FS_ERR_DEV_CHNGD
Device has changed.
FS_ERR_VOL_NO_CACHE
No cache assigned to volume.
FS_ERR_VOL_NOT_OPEN
Volume not open.
FS_ERR_VOL_NOT_MOUNTED
Volume not mounted.
FS_ERR_DEV_INVALID_SEC_NBR
Sector start or count invalid.
FS_ERR_DEV_INVALID_lOW_FMT
Device needs to be low-level formatted.
FS_ERR_DEV_IO
Device I/O error.
FS_ERR_DEV_TIMEOUT
Device timeout error.
FS_ERR_DEV_NOT_PRESENT
Device is not present.
Returned Value
None.
Notes/Warnings
None.