Home
last modified time | relevance | path

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

/tools/testing/selftests/exec/
A Dload_address.c53 unsigned long long misalign, pow2; in main() local
100 misalign = extracted.load_address & (extracted.alignment - 1); in main()
101 ksft_test_result(misalign == 0, "Load Address is %saligned (%#llx)\n", in main()
102 misalign ? "MIS" : "", misalign); in main()
/tools/testing/selftests/openat2/
A Dopenat2_test.c94 int fd, misalign = misalignments[j]; in test_openat2_struct() local
107 if (misalign) { in test_openat2_struct()
115 copy = malloc(misalign + sizeof(how_ext)); in test_openat2_struct()
116 how_copy = copy + misalign; in test_openat2_struct()
117 memset(copy, 0xff, misalign); in test_openat2_struct()
144 test->name, misalign); in test_openat2_struct()
147 test->name, misalign, test->err, in test_openat2_struct()
/tools/testing/memblock/tests/
A Dalloc_nid_api.c121 phys_addr_t misalign = SZ_2; in alloc_nid_top_down_end_misaligned_check() local
130 max_addr = min_addr + SZ_512 + misalign; in alloc_nid_top_down_end_misaligned_check()
141 ASSERT_EQ(rgn->base, max_addr - size - misalign); in alloc_nid_top_down_end_misaligned_check()
790 phys_addr_t misalign = SZ_2; in alloc_nid_bottom_up_start_misaligned_check() local
798 min_addr = memblock_start_of_DRAM() + misalign; in alloc_nid_bottom_up_start_misaligned_check()
810 ASSERT_EQ(rgn->base, min_addr + (SMP_CACHE_BYTES - misalign)); in alloc_nid_bottom_up_start_misaligned_check()

Completed in 11 milliseconds