Lines Matching defs:res

44 #define LEAVE_FF(fs, res)   do { unlock_fs(fs, res); return res; } while (0)

47 #define LEAVE_FF(fs, res) return (res)
100 FRESULT res;
109 res = create_name(&dj, &path);
111 if (res == FR_OK && dj.fn[11] == 0x20) {
112 res = FR_INVALID_NAME;
113 return res;
120 res = FR_INVALID_NAME;
121 return res;
124 res = FR_INVALID_NAME;
125 return res;
128 return res;
168 FRESULT res;
178 res = FatfsCheckBoundParam(fs, clust);
179 if (res != FR_OK) {
180 LEAVE_FF(fs, res);
385 FRESULT res;
390 res = FatfsCheckScanFatParam(fs);
391 if (res != FR_OK) {
392 return res;
396 res = FR_OK;
412 LEAVE_FF(fs, res);
514 FRESULT res;
528 res = mount_volume(&path, &fs, FA_WRITE); /* Update the filesystem info to the parent fs */
529 if (res != FR_OK) {
530 LEAVE_FF(fs, res);
547 res = FR_DISK_ERR;
551 res = FatfsCheckStart(work, fs, vol);
552 if (res != FR_OK) {
557 res = f_regvirfs(fs);
558 if (res != FR_OK) {
566 res = FR_MODIFIED;
572 res = FR_MODIFIED;
592 res = FR_MODIFIED;
602 res = FR_MODIFIED;
606 res = FatfsCheckPartClst(fs, i);
607 if (res != FR_OK) {
615 res = FatfsCheckPercent(fs, i);
616 if (res != FR_OK) {
623 LEAVE_FF(fs, res);
670 FRESULT res;
686 res = mount_volume(&path, &fs, FA_WRITE); /* Update the filesystem info to the parent fs */
687 if (res != FR_OK) {
688 LEAVE_FF(fs, res);
703 res = f_regvirfs(fs);
704 if (res != FR_OK) {
705 LEAVE_FF(fs, res);
760 res = FR_DISK_ERR;
764 LEAVE_FF(fs, res);
770 FRESULT res;
777 res = mount_volume(&path, &fs, 0);
778 if (res != FR_OK) {
779 LEAVE_FF(fs, res);
786 res = follow_virentry(&dj.obj, path);
787 if (res == FR_INT_ERR) {
788 LEAVE_FF(fs, res);
790 if (res == FR_OK) {