Searched refs:misalign (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/exec/ |
| H A D | load_address.c | 53 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()
|
| /linux/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | 94 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()
|
| /linux/drivers/net/ethernet/alacritech/ |
| H A D | slicoss.c | 400 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/tools/testing/memblock/tests/ |
| H A D | alloc_nid_api.c | 121 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()
|