Home
last modified time | relevance | path

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

1234

/Linux-v4.19/Documentation/
Dunaligned-memory-access.txt15 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-v4.19/Documentation/arm/
Dmem_alignment10 unaligned memory access in general. If those access are predictable, you
11 are better to use the macros provided by include/asm/unaligned.h. The
16 trap to SIGBUS any code performing unaligned access (good for debugging bad
23 real bad - it changes the behaviour of all unaligned instructions in user
32 0 A user process performing an unaligned memory access
38 performing the unaligned access. This is of course
43 performing the unaligned access.
54 information on unaligned access occurrences plus the current mode of
/Linux-v4.19/arch/sh/include/asm/
Dunaligned-sh4a.h37 unsigned long unaligned; in sh4a_get_unaligned_cpu32() local
41 : "=z" (unaligned) in sh4a_get_unaligned_cpu32()
45 return unaligned; in sh4a_get_unaligned_cpu32()
/Linux-v4.19/arch/alpha/kernel/
Dtraps.c429 } unaligned[2]; variable
445 unaligned[0].count++; in do_entUna()
446 unaligned[0].va = (unsigned long) va; in do_entUna()
447 unaligned[0].pc = pc; in do_entUna()
754 ++unaligned[1].count; in do_entUnaUser()
755 unaligned[1].va = (unsigned long)va; in do_entUnaUser()
756 unaligned[1].pc = regs->pc - 4; in do_entUnaUser()
Dsetup.c1210 } unaligned[2]; in show_cpuinfo() local
1273 unaligned[0].count, unaligned[0].pc, unaligned[0].va, in show_cpuinfo()
1274 unaligned[1].count, unaligned[1].pc, unaligned[1].va, in show_cpuinfo()
/Linux-v4.19/lib/
DKconfig.ubsan35 This option enables detection of unaligned memory accesses.
36 Enabling this option on architectures that support unaligned
/Linux-v4.19/Documentation/devicetree/bindings/mtd/
Dmtd-physmap.txt19 - no-unaligned-direct-access: boolean to disable the default direct
23 unaligned accesses as implemented in the JFFS2 code via memcpy().
24 By defining "no-unaligned-direct-access", the flash will not be
/Linux-v4.19/arch/parisc/boot/compressed/
Dvmlinux.scr7 output_len = . - 4; /* can be at unaligned address */
/Linux-v4.19/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-v4.19/arch/arc/lib/
Dstrchr-700.S44 breq r7,0,.Loop ; For speed, we want this branch to be unaligned.
48 breq r12,0,.Loop ; For speed, we want this branch to be unaligned.
Dmemcpy-archs.S105 ;;; CASE 1: The source is unaligned, off by 1
152 ;;; CASE 2: The source is unaligned, off by 2
195 ;;; CASE 3: The source is unaligned, off by 3
/Linux-v4.19/drivers/spi/
Dspi-imx.c303 int unaligned; in spi_imx_buf_rx_swap() local
306 unaligned = spi_imx->remainder % 4; in spi_imx_buf_rx_swap()
308 if (!unaligned) { in spi_imx_buf_rx_swap()
320 while (unaligned--) { in spi_imx_buf_rx_swap()
322 *(u8 *)spi_imx->rx_buf = (val >> (8 * unaligned)) & 0xff; in spi_imx_buf_rx_swap()
355 int unaligned; in spi_imx_buf_tx_swap() local
358 unaligned = spi_imx->count % 4; in spi_imx_buf_tx_swap()
360 if (!unaligned) { in spi_imx_buf_tx_swap()
370 while (unaligned--) { in spi_imx_buf_tx_swap()
372 val |= *(u8 *)spi_imx->tx_buf << (8 * unaligned); in spi_imx_buf_tx_swap()
/Linux-v4.19/arch/powerpc/include/asm/
Demulated_ops.h47 struct ppc_emulated_entry unaligned; member
/Linux-v4.19/arch/mips/include/asm/
DKbuild20 generic-y += unaligned.h
/Linux-v4.19/arch/arm/crypto/
Dsha512-core.S_shipped550 vld1.64 {d0},[r1]! @ handles unaligned
587 vld1.64 {d1},[r1]! @ handles unaligned
624 vld1.64 {d2},[r1]! @ handles unaligned
661 vld1.64 {d3},[r1]! @ handles unaligned
698 vld1.64 {d4},[r1]! @ handles unaligned
735 vld1.64 {d5},[r1]! @ handles unaligned
772 vld1.64 {d6},[r1]! @ handles unaligned
809 vld1.64 {d7},[r1]! @ handles unaligned
846 vld1.64 {d8},[r1]! @ handles unaligned
883 vld1.64 {d9},[r1]! @ handles unaligned
[all …]
/Linux-v4.19/arch/arc/kernel/
DMakefile21 obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
/Linux-v4.19/arch/s390/include/asm/
DKbuild26 generic-y += unaligned.h
/Linux-v4.19/Documentation/devicetree/bindings/pci/
Dti-pci.txt42 - ti,syscon-unaligned-access: phandle to the syscon DT node. The 1st argument
45 for setting the bit to enable unaligned
/Linux-v4.19/arch/parisc/kernel/
DMakefile11 signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
/Linux-v4.19/arch/arm64/include/asm/
DKbuild27 generic-y += unaligned.h
/Linux-v4.19/arch/nds32/
DKconfig.cpu101 bool "Kernel support unaligned access handling by sw"
113 bool "Kernel support unaligned access handling by hw"
118 unaligned memory locations without generating the Data Alignment
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbgmac.c647 ring->unaligned = bgmac_dma_unaligned(bgmac, ring, in bgmac_dma_alloc()
649 if (ring->unaligned) in bgmac_dma_alloc()
673 ring->unaligned = bgmac_dma_unaligned(bgmac, ring, in bgmac_dma_alloc()
675 if (ring->unaligned) in bgmac_dma_alloc()
696 if (!ring->unaligned) in bgmac_dma_init()
702 if (ring->unaligned) in bgmac_dma_init()
714 if (!ring->unaligned) in bgmac_dma_init()
720 if (ring->unaligned) in bgmac_dma_init()
/Linux-v4.19/arch/unicore32/include/asm/
DKbuild34 generic-y += unaligned.h
/Linux-v4.19/arch/hexagon/include/asm/
DKbuild35 generic-y += unaligned.h
/Linux-v4.19/arch/nios2/include/asm/
DKbuild39 generic-y += unaligned.h

1234