/Linux-v6.6/Documentation/core-api/ |
D | unaligned-memory-access.rst | 15 unaligned accesses, why you need to write code that doesn't cause them, 19 The definition of an unaligned access 25 reading 4 bytes of data from address 0x10005 would be an unaligned memory 52 Why unaligned access is bad 55 The effects of performing an unaligned memory access vary from architecture 59 - Some architectures are able to perform unaligned memory accesses 61 - Some architectures raise processor exceptions when unaligned accesses 62 happen. The exception handler is able to correct the unaligned access, 64 - Some architectures raise processor exceptions when unaligned accesses 66 unaligned access to be corrected. [all …]
|
/Linux-v6.6/Documentation/arch/arm/ |
D | mem_alignment.rst | 14 unaligned memory access in general. If those access are predictable, you 15 are better to use the macros provided by include/asm/unaligned.h. The 20 trap to SIGBUS any code performing unaligned access (good for debugging bad 27 real bad - it changes the behaviour of all unaligned instructions in user 36 0 A user process performing an unaligned memory access 42 performing the unaligned access. This is of course 47 performing the unaligned access. 59 information on unaligned access occurrences plus the current mode of
|
/Linux-v6.6/net/xdp/ |
D | xsk_buff_pool.c | 58 bool unaligned = umem->flags & XDP_UMEM_UNALIGNED_CHUNK_FLAG; in xp_create_and_assign_umem() local 63 entries = unaligned ? umem->chunks : 0; in xp_create_and_assign_umem() 83 pool->unaligned = unaligned; in xp_create_and_assign_umem() 104 if (pool->unaligned) in xp_create_and_assign_umem() 394 if (!pool->unaligned) { in xp_init_dma_info() 451 if (pool->unaligned) in xp_dma_map() 501 ok = pool->unaligned ? xp_check_unaligned(pool, &addr) : in __xp_alloc() 511 if (pool->unaligned) { in __xp_alloc() 569 ok = pool->unaligned ? xp_check_unaligned(pool, &addr) : in xp_alloc_new_from_fq() 577 if (pool->unaligned) { in xp_alloc_new_from_fq() [all …]
|
/Linux-v6.6/drivers/s390/cio/ |
D | vfio_ccw_cp.c | 92 struct vfio_device *vdev, int pa_nr, bool unaligned) in page_array_unpin() argument 102 !unaligned) { in page_array_unpin() 131 static int page_array_pin(struct page_array *pa, struct vfio_device *vdev, bool unaligned) in page_array_pin() argument 142 !unaligned) { in page_array_pin() 164 page_array_unpin(pa, vdev, pinned, unaligned); in page_array_pin() 169 static void page_array_unpin_free(struct page_array *pa, struct vfio_device *vdev, bool unaligned) in page_array_unpin_free() argument 171 page_array_unpin(pa, vdev, pa->pa_nr, unaligned); in page_array_unpin_free()
|
/Linux-v6.6/arch/alpha/kernel/ |
D | traps.c | 427 } unaligned[2]; variable 443 unaligned[0].count++; in do_entUna() 444 unaligned[0].va = (unsigned long) va; in do_entUna() 445 unaligned[0].pc = pc; in do_entUna() 752 ++unaligned[1].count; in do_entUnaUser() 753 unaligned[1].va = (unsigned long)va; in do_entUnaUser() 754 unaligned[1].pc = regs->pc - 4; in do_entUnaUser()
|
D | setup.c | 1132 } unaligned[2]; in show_cpuinfo() local 1195 unaligned[0].count, unaligned[0].pc, unaligned[0].va, in show_cpuinfo() 1196 unaligned[1].count, unaligned[1].pc, unaligned[1].va, in show_cpuinfo()
|
/Linux-v6.6/Documentation/devicetree/bindings/pci/ |
D | ti-pci.txt | 36 - ti,syscon-unaligned-access: phandle to the syscon DT node. The 1st argument 39 for setting the bit to enable unaligned 54 - ti,syscon-unaligned-access: phandle to the syscon DT node. The 1st argument 57 for setting the bit to enable unaligned
|
/Linux-v6.6/include/net/ |
D | xsk_buff_pool.h | 83 bool unaligned; member 222 if (xskb->pool->unaligned) in xp_release() 231 if (!xskb->pool->unaligned) in xp_get_handle()
|
/Linux-v6.6/Documentation/translations/zh_CN/core-api/ |
D | unaligned-memory-access.rst | 3 :Original: Documentation/core-api/unaligned-memory-access.rst 178 避免非对齐访问的最简单方法是使用<asm/unaligned.h>头文件提供的get_unaligned()和
|
D | index.rst | 110 unaligned-memory-access
|
/Linux-v6.6/arch/parisc/boot/compressed/ |
D | vmlinux.scr | 7 output_len = . - 4; /* can be at unaligned address */
|
/Linux-v6.6/arch/loongarch/lib/ |
D | Makefile | 7 clear_user.o copy_user.o csum.o dump_tlb.o unaligned.o
|
/Linux-v6.6/arch/arc/lib/ |
D | Makefile | 12 lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs-unaligned.o
|
D | memcpy-archs.S | 94 ;;; CASE 1: The source is unaligned, off by 1 139 ;;; CASE 2: The source is unaligned, off by 2 180 ;;; CASE 3: The source is unaligned, off by 3
|
D | strchr-700.S | 41 breq r7,0,.Loop ; For speed, we want this branch to be unaligned. 45 breq r12,0,.Loop ; For speed, we want this branch to be unaligned.
|
/Linux-v6.6/Documentation/dev-tools/ |
D | ubsan.rst | 78 Detection of unaligned accesses controlled through the separate option - 80 unaligned accesses (CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y). One could
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | pool.c | 75 xsk->unaligned = pool->unaligned; in mlx5e_build_xsk_param()
|
/Linux-v6.6/arch/loongarch/kernel/ |
D | module.c | 198 goto unaligned; in apply_r_larch_sop_imm_field() 213 goto unaligned; in apply_r_larch_sop_imm_field() 224 goto unaligned; in apply_r_larch_sop_imm_field() 250 unaligned: in apply_r_larch_sop_imm_field()
|
/Linux-v6.6/drivers/spi/ |
D | spi-imx.c | 329 int unaligned; in spi_imx_buf_rx_swap() local 332 unaligned = spi_imx->remainder % 4; in spi_imx_buf_rx_swap() 334 if (!unaligned) { in spi_imx_buf_rx_swap() 346 while (unaligned--) { in spi_imx_buf_rx_swap() 348 *(u8 *)spi_imx->rx_buf = (val >> (8 * unaligned)) & 0xff; in spi_imx_buf_rx_swap() 381 int unaligned; in spi_imx_buf_tx_swap() local 384 unaligned = spi_imx->count % 4; in spi_imx_buf_tx_swap() 386 if (!unaligned) { in spi_imx_buf_tx_swap() 396 while (unaligned--) { in spi_imx_buf_tx_swap() 398 val |= *(u8 *)spi_imx->tx_buf << (8 * unaligned); in spi_imx_buf_tx_swap()
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | emulated_ops.h | 35 struct ppc_emulated_entry unaligned; member
|
/Linux-v6.6/arch/arc/kernel/ |
D | Makefile | 18 obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
|
/Linux-v6.6/drivers/net/ethernet/broadcom/ |
D | bgmac.c | 646 ring->unaligned = bgmac_dma_unaligned(bgmac, ring, in bgmac_dma_alloc() 648 if (ring->unaligned) in bgmac_dma_alloc() 671 ring->unaligned = bgmac_dma_unaligned(bgmac, ring, in bgmac_dma_alloc() 673 if (ring->unaligned) in bgmac_dma_alloc() 694 if (!ring->unaligned) in bgmac_dma_init() 700 if (ring->unaligned) in bgmac_dma_init() 712 if (!ring->unaligned) in bgmac_dma_init() 718 if (ring->unaligned) in bgmac_dma_init()
|
/Linux-v6.6/arch/arm/crypto/ |
D | sha1-armv4-large.S | 93 ldr r9,[r1],#4 @ handles unaligned 118 ldr r9,[r1],#4 @ handles unaligned 143 ldr r9,[r1],#4 @ handles unaligned 168 ldr r9,[r1],#4 @ handles unaligned 193 ldr r9,[r1],#4 @ handles unaligned 221 ldr r9,[r1],#4 @ handles unaligned
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 44 bool unaligned = xsk ? xsk->unaligned : false; in mlx5e_mpwrq_umr_mode() local 75 if (unaligned) in mlx5e_mpwrq_umr_mode() 622 mlx5e_mpwrq_max_log_rq_pkts(mdev, page_shift, xsk->unaligned)); in mlx5e_mpwrq_validate_xsk() 1193 .unaligned = false, in mlx5e_build_icosq_log_wq_sz() 1201 xsk.unaligned = true; in mlx5e_build_icosq_log_wq_sz()
|
/Linux-v6.6/arch/ia64/kernel/ |
D | Makefile | 14 salinfo.o setup.o signal.o sys_ia64.o time.o traps.o unaligned.o \
|