Searched refs:FA_WRITE (Results 1 – 4 of 4) sorted by relevance
/third_party/FatFs/documents/res/ |
D | app3.c | 51 if (!(fp->flag & FA_WRITE)) return 0; /* Exit if the file object is for read-only */ in allocate_contiguous_clusters() 89 fr = f_open(&fil, "fastrec.log", FA_READ | FA_WRITE | FA_OPEN_ALWAYS); in main()
|
D | app1.c | 14 fr = f_open(fp, path, FA_WRITE | FA_OPEN_ALWAYS); in open_append()
|
/third_party/FatFs/source/ |
D | ff.c | 3298 …mode &= FF_FS_READONLY ? FA_READ : FA_READ | FA_WRITE | FA_CREATE_ALWAYS | FA_CREATE_NEW | FA_OPEN… in f_open() 3403 if ((mode & FA_WRITE) && (dj.obj.attr & AM_RDO)) { /* Write mode open against R/O file */ in f_open() 3679 if (!(fp->flag & FA_WRITE)) LEAVE_FF(fs, FR_NO_EPERM); /* Check access mode */ in f_write() 4131 …if (ofs > fp->obj.objsize && (FF_FS_READONLY || !(fp->flag & FA_WRITE))) { /* In read-only mode, c… in f_lseek() 4160 if (fp->flag & FA_WRITE) { /* Check if in write mode or not */ in f_lseek() 4533 if (!(fp->flag & FA_WRITE)) LEAVE_FF(fs, FR_NO_EPERM); /* Check access mode */ in f_truncate() 4620 res = mount_volume(&path, &fs, FA_WRITE); in f_unlink() 4765 res = mount_volume(&path, &fs, FA_WRITE); /* Get logical drive */ in f_mkdir() 4903 res = mount_volume(&path_old, &fs, FA_WRITE); /* Get logical drive of the old object */ 5058 res = mount_volume(&path, &fs, FA_WRITE); /* Get logical drive */ [all …]
|
D | ff.h | 565 #define FA_WRITE 0x02 macro
|