Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/exec/
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()
/Linux-v6.6/tools/testing/selftests/openat2/
Dopenat2_test.c93 int fd, misalign = misalignments[j]; in test_openat2_struct() local
106 if (misalign) { in test_openat2_struct()
114 copy = malloc(misalign + sizeof(how_ext)); in test_openat2_struct()
115 how_copy = copy + misalign; in test_openat2_struct()
116 memset(copy, 0xff, misalign); in test_openat2_struct()
143 test->name, misalign); in test_openat2_struct()
146 test->name, misalign, test->err, in test_openat2_struct()
/Linux-v6.6/drivers/net/ethernet/alacritech/
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()
/Linux-v6.6/tools/testing/memblock/tests/
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()