Searched refs:misalign (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/exec/ |
H A D | load_address.c | 41 unsigned long long misalign; in main() local 58 misalign = extracted.load_address & (extracted.alignment - 1); in main() 59 if (misalign) { in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/exec/ |
H A D | load_address.c | 41 unsigned long long misalign; in main() local 58 misalign = extracted.load_address & (extracted.alignment - 1); in main() 59 if (misalign) { in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 89 int fd, misalign = misalignments[j]; in test_openat2_struct() local 102 if (misalign) { in test_openat2_struct() 104 * Explicitly misalign the structure copying it with the given in test_openat2_struct() 110 copy = malloc(misalign + sizeof(how_ext)); in test_openat2_struct() 111 how_copy = copy + misalign; in test_openat2_struct() 112 memset(copy, 0xff, misalign); in test_openat2_struct() 138 resultfn("openat2 with %s argument [misalign=%d] succeeds\n", in test_openat2_struct() 139 test->name, misalign); in test_openat2_struct() 141 resultfn("openat2 with %s argument [misalign=%d] fails with %d (%s)\n", in test_openat2_struct() 142 test->name, misalign, tes in test_openat2_struct() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 93 int fd, misalign = misalignments[j]; in test_openat2_struct() local 106 if (misalign) { in test_openat2_struct() 108 * Explicitly misalign the structure copying it with the given 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() 142 resultfn("openat2 with %s argument [misalign=%d] succeeds\n", in test_openat2_struct() 143 test->name, misalign); in test_openat2_struct() 145 resultfn("openat2 with %s argument [misalign=%d] fails with %d (%s)\n", in test_openat2_struct() 146 test->name, misalign, tes in test_openat2_struct() [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/ |
H A D | core_feature_base.h | 223 rv_csr_t misalign:1; /*!< bit: 6 misaligned access support flag */ member
|
Completed in 12 milliseconds