Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/exec/
H A Dload_address.c41 unsigned long long misalign; in main() local
58 misalign = extracted.load_address & (extracted.alignment - 1); in main()
59 if (misalign) { in main()
/openbmc/linux/tools/testing/selftests/openat2/
H 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()
/openbmc/qemu/tests/qemu-iotests/
H A Dtestenv.py182 misalign: bool = False,
192 self.misalign = misalign
265 if self.misalign:
H A Dcheck146 imgopts=args.imgopts, misalign=args.misalign,
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslicoss.c400 unsigned int misalign; in slic_refill_rx_queue() local
420 misalign = paddr & ALIGN_MASK; in slic_refill_rx_queue()
421 if (misalign) { in slic_refill_rx_queue()
422 offset = SLIC_RX_BUFF_ALIGN - misalign; in slic_refill_rx_queue()
772 unsigned int misalign; in slic_init_stat_queue() local
796 misalign = paddr & DESC_ALIGN_MASK; in slic_init_stat_queue()
797 if (misalign) { in slic_init_stat_queue()
798 offset = SLIC_STATS_DESC_ALIGN - misalign; in slic_init_stat_queue()
/openbmc/linux/tools/testing/memblock/tests/
H 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()