Searched refs:LEAVE_MKFS (Results 1 – 1 of 1) sorted by relevance
506 #define LEAVE_MKFS(res) return res macro529 #define LEAVE_MKFS(res) return res macro541 #define LEAVE_MKFS(res) return res macro553 #define LEAVE_MKFS(res) { if (!work) ff_memfree(buf); return res; } macro5968 if (disk_read(pdrv, buf, 0, 1) != RES_OK) LEAVE_MKFS(FR_DISK_ERR); /* Load MBR */5969 if (ld_word(buf + BS_55AA) != 0xAA55) LEAVE_MKFS(FR_MKFS_ABORTED); /* Check if MBR is valid */5976 …if (disk_read(pdrv, buf, 1, 1) != RES_OK) LEAVE_MKFS(FR_DISK_ERR); /* Load GPT header sector (next…5977 if (!test_gpt_header(buf)) LEAVE_MKFS(FR_MKFS_ABORTED); /* Check if GPT header is valid */5982 …if (ofs == 0 && disk_read(pdrv, buf, pt_lba++, 1) != RES_OK) LEAVE_MKFS(FR_DISK_ERR); /* Get PT se…5990 if (n_ent == 0) LEAVE_MKFS(FR_MKFS_ABORTED); /* Partition not found */[all …]