Home
last modified time | relevance | path

Searched refs:FRESULT (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.4.0/components/fatfs/src/
Dff.h276 } FRESULT; typedef
283 FRESULT f_open (FIL* fp, const TCHAR* path, BYTE mode); /* Open or create a file */
284 FRESULT f_close (FIL* fp); /* Close an open file object */
285 FRESULT f_read (FIL* fp, void* buff, UINT btr, UINT* br); /* Read data from the file */
286 FRESULT f_write (FIL* fp, const void* buff, UINT btw, UINT* bw); /* Write data to the file */
287 FRESULT f_lseek (FIL* fp, FSIZE_t ofs); /* Move file pointer of the file object */
288 FRESULT f_truncate (FIL* fp); /* Truncate the file */
289 FRESULT f_sync (FIL* fp); /* Flush cached data of the writing file */
290 FRESULT f_opendir (FF_DIR* dp, const TCHAR* path); /* Open a directory */
291 FRESULT f_closedir (FF_DIR* dp); /* Close an open directory */
[all …]
Dff.c917 FRESULT res /* Result code to be returned */ in unlock_fs()
934 static FRESULT chk_lock ( /* Check if the file can be accessed */ in chk_lock()
1001 static FRESULT dec_lock ( /* Decrement object open counter */ in dec_lock()
1006 FRESULT res; in dec_lock()
1042 static FRESULT sync_window ( /* Returns FR_OK or FR_DISK_ERR */ in sync_window()
1046 FRESULT res = FR_OK; in sync_window()
1064 static FRESULT move_window ( /* Returns FR_OK or FR_DISK_ERR */ in move_window()
1069 FRESULT res = FR_OK; in move_window()
1095 static FRESULT sync_fs ( /* Returns FR_OK or FR_DISK_ERR */ in sync_fs()
1099 FRESULT res; in sync_fs()
[all …]
/hal_espressif-3.4.0/components/fatfs/vfs/
Dvfs_fat.c245 static int fresult_to_errno(FRESULT fr) in fresult_to_errno()
311 FRESULT res = f_open(&fat_ctx->files[fd], path, fat_mode_conv(flags)); in vfs_fat_open()
368 FRESULT res; in vfs_fat_write()
393 FRESULT res = f_read(file, dst, size, &read); in vfs_fat_read()
412 FRESULT f_res = f_lseek(file, offset); in vfs_fat_pread()
452 FRESULT f_res = f_lseek(file, offset); in vfs_fat_pwrite()
489 FRESULT res = f_sync(file); in vfs_fat_fsync()
511 FRESULT res = f_close(file); in vfs_fat_close()
542 FRESULT res = f_lseek(file, new_pos); in vfs_fat_lseek()
587 FRESULT res = f_stat(path, &info); in vfs_fat_stat()
[all …]
Dvfs_fat_spiflash.c76 FRESULT fresult = f_mount(fs, drv, 1); in esp_vfs_fat_spiflash_mount()
174 FRESULT fresult = f_mount(fs, drv, 1); in esp_vfs_fat_rawflash_mount()
Dvfs_fat_sdmmc.c109 FRESULT res = f_mount(fs, drv, 1); in mount_to_vfs_fat()
145 FRESULT res = FR_OK; in partition_card()
/hal_espressif-3.4.0/examples/peripherals/usb/host/msc/components/msc/src/
Dmsc_host_vfs.c37 FRESULT err = f_mkfs(drv, FM_ANY | FM_SFD, cluster_size, workbuf, workbuf_size); in msc_format_storage()
87 FRESULT fresult = f_mount(fs, drive, 1); in msc_host_vfs_register()
/hal_espressif-3.4.0/components/fatfs/test_fatfs_host/
Dtest_fatfs.cpp18 FRESULT fr_result;