Home
last modified time | relevance | path

Searched refs:RES_OK (Results 1 – 3 of 3) sorted by relevance

/fatfs-2.7.6/
Dzfs_diskio.c46 return RES_OK; in disk_status()
61 return RES_OK; in disk_initialize()
76 return RES_OK; in disk_read()
91 return RES_OK; in disk_write()
101 int ret = RES_OK; in disk_ioctl()
Dff.c1033 if (disk_write(fs->pdrv, fs->win, fs->winsect, 1) == RES_OK) { /* Write it back into the volume */ in sync_window()
1060 if (disk_read(fs->pdrv, fs->win, sect, 1) != RES_OK) { in move_window()
1100 if (disk_ioctl(fs->pdrv, CTRL_SYNC, 0) != RES_OK) res = FR_DISK_ERR; in sync_fs()
1647 …for (n = 0; n < fs->csize && disk_write(fs->pdrv, ibuf, sect + n, szb) == RES_OK; n += szb) ; /* F… in dir_clear()
1653 …for (n = 0; n < fs->csize && disk_write(fs->pdrv, ibuf, sect + n, szb) == RES_OK; n += szb) ; /* F… in dir_clear()
3384 if (disk_ioctl(fs->pdrv, GET_SECTOR_SIZE, &SS(fs)) != RES_OK) return FR_DISK_ERR;
3824 if (disk_read(fs->pdrv, fp->buf, fp->sect, 1) != RES_OK) res = FR_DISK_ERR;
3901 if (disk_read(fs->pdrv, rbuff, sect, cc) != RES_OK) ABORT(fs, FR_DISK_ERR);
3920 if (disk_write(fs->pdrv, fp->buf, fp->sect, 1) != RES_OK) ABORT(fs, FR_DISK_ERR);
3924 …if (disk_read(fs->pdrv, fp->buf, sect, 1) != RES_OK) ABORT(fs, FR_DISK_ERR); /* Fill sector cache …
[all …]
/fatfs-2.7.6/include/
Ddiskio.h17 RES_OK = 0, /* 0: Successful */ enumerator