Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c501 #define LEAVE_MKFS(res) return res macro
524 #define LEAVE_MKFS(res) return res macro
536 #define LEAVE_MKFS(res) return res macro
548 #define LEAVE_MKFS(res) { if (!work) ff_memfree(buf); return res; } macro
5865 if (disk_read(pdrv, buf, 0, 1) != RES_OK) LEAVE_MKFS(FR_DISK_ERR); /* Load MBR */
5866 if (ld_word(buf + BS_55AA) != 0xAA55) LEAVE_MKFS(FR_MKFS_ABORTED); /* Check if MBR is valid */
5873 …if (disk_read(pdrv, buf, 1, 1) != RES_OK) LEAVE_MKFS(FR_DISK_ERR); /* Load GPT header sector (next…
5874 if (!test_gpt_header(buf)) LEAVE_MKFS(FR_MKFS_ABORTED); /* Check if GPT header is valid */
5879 …if (ofs == 0 && disk_read(pdrv, buf, pt_lba++, 1) != RES_OK) LEAVE_MKFS(FR_DISK_ERR); /* Get PT se…
5887 if (n_ent == 0) LEAVE_MKFS(FR_MKFS_ABORTED); /* Partition not found */
[all …]