Searched refs:cis_buffer (Results 1 – 1 of 1) sorted by relevance
44 _cleanup_free_ uint8_t *cis_buffer = NULL; in probe_smart_media() local48 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()