Home
last modified time | relevance | path

Searched refs:LEAVE_MKFS (Results 1 – 1 of 1) sorted by relevance

/fatfs-latest/
Dff.c506 #define LEAVE_MKFS(res) return res macro
529 #define LEAVE_MKFS(res) return res macro
541 #define LEAVE_MKFS(res) return res macro
553 #define LEAVE_MKFS(res) { if (!work) ff_memfree(buf); return res; } macro
5968 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 …]