Home
last modified time | relevance | path

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

/systemd-251/src/udev/mtd_probe/
Dprobe_smartmedia.c44 _cleanup_free_ uint8_t *cis_buffer = NULL; in probe_smart_media() local
48 cis_buffer = malloc(SM_SECTOR_SIZE); in probe_smart_media()
49 if (!cis_buffer) in probe_smart_media()
80 if (read(mtd_fd, cis_buffer, SM_SECTOR_SIZE) == SM_SECTOR_SIZE) { in probe_smart_media()
90 if (memcmp(cis_buffer, cis_signature, sizeof(cis_signature)) != 0 && in probe_smart_media()
91 memcmp(cis_buffer + SM_SMALL_PAGE, cis_signature, sizeof(cis_signature)) != 0) in probe_smart_media()