Home
last modified time | relevance | path

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

12345678910>>...26

/linux/Documentation/core-api/
A 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
59 - Some architectures are able to perform unaligned memory accesses
66 unaligned access to be corrected.
76 Code that does not cause unaligned access
136 lead to unaligned accesses when accessing fields that do not satisfy
145 Code that causes unaligned access
173 (Hint: it'd be an unaligned access.)
[all …]
/linux/Documentation/arm/
A 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/net/xdp/
A Dxsk_buff_pool.c47 bool unaligned = umem->flags & XDP_UMEM_UNALIGNED_CHUNK_FLAG; in xp_create_and_assign_umem() local
52 entries = unaligned ? umem->chunks : 0; in xp_create_and_assign_umem()
68 pool->unaligned = unaligned; in xp_create_and_assign_umem()
87 if (pool->unaligned) in xp_create_and_assign_umem()
413 if (pool->unaligned) in xp_dma_map()
469 ok = pool->unaligned ? xp_check_unaligned(pool, &addr) : in __xp_alloc()
479 if (pool->unaligned) { in __xp_alloc()
537 ok = pool->unaligned ? xp_check_unaligned(pool, &addr) : in xp_alloc_new_from_fq()
545 if (pool->unaligned) { in xp_alloc_new_from_fq()
629 addr = pool->unaligned ? xp_unaligned_add_offset_to_addr(addr) : addr; in xp_raw_get_data()
[all …]
/linux/arch/alpha/kernel/
A 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()
A 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/Documentation/devicetree/bindings/pci/
A 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/include/net/
A Dxsk_buff_pool.h75 bool unaligned; member
213 if (xskb->pool->unaligned) in xp_release()
222 if (!xskb->pool->unaligned) in xp_get_handle()
/linux/Documentation/translations/zh_CN/core-api/
A Dunaligned-memory-access.rst3 :Original: Documentation/core-api/unaligned-memory-access.rst
178 避免非对齐访问的最简单方法是使用<asm/unaligned.h>头文件提供的get_unaligned()和
A Dindex.rst110 unaligned-memory-access
/linux/Documentation/devicetree/bindings/mtd/
A Dmtd-physmap.yaml78 no-unaligned-direct-access:
84 with JFFS2 usage, as the local bus (LPB) doesn't support unaligned
86 "no-unaligned-direct-access", the flash will not be exposed directly to
/linux/drivers/spi/
A Dspi-imx.c313 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/arch/arc/lib/
A 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
A 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.
A DMakefile12 lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs-unaligned.o
/linux/Documentation/dev-tools/
A Dubsan.rst78 Detection of unaligned accesses controlled through the separate option -
80 unaligned accesses (CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y). One could
/linux/arch/parisc/boot/compressed/
A Dvmlinux.scr7 output_len = . - 4; /* can be at unaligned address */
/linux/drivers/net/ethernet/broadcom/
A 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/arch/powerpc/include/asm/
A Demulated_ops.h35 struct ppc_emulated_entry unaligned; member
/linux/arch/arm/crypto/
A 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/arch/arc/kernel/
A DMakefile16 obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
/linux/arch/nds32/
A DKconfig.cpu136 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/arch/parisc/kernel/
A DMakefile11 signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
/linux/arch/mips/kernel/
A Dkprobes.c204 goto unaligned; in evaluate_branch_instruction()
222 unaligned: in evaluate_branch_instruction()
/linux/crypto/
A Dahash.c52 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()
/linux/arch/ia64/kernel/
A DMakefile14 salinfo.o setup.o signal.o sys_ia64.o time.o traps.o unaligned.o \

Completed in 44 milliseconds

12345678910>>...26