Home
last modified time | relevance | path

Searched refs:unaligned (Results 1 – 25 of 94) sorted by relevance

1234

/linux-6.1.9/Documentation/core-api/
Dunaligned-memory-access.rst15 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-6.1.9/Documentation/arm/
Dmem_alignment.rst14 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-6.1.9/net/xdp/
Dxsk_buff_pool.c58 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()
102 if (pool->unaligned) in xp_create_and_assign_umem()
383 if (!pool->unaligned) { in xp_init_dma_info()
440 if (pool->unaligned) in xp_dma_map()
490 ok = pool->unaligned ? xp_check_unaligned(pool, &addr) : in __xp_alloc()
500 if (pool->unaligned) { in __xp_alloc()
558 ok = pool->unaligned ? xp_check_unaligned(pool, &addr) : in xp_alloc_new_from_fq()
566 if (pool->unaligned) { in xp_alloc_new_from_fq()
[all …]
/linux-6.1.9/arch/alpha/kernel/
Dtraps.c427 } 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()
Dsetup.c1133 } unaligned[2]; in show_cpuinfo() local
1196 unaligned[0].count, unaligned[0].pc, unaligned[0].va, in show_cpuinfo()
1197 unaligned[1].count, unaligned[1].pc, unaligned[1].va, in show_cpuinfo()
/linux-6.1.9/Documentation/devicetree/bindings/pci/
Dti-pci.txt36 - 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-6.1.9/include/net/
Dxsk_buff_pool.h76 bool unaligned; member
215 if (xskb->pool->unaligned) in xp_release()
224 if (!xskb->pool->unaligned) in xp_get_handle()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dunaligned-memory-access.rst3 :Original: Documentation/core-api/unaligned-memory-access.rst
178 避免非对齐访问的最简单方法是使用<asm/unaligned.h>头文件提供的get_unaligned()和
Dindex.rst110 unaligned-memory-access
/linux-6.1.9/arch/loongarch/kernel/
Dmodule.c194 goto unaligned; in apply_r_larch_sop_imm_field()
209 goto unaligned; in apply_r_larch_sop_imm_field()
220 goto unaligned; in apply_r_larch_sop_imm_field()
246 unaligned: in apply_r_larch_sop_imm_field()
/linux-6.1.9/arch/parisc/boot/compressed/
Dvmlinux.scr7 output_len = . - 4; /* can be at unaligned address */
/linux-6.1.9/Documentation/devicetree/bindings/mtd/
Dmtd-physmap.yaml80 no-unaligned-direct-access:
86 with JFFS2 usage, as the local bus (LPB) doesn't support unaligned
88 "no-unaligned-direct-access", the flash will not be exposed directly to
/linux-6.1.9/arch/arc/lib/
DMakefile12 lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs-unaligned.o
Dmemcpy-archs.S94 ;;; 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
Dstrchr-700.S41 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-6.1.9/Documentation/dev-tools/
Dubsan.rst78 Detection of unaligned accesses controlled through the separate option -
80 unaligned accesses (CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y). One could
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dpool.c75 xsk->unaligned = pool->unaligned; in mlx5e_build_xsk_param()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c43 bool unaligned = xsk ? xsk->unaligned : false; in mlx5e_mpwrq_umr_mode() local
74 if (unaligned) in mlx5e_mpwrq_umr_mode()
581 bool unaligned = xsk ? xsk->unaligned : false; in mlx5e_mpwrq_validate_xsk() local
594 mlx5e_mpwrq_max_log_rq_pkts(mdev, page_shift, unaligned)); in mlx5e_mpwrq_validate_xsk()
1121 .unaligned = false, in mlx5e_build_icosq_log_wq_sz()
1129 xsk.unaligned = true; in mlx5e_build_icosq_log_wq_sz()
/linux-6.1.9/drivers/spi/
Dspi-imx.c318 int unaligned; in spi_imx_buf_rx_swap() local
321 unaligned = spi_imx->remainder % 4; in spi_imx_buf_rx_swap()
323 if (!unaligned) { in spi_imx_buf_rx_swap()
335 while (unaligned--) { in spi_imx_buf_rx_swap()
337 *(u8 *)spi_imx->rx_buf = (val >> (8 * unaligned)) & 0xff; in spi_imx_buf_rx_swap()
370 int unaligned; in spi_imx_buf_tx_swap() local
373 unaligned = spi_imx->count % 4; in spi_imx_buf_tx_swap()
375 if (!unaligned) { in spi_imx_buf_tx_swap()
385 while (unaligned--) { in spi_imx_buf_tx_swap()
387 val |= *(u8 *)spi_imx->tx_buf << (8 * unaligned); in spi_imx_buf_tx_swap()
/linux-6.1.9/arch/powerpc/include/asm/
Demulated_ops.h35 struct ppc_emulated_entry unaligned; member
/linux-6.1.9/arch/arc/kernel/
DMakefile16 obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbgmac.c646 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-6.1.9/arch/parisc/kernel/
DMakefile11 signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
/linux-6.1.9/arch/arm/crypto/
Dsha1-armv4-large.S93 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-6.1.9/arch/ia64/kernel/
DMakefile14 salinfo.o setup.o signal.o sys_ia64.o time.o traps.o unaligned.o \

1234