Searched refs:ALIGN_TO (Results 1 – 1 of 1) sorted by relevance
38 #define ALIGN_TO(val, alignment) \ macro215 ALIGN_TO(sizeof(camera_metadata_t), ENTRY_ALIGNMENT); in place_camera_metadata()221 metadata->data_start = ALIGN_TO(data_unaligned, DATA_ALIGNMENT); in place_camera_metadata()234 memory_needed = ALIGN_TO(memory_needed, ENTRY_ALIGNMENT); in calculate_camera_metadata_size()237 memory_needed = ALIGN_TO(memory_needed, DATA_ALIGNMENT); in calculate_camera_metadata_size()322 uintptr_t aligned_ptr = ALIGN_TO(metadata, alignments[i].alignment); in validate_camera_metadata_structure()378 if ((uintptr_t)&entries[i] != ALIGN_TO(&entries[i], ENTRY_ALIGNMENT)) { in validate_camera_metadata_structure()412 if ((uintptr_t)data != ALIGN_TO(data, DATA_ALIGNMENT)) { in validate_camera_metadata_structure()500 return data_bytes <= 4 ? 0 : ALIGN_TO(data_bytes, DATA_ALIGNMENT); in calculate_camera_metadata_entry_data_size()