Searched refs:STA_PROTECT (Results 1 – 2 of 2) sorted by relevance
40 #define STA_PROTECT 0x04 /* Write protected */ macro
3364 if (!FF_FS_READONLY && mode && (stat & STA_PROTECT)) { /* Check write protection if needed */3380 if (!FF_FS_READONLY && mode && (stat & STA_PROTECT)) { /* Check disk write protection if needed */5835 if (ds & STA_PROTECT) return FR_WRITE_PROTECTED;6315 if (stat & STA_PROTECT) return FR_WRITE_PROTECTED;