Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dmremap_test.c29 unsigned long long dest_alignment; member
61 .dest_alignment = destination_align, \
303 align_mask = ~(c.dest_alignment - 1); in remap_region()
305 offset = (c.overlapping) ? -c.dest_alignment : c.dest_alignment; in remap_region()
310 if (!((unsigned long long) addr & c.dest_alignment)) in remap_region()
311 addr = (void *) ((unsigned long long) addr | c.dest_alignment); in remap_region()
316 if (addr + c.dest_alignment < addr) { in remap_region()
321 addr += c.dest_alignment; in remap_region()