Searched refs:FA_READ (Results 1 – 3 of 3) sorted by relevance
89 fr = f_open(&fil, "fastrec.log", FA_READ | FA_WRITE | FA_OPEN_ALWAYS); in main()
556 #define FA_READ 0x01 macro
2805 mode &= (BYTE)~FA_READ; /* Desired access mode, write access or not */ in mount_volume()3272 …mode &= FF_FS_READONLY ? FA_READ : FA_READ | FA_WRITE | FA_CREATE_ALWAYS | FA_CREATE_NEW | FA_OPEN… in f_open()3306 res = chk_lock(&dj, (mode & ~FA_READ) ? 1 : 0); /* Check if the file can be used */ in f_open()3393 fp->obj.lockid = inc_lock(&dj, (mode & ~FA_READ) ? 1 : 0); /* Lock the file for this session */ in f_open()3465 if (res == FR_OK && (mode & ~FA_READ) && ISVIRPART(fs) && in f_open()3536 if (!(fp->flag & FA_READ)) LEAVE_FF(fs, FR_NO_EPERM); /* Check access mode */ in f_read()5466 if (!(fp->flag & FA_READ)) LEAVE_FF(fs, FR_NO_EPERM); /* Check access mode */