/Linux-v5.15/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-v5.15/Documentation/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-v5.15/arch/alpha/kernel/ |
D | traps.c | 429 } 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()
|
D | setup.c | 1133 } 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-v5.15/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-v5.15/net/xdp/ |
D | xsk_buff_pool.c | 66 pool->unaligned = umem->flags & XDP_UMEM_UNALIGNED_CHUNK_FLAG; in xp_create_and_assign_umem() 407 if (pool->unaligned) in xp_dma_map() 460 ok = pool->unaligned ? xp_check_unaligned(pool, &addr) : in __xp_alloc() 527 addr = pool->unaligned ? xp_unaligned_add_offset_to_addr(addr) : addr; in xp_raw_get_data() 534 addr = pool->unaligned ? xp_unaligned_add_offset_to_addr(addr) : addr; in xp_raw_get_dma()
|
/Linux-v5.15/arch/parisc/boot/compressed/ |
D | vmlinux.scr | 7 output_len = . - 4; /* can be at unaligned address */
|
/Linux-v5.15/include/net/ |
D | xsk_buff_pool.h | 26 bool unaligned; member 74 bool unaligned; member
|
/Linux-v5.15/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-v5.15/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-v5.15/drivers/spi/ |
D | spi-imx.c | 313 int unaligned; in spi_imx_buf_rx_swap() local 316 unaligned = spi_imx->remainder % 4; in spi_imx_buf_rx_swap() 318 if (!unaligned) { in spi_imx_buf_rx_swap() 330 while (unaligned--) { in spi_imx_buf_rx_swap() 332 *(u8 *)spi_imx->rx_buf = (val >> (8 * unaligned)) & 0xff; in spi_imx_buf_rx_swap() 365 int unaligned; in spi_imx_buf_tx_swap() local 368 unaligned = spi_imx->count % 4; in spi_imx_buf_tx_swap() 370 if (!unaligned) { in spi_imx_buf_tx_swap() 380 while (unaligned--) { in spi_imx_buf_tx_swap() 382 val |= *(u8 *)spi_imx->tx_buf << (8 * unaligned); in spi_imx_buf_tx_swap()
|
/Linux-v5.15/arch/powerpc/include/asm/ |
D | emulated_ops.h | 35 struct ppc_emulated_entry unaligned; member
|
/Linux-v5.15/arch/arc/kernel/ |
D | Makefile | 16 obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
|
/Linux-v5.15/Documentation/translations/zh_CN/core-api/ |
D | index.rst | 107 unaligned-memory-access
|
/Linux-v5.15/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-v5.15/arch/parisc/kernel/ |
D | Makefile | 11 signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
|
/Linux-v5.15/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-v5.15/arch/ia64/kernel/ |
D | Makefile | 14 salinfo.o setup.o signal.o sys_ia64.o time.o traps.o unaligned.o \
|
/Linux-v5.15/arch/nds32/ |
D | Kconfig.cpu | 136 bool "Kernel support unaligned access handling by sw" 148 bool "Kernel support unaligned access handling by hw" 153 unaligned memory locations without generating the Data Alignment
|
/Linux-v5.15/Documentation/process/ |
D | index.rst | 64 ../core-api/unaligned-memory-access
|
/Linux-v5.15/arch/mips/kernel/ |
D | kprobes.c | 203 goto unaligned; in evaluate_branch_instruction() 221 unaligned: in evaluate_branch_instruction()
|
/Linux-v5.15/arch/powerpc/boot/dts/ |
D | o2d.dtsi | 88 no-unaligned-direct-access;
|
/Linux-v5.15/crypto/ |
D | ahash.c | 52 unsigned int unaligned = alignmask + 1 - (offset & alignmask); in hash_walk_next() local 54 if (nbytes > unaligned) in hash_walk_next() 55 nbytes = unaligned; in hash_walk_next()
|