Searched refs:PAGE_MAP_MAGIC_LENGTH (Results 1 – 1 of 1) sorted by relevance
28 #define PAGE_MAP_MAGIC_LENGTH (sizeof(PAGE_MAP_MAGIC) - 1) macro110 return PAGE_MAP_MAGIC_LENGTH + sizeof(u64) + sizeof(u16) * get_entry_count(geometry); in uds_compute_index_page_map_save_size()125 memcpy(buffer, PAGE_MAP_MAGIC, PAGE_MAP_MAGIC_LENGTH); in uds_write_index_page_map()126 offset += PAGE_MAP_MAGIC_LENGTH; in uds_write_index_page_map()142 u8 magic[PAGE_MAP_MAGIC_LENGTH]; in uds_read_index_page_map()158 memcpy(&magic, buffer, PAGE_MAP_MAGIC_LENGTH); in uds_read_index_page_map()159 offset += PAGE_MAP_MAGIC_LENGTH; in uds_read_index_page_map()160 if (memcmp(magic, PAGE_MAP_MAGIC, PAGE_MAP_MAGIC_LENGTH) != 0) { in uds_read_index_page_map()