Home
last modified time | relevance | path

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

/linux-4.4.14/Documentation/
Dunaligned-memory-access.txt6 unaligned accesses, why you need to write code that doesn't cause them,
10 The definition of an unaligned access
16 reading 4 bytes of data from address 0x10005 would be an unaligned memory
43 Why unaligned access is bad
46 The effects of performing an unaligned memory access vary from architecture
50 - Some architectures are able to perform unaligned memory accesses
52 - Some architectures raise processor exceptions when unaligned accesses
53 happen. The exception handler is able to correct the unaligned access,
55 - Some architectures raise processor exceptions when unaligned accesses
57 unaligned access to be corrected.
[all …]
D00-INDEX444 unaligned-memory-access.txt
445 - info on how to avoid arch breaking unaligned memory access in code.
/linux-4.4.14/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-4.4.14/arch/sh/include/asm/
Dunaligned-sh4a.h36 unsigned long unaligned; in sh4a_get_unaligned_cpu32() local
40 : "=z" (unaligned) in sh4a_get_unaligned_cpu32()
44 return unaligned; in sh4a_get_unaligned_cpu32()
/linux-4.4.14/arch/alpha/kernel/
Dtraps.c452 } unaligned[2]; variable
468 unaligned[0].count++; in do_entUna()
469 unaligned[0].va = (unsigned long) va; in do_entUna()
470 unaligned[0].pc = pc; in do_entUna()
807 ++unaligned[1].count; in do_entUnaUser()
808 unaligned[1].va = (unsigned long)va; in do_entUnaUser()
809 unaligned[1].pc = regs->pc - 4; in do_entUnaUser()
Dsetup.c1207 } unaligned[2]; in show_cpuinfo() local
1270 unaligned[0].count, unaligned[0].pc, unaligned[0].va, in show_cpuinfo()
1271 unaligned[1].count, unaligned[1].pc, unaligned[1].va, in show_cpuinfo()
/linux-4.4.14/block/
Dblk-map.c86 int unaligned = 0; in blk_rq_map_user_iov() local
104 unaligned = 1; in blk_rq_map_user_iov()
110 if (unaligned || (q->dma_pad_mask & iter->count) || map_data) in blk_rq_map_user_iov()
/linux-4.4.14/arch/metag/
DKconfig.soc46 bool "Meta 2.x unaligned access checking"
50 raised on unaligned accesses. This feature does cost performance
/linux-4.4.14/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-4.4.14/arch/metag/lib/
Dmemcpy.S49 ! blocks, then jump to the unaligned copy loop or fall through to the aligned
55 BNZ $Lunaligned_copy ! if unaligned, use unaligned copy loop
178 ! Re-adjust the source pointer (A1.2) back to the actual (unaligned) byte
/linux-4.4.14/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-4.4.14/arch/powerpc/include/asm/
Demulated_ops.h47 struct ppc_emulated_entry unaligned; member
/linux-4.4.14/arch/
DKconfig117 architectures without unaligned access.
123 See Documentation/unaligned-memory-access.txt for more
124 information on the topic of unaligned memory accesses.
129 Some architectures are unable to perform unaligned accesses
132 unaligned access and require fixing it up in the exception
136 perform unaligned accesses efficiently to allow different
142 See Documentation/unaligned-memory-access.txt for more
143 information on the topic of unaligned memory accesses.
/linux-4.4.14/arch/arm/crypto/
Dsha512-core.S_shipped543 vld1.64 {d0},[r1]! @ handles unaligned
580 vld1.64 {d1},[r1]! @ handles unaligned
617 vld1.64 {d2},[r1]! @ handles unaligned
654 vld1.64 {d3},[r1]! @ handles unaligned
691 vld1.64 {d4},[r1]! @ handles unaligned
728 vld1.64 {d5},[r1]! @ handles unaligned
765 vld1.64 {d6},[r1]! @ handles unaligned
802 vld1.64 {d7},[r1]! @ handles unaligned
839 vld1.64 {d8},[r1]! @ handles unaligned
876 vld1.64 {d9},[r1]! @ handles unaligned
[all …]
Dsha1-armv4-large.S83 ldr r9,[r1],#4 @ handles unaligned
108 ldr r9,[r1],#4 @ handles unaligned
133 ldr r9,[r1],#4 @ handles unaligned
158 ldr r9,[r1],#4 @ handles unaligned
183 ldr r9,[r1],#4 @ handles unaligned
211 ldr r9,[r1],#4 @ handles unaligned
/linux-4.4.14/arch/arc/kernel/
DMakefile21 obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
/linux-4.4.14/arch/tile/kernel/
DMakefile9 sysfs.o time.o traps.o unaligned.o vdso.o \
/linux-4.4.14/arch/parisc/kernel/
DMakefile10 signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
/linux-4.4.14/arch/arm/include/asm/
DKbuild39 generic-y += unaligned.h
/linux-4.4.14/crypto/
Dahash.c57 unsigned int unaligned = alignmask + 1 - (offset & alignmask); in hash_walk_next() local
59 if (nbytes > unaligned) in hash_walk_next()
60 nbytes = unaligned; in hash_walk_next()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbgmac.c635 ring->unaligned = bgmac_dma_unaligned(bgmac, ring, in bgmac_dma_alloc()
637 if (ring->unaligned) in bgmac_dma_alloc()
661 ring->unaligned = bgmac_dma_unaligned(bgmac, ring, in bgmac_dma_alloc()
663 if (ring->unaligned) in bgmac_dma_alloc()
684 if (!ring->unaligned) in bgmac_dma_init()
690 if (ring->unaligned) in bgmac_dma_init()
702 if (!ring->unaligned) in bgmac_dma_init()
708 if (ring->unaligned) in bgmac_dma_init()
Dbgmac.h427 bool unaligned; member
/linux-4.4.14/arch/blackfin/include/asm/
DKbuild47 generic-y += unaligned.h
/linux-4.4.14/arch/arm64/include/asm/
DKbuild55 generic-y += unaligned.h
/linux-4.4.14/arch/hexagon/include/asm/
DKbuild59 generic-y += unaligned.h
/linux-4.4.14/arch/powerpc/boot/dts/
Do2d.dtsi92 no-unaligned-direct-access;
/linux-4.4.14/arch/ia64/kernel/
DMakefile13 salinfo.o setup.o signal.o sys_ia64.o time.o traps.o unaligned.o \
/linux-4.4.14/arch/metag/include/asm/
DKbuild54 generic-y += unaligned.h
/linux-4.4.14/arch/unicore32/include/asm/
DKbuild62 generic-y += unaligned.h
/linux-4.4.14/arch/nios2/include/asm/
DKbuild61 generic-y += unaligned.h
/linux-4.4.14/arch/alpha/lib/
Dstxcpy.S105 bne t0, $unaligned # .. e1 :
233 $unaligned:
Dev6-stxcpy.S125 bne t0, $unaligned # U : (stall)
264 $unaligned:
Dstxncpy.S130 bne t1, $unaligned # .. e1 :
290 $unaligned:
Dev6-stxncpy.S164 bne t1, $unaligned # U :
336 $unaligned:
/linux-4.4.14/arch/mips/kernel/
Dkprobes.c264 goto unaligned; in evaluate_branch_instruction()
282 unaligned: in evaluate_branch_instruction()
DMakefile9 syscall.o time.o topology.o traps.o unaligned.o watch.o \
Dbranch.c863 goto unaligned; in __compute_return_epc()
876 unaligned: in __compute_return_epc()
/linux-4.4.14/arch/arm/lib/
Dmemzero.S37 ands r3, r0, #3 @ 1 unaligned?
Dmemset.S22 ands r3, r0, #3 @ 1 unaligned?
/linux-4.4.14/drivers/block/mtip32xx/
Dmtip32xx.h348 int unaligned; /* command is unaligned on 4k boundary */ member
Dmtip32xx.c2428 if (unlikely(command->unaligned)) in mtip_hw_submit_io()
2921 if (unlikely(cmd->unaligned)) in mtip_softirq_done_fn()
3806 cmd->unaligned = 1; in mtip_check_unal_depth()
3809 if (cmd->unaligned && down_trylock(&dd->port->cmd_slot_unal)) in mtip_check_unal_depth()
/linux-4.4.14/arch/h8300/include/asm/
DKbuild74 generic-y += unaligned.h
/linux-4.4.14/arch/xtensa/lib/
Dmemset.S54 bany a2, a6, .Ldstunaligned # if dst is unaligned
Dmemcopy.S211 # copy 16 bytes per iteration for word-aligned dst and unaligned src
487 # copy 16 bytes per iteration for word-aligned dst and unaligned src
Dusercopy.S217 # copy 16 bytes per iteration for word-aligned dst and unaligned src
/linux-4.4.14/Documentation/dmaengine/
Dpxa_dma.txt126 - a driver submitted an unaligned tx4 => tx4 is put in submitted queue,
151 restarted in "unaligned mode" to handle tx4.
/linux-4.4.14/arch/mips/include/asm/mach-cavium-octeon/
Dkernel-entry-init.h36 # Disable unaligned load/store support but leave HW fixup enabled
/linux-4.4.14/drivers/staging/emxx_udc/
Demxx_udc.c480 if (req->unaligned) in _nbu2ss_dma_map_single()
492 if (!req->unaligned) in _nbu2ss_dma_map_single()
526 if (req->unaligned) { in _nbu2ss_dma_unmap_single()
539 if (!req->unaligned) in _nbu2ss_dma_unmap_single()
2732 req->unaligned = TRUE; in nbu2ss_ep_queue()
2734 req->unaligned = FALSE; in nbu2ss_ep_queue()
2736 if (req->unaligned) { in nbu2ss_ep_queue()
Demxx_udc.h540 bool unaligned; member
/linux-4.4.14/arch/arm/boot/compressed/
Dhead.S721 @ Enable unaligned access on v6, to allow better code generation
725 bic r0, r0, #2 @ A (no unaligned access fault)
726 orr r0, r0, #1 << 22 @ U (v6 unaligned access model)
770 bic r0, r0, #2 @ A (no unaligned access fault)
771 orr r0, r0, #1 << 22 @ U (v6 unaligned access model)
/linux-4.4.14/arch/xtensa/
DKconfig145 The Xtensa architecture currently does not handle unaligned
147 Per default, unaligned memory accesses are disabled in user space.
149 Say Y here to enable unaligned memory access in user space.
/linux-4.4.14/arch/cris/arch-v10/kernel/
Dentry.S349 ;; ETRAX 100LX TR89 bugfix: if the second half of an unaligned
363 move.d [$sp+16], $r0 ; Clear unaligned bit in csrinstr
/linux-4.4.14/Documentation/device-mapper/
Dverity.txt111 this entry and any unaligned trailing space is ignored but included when
/linux-4.4.14/arch/arm/
DMakefile40 KBUILD_CFLAGS += $(call cc-option,-mno-unaligned-access)
/linux-4.4.14/fs/
DKconfig7 # Use unaligned word dcache accesses
/linux-4.4.14/arch/xtensa/kernel/
Dalign.S185 rsr a8, excvaddr # load unaligned memory address
/linux-4.4.14/fs/squashfs/
DKconfig175 unaligned in Squashfs, should reduce latency.
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_scsi.c579 goto unaligned; in csio_setup_ddp()
588 goto unaligned; in csio_setup_ddp()
598 unaligned: in csio_setup_ddp()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_sysfs.c429 QIB_DIAGC_ATTR(unaligned);
Dqib_verbs.c1235 goto unaligned; in qib_verbs_send_dma()
1242 unaligned: in qib_verbs_send_dma()
/linux-4.4.14/arch/microblaze/boot/dts/
Dsystem.dts117 xlnx,unaligned-exceptions = <0x1>;
/linux-4.4.14/Documentation/filesystems/
Dfiemap.txt113 worry about all present and future flags which might imply unaligned
/linux-4.4.14/arch/powerpc/kernel/
Dalign.c927 PPC_WARN_ALIGNMENT(unaligned, regs); in fix_alignment()
Dtraps.c1909 WARN_EMULATED_SETUP(unaligned),
/linux-4.4.14/Documentation/scsi/
DChangeLog.megaraid87 Customer reporeted "kernel unaligned access addrss" issue when
106 > kernel: kernel unaligned access to 0xe0000001fe1080d4,
DChangeLog.sym53c8xx14 - Fix an unaligned LOAD from scripts (was used as dummy read).
/linux-4.4.14/init/
DKconfig1336 Enable support for /proc/sys/kernel/ignore-unaligned-usertrap
1338 about unaligned access emulation going on under the hood.
1343 Enable support for /proc/sys/kernel/unaligned-trap
1345 the unaligned access emulation.
1346 see arch/parisc/kernel/unaligned.c for reference
/linux-4.4.14/arch/mips/kvm/
Demulate.c52 goto unaligned; in kvm_compute_return_epc()
192 unaligned: in kvm_compute_return_epc()
/linux-4.4.14/arch/arc/
DKconfig481 bool "Emulate unaligned memory access (userspace only)"
/linux-4.4.14/fs/btrfs/
Dctree.c1763 struct btrfs_disk_key unaligned; in generic_bin_search() local
1786 read_extent_buffer(eb, &unaligned, in generic_bin_search()
1787 offset, sizeof(unaligned)); in generic_bin_search()
1788 tmp = &unaligned; in generic_bin_search()
/linux-4.4.14/drivers/crypto/
DKconfig309 accesses made on unaligned boundaries are also supported.
/linux-4.4.14/Documentation/DocBook/
Dnetworking.xml.db391 API-ether-addr-equal-unaligned
/linux-4.4.14/arch/x86/
DKconfig.cpu94 pre-Coppermine Celeron core. This option enables an unaligned
/linux-4.4.14/arch/sparc/lib/
Dchecksum_32.S342 bne ccslow ! better this than unaligned/fixups
/linux-4.4.14/Documentation/virtual/kvm/
Dmmu.txt398 a large spte. The frames at the end of an unaligned memory slot have
/linux-4.4.14/Documentation/filesystems/cifs/
DCHANGES217 Fix oops in list_del during mount caused by unaligned string.
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dchip.c1578 def_access_ibp_counter(unaligned);
1784 [C_SW_IBP_UNALIGNED] = SW_IBP_CNTR(Unaligned, unaligned),