Lines Matching refs:FR_INT_ERR

1017 		res = FR_INT_ERR;			/* Invalid index nunber */  in dec_lock()
1234 FRESULT res = FR_INT_ERR; in put_fat()
1351 if (bv == (int)((fs->win[i] & bm) != 0)) return FR_INT_ERR; /* Is the bit expected value? */ in change_bitmap()
1432 if (clst < 2 || clst >= fs->n_fatent) return FR_INT_ERR; /* Check if in valid range */ in remove_chain()
1444 if (nxt == 1) return FR_INT_ERR; /* Internal error? */ in remove_chain()
1485 if (nxt < 2) return FR_INT_ERR; in remove_chain()
1539 if (res == FR_INT_ERR) return 1; in create_chain()
1693 return FR_INT_ERR; in dir_sdi()
1703 if (ofs / SZDIRE >= fs->n_rootdir) return FR_INT_ERR; /* Is index out of range? */ in dir_sdi()
1711 …if (clst < 2 || clst >= fs->n_fatent) return FR_INT_ERR; /* Reached to end of table or internal er… in dir_sdi()
1717 if (dp->sect == 0) return FR_INT_ERR; in dir_sdi()
1755 if (clst <= 1) return FR_INT_ERR; /* Internal error */ in dir_next()
1764 if (clst == 1) return FR_INT_ERR; /* Internal error */ in dir_next()
2170 if (dp->dir[XDIR_Type] != ET_FILEDIR) return FR_INT_ERR; /* Invalid order */
2173 if (sz_ent < 3 * SZDIRE || sz_ent > 19 * SZDIRE) return FR_INT_ERR;
2177 if (res == FR_NO_FILE) res = FR_INT_ERR; /* It cannot be */
2181 if (dp->dir[XDIR_Type] != ET_STREAM) return FR_INT_ERR; /* Invalid order */
2183 if (MAXDIRB(dirb[XDIR_NumName]) > sz_ent) return FR_INT_ERR;
2189 if (res == FR_NO_FILE) res = FR_INT_ERR; /* It cannot be */
2193 if (dp->dir[XDIR_Type] != ET_FILENAME) return FR_INT_ERR; /* Invalid order */
2199 if (xdir_sum(dirb) != ld_word(dirb + XDIR_SetSum)) return FR_INT_ERR;
2279 return (res == FR_OK || res == FR_DISK_ERR) ? res : FR_INT_ERR;
2622 if (res == FR_NO_FILE) res = FR_INT_ERR;
3521 if (!ff_del_syncobj(cfs->sobj)) return FR_INT_ERR;
3529 if (!ff_cre_syncobj((BYTE)vol, &fs->sobj)) return FR_INT_ERR;
3657 if (fp->obj.lockid == 0) res = FR_INT_ERR;
3704 if (clst <= 1) res = FR_INT_ERR;
3710 res = FR_INT_ERR;
3776 if (clst < 2) ABORT(fs, FR_INT_ERR);
3781 if (sect == 0) ABORT(fs, FR_INT_ERR);
3882 if (clst == 1) ABORT(fs, FR_INT_ERR);
3896 if (sect == 0) ABORT(fs, FR_INT_ERR);
4200 if (res == FR_NO_FILE) res = FR_INT_ERR;/* It cannot be 'not found'. */
4289 if (cl <= 1) ABORT(fs, FR_INT_ERR);
4309 if (dsc == 0) ABORT(fs, FR_INT_ERR);
4350 if (clst == 1) ABORT(fs, FR_INT_ERR);
4376 if (clst <= 1 || clst >= fs->n_fatent) ABORT(fs, FR_INT_ERR);
4382 if (nsect == 0) ABORT(fs, FR_INT_ERR);
4662 if (stat == 1) { res = FR_INT_ERR; break; }
4744 if (ncl == 1) res = FR_INT_ERR;
4893 if (dcl == 1) res = FR_INT_ERR; /* Any insanity? */
5021 res = FR_INT_ERR;
5412 if (n == 1) { res = FR_INT_ERR; break; }
5490 if (clst <= 1) ABORT(fs, FR_INT_ERR);
5496 if (sect == 0) ABORT(fs, FR_INT_ERR);
5517 if (rcnt == 0) ABORT(fs, FR_INT_ERR);