Lines Matching refs:MAGIC_SIZE
97 #define MAGIC_SIZE 8 macro
102 char magic[MAGIC_SIZE]; /* MAGIC_START_5 */
113 char magic[MAGIC_SIZE]; /* MAGIC_START_6 */
827 memcpy(&header.magic, buffer, MAGIC_SIZE); in start_restoring_volume_sub_index()
828 offset += MAGIC_SIZE; in start_restoring_volume_sub_index()
841 if (memcmp(header.magic, MAGIC_START_5, MAGIC_SIZE) != 0) { in start_restoring_volume_sub_index()
923 memcpy(&header.magic, buffer, MAGIC_SIZE); in start_restoring_volume_index()
924 offset += MAGIC_SIZE; in start_restoring_volume_index()
933 if (memcmp(header.magic, MAGIC_START_6, MAGIC_SIZE) != 0) in start_restoring_volume_index()
1018 memcpy(buffer, MAGIC_START_5, MAGIC_SIZE); in start_saving_volume_sub_index()
1019 offset += MAGIC_SIZE; in start_saving_volume_sub_index()
1066 memcpy(buffer, MAGIC_START_6, MAGIC_SIZE); in start_saving_volume_index()
1067 offset += MAGIC_SIZE; in start_saving_volume_index()