Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/parsers/
H A Dscpart.c31 #define PART_MAGIC_LEN sizeof(sc_part_magic) macro
109 uint8_t rdbuf[PART_MAGIC_LEN]; in scpart_find_partmap()
114 res2 = mtd_read(master, offs, PART_MAGIC_LEN, &retlen, rdbuf); in scpart_find_partmap()
115 if (res2 || retlen != PART_MAGIC_LEN) { in scpart_find_partmap()
119 if (!memcmp(rdbuf, sc_part_magic, PART_MAGIC_LEN)) { in scpart_find_partmap()