Home
last modified time | relevance | path

Searched full:aligned (Results 1 – 25 of 1843) sorted by relevance

12345678910>>...74

/freebsd/lib/libc/arm/string/
H A Dmemcpy.S49 ands ip, r3, #0x03 /* Already word aligned? */
62 /* Destination buffer is now word aligned */
64 ands ip, r1, #0x03 /* Is src also word-aligned? */
68 tst r3, #0x07 /* Already quad aligned? */
74 /* Destination buffer quad aligned, source is at least word aligned */
208 * The destination buffer is word aligned, but the source buffer is not.
396 * 0000: dst is 32-bit aligned, src is 32-bit aligned
404 * 0001: dst is 32-bit aligned, src is 8-bit aligned
415 * 0010: dst is 32-bit aligned, src is 16-bit aligned
425 * 0011: dst is 32-bit aligned, src is 8-bit aligned
[all …]
/freebsd/sys/arm/arm/
H A Dsupport.S116 bne .Lmemset_wordunaligned /* The address is not word aligned */
118 /* We are now word aligned */
217 /* Are both addresses aligned the same way? */
223 bne .Lmemcmp_bytewise2 /* Badly aligned. Do it the slow way */
346 /* We have aligned source and destination */
421 beq .Lmemmove_ft8 /* we have an aligned source */
546 /* We have aligned source and destination */
613 beq .Lmemmove_bt8 /* we have an aligned source */
736 ands ip, r3, #0x03 /* Already word aligned? */
749 /* Destination buffer is now word aligned */
[all …]
H A Dblockio.S68 beq .Lrm1_main /* aligned destination */
121 beq .Lwm1_main /* aligned source */
170 /* If the destination address and the size is word aligned, do it fast */
176 /* Non aligned insw */
188 /* Word aligned insw */
218 /* If the destination address and the size is word aligned, do it fast */
224 /* Non aligned outsw */
237 /* Word aligned outsw */
269 * with a word aligned destination address
281 /* If the destination address is word aligned and the size suitably
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/
H A Dscrypt_platform.c43 uint8_t *base, *aligned; in alloc_region() local
50 aligned = base; in alloc_region()
55 aligned = base; in alloc_region()
57 base = aligned = NULL; in alloc_region()
61 aligned = base + 63; in alloc_region()
62 aligned -= (uintptr_t) aligned & 63; in alloc_region()
66 region->aligned = aligned; in alloc_region()
69 return aligned; in alloc_region()
75 region->base = region->aligned = NULL; in init_region()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/
H A Ddio_property.ksh63 # Check when "direct=always" any aligned IO is done as direct.
69 log_note "Aligned writes (buffered, then all direct)"
72 log_note "Aligned overwrites"
78 log_note "Sub-page size aligned overwrites"
82 log_note "Aligned reads"
88 log_note "Sub-page size aligned reads (one read then ARC hits)"
101 log_note "Aligned writes (all buffered with an extra for create)"
104 log_note "Aligned overwrites"
107 log_note "Aligned reads (all ARC hits)"
118 log_note "Aligned writes/overwrites (buffered / direct)"
[all …]
H A Ddio_unaligned_filesize.ksh35 # page-aligned in length. When a file is not page-aligned in total
40 # 1. Write a file that is page-aligned (buffered)
56 page-aligned"
69 # Truncating file so the total length is no longer page-size aligned
86 # is not page-size aligned
92 log_pass "Verified Direct I/O read can read a none page-aligned length file"
H A Ddio_aligned_block.ksh34 # Verify the number direct/buffered requests for (un)aligned access
38 # 2. Perform various (un)aligned accesses and verify the result.
63 # N recordsize aligned writes which do not span blocks
69 # 1 recordsize aligned write which spans multiple blocks at various offsets
91 # recordsize aligned reads which do not span blocks
97 # 1 recordsize aligned read which spans multiple blocks at various offsets
116 log_pass "Verify the number direct/buffered requests for (un)aligned access"
H A Ddio_unaligned_block.ksh34 # Verify failure for (un)aligned O_DIRECT
38 # 2. Perform (un)aligned write/read verify the result.
54 log_assert "Verify direct requests for (un)aligned access"
88 log_pass "Verify direct requests for (un)aligned access"
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dmsa.h14 typedef signed char v16i8 __attribute__((vector_size(16), aligned(16)));
15 typedef signed char v16i8_b __attribute__((vector_size(16), aligned(1)));
16 typedef unsigned char v16u8 __attribute__((vector_size(16), aligned(16)));
17 typedef unsigned char v16u8_b __attribute__((vector_size(16), aligned(1)));
18 typedef short v8i16 __attribute__((vector_size(16), aligned(16)));
19 typedef short v8i16_h __attribute__((vector_size(16), aligned(2)));
20 typedef unsigned short v8u16 __attribute__((vector_size(16), aligned(16)));
21 typedef unsigned short v8u16_h __attribute__((vector_size(16), aligned(2)));
22 typedef int v4i32 __attribute__((vector_size(16), aligned(16)));
23 typedef int v4i32_w __attribute__((vector_size(16), aligned(4)));
[all …]
/freebsd/sys/contrib/ncsw/etc/
H A Dmemcpy.c89 /* dest is aligned and source is not necessarily aligned */ in MemCpy32()
96 /* source is also aligned */ in MemCpy32()
109 /* source is not aligned (destination is aligned)*/ in MemCpy32()
165 /* dest is aligned and source is not necessarily aligned */ in IO2IOCpy32()
171 /* source is also aligned */ in IO2IOCpy32()
185 /* source is not aligned (destination is aligned)*/ in IO2IOCpy32()
244 /* dest is aligned and source is not necessarily aligned */ in Mem2IOCpy32()
250 /* source is also aligned */ in Mem2IOCpy32()
264 /* source is not aligned (destination is aligned)*/ in Mem2IOCpy32()
322 /* dest is aligned and source is not necessarily aligned */ in IO2MemCpy32()
[all …]
/freebsd/sys/contrib/edk2/Include/Library/
H A DBaseMemoryLib.h72 If Buffer is not aligned on a 16-bit boundary, then ASSERT().
73 If Length is not aligned on a 16-bit boundary, then ASSERT().
99 If Buffer is not aligned on a 32-bit boundary, then ASSERT().
100 If Length is not aligned on a 32-bit boundary, then ASSERT().
126 If Buffer is not aligned on a 64-bit boundary, then ASSERT().
127 If Length is not aligned on a 64-bit boundary, then ASSERT().
153 If Buffer is not aligned on a UINTN boundary, then ASSERT().
154 If Length is not aligned on a UINTN boundary, then ASSERT().
259 If Buffer is not aligned on a 16-bit boundary, then ASSERT().
260 If Length is not aligned on a 16-bit boundary, then ASSERT().
[all …]
/freebsd/sys/sys/
H A Dpmclog.h106 * padding, the fields of each structure are aligned to their natural
119 /* 8 byte aligned */
149 uintfptr_t pl_start; /* 8 byte aligned */
157 uintfptr_t pl_start; /* 8 byte aligned */
185 uint64_t pl_value; /* keep 8 byte aligned */
196 char pl_pcomm[MAXCOMLEN+1]; /* keep 8 byte aligned */
203 /* keep 8 byte aligned */
205 /* keep 8 byte aligned */
214 uint64_t pl_value; /* keep 8 byte aligned */
235 char pl_tdname[MAXCOMLEN+1]; /* keep 8 byte aligned */
/freebsd/sys/dev/vmware/vmci/
H A Dvmci_call_defs.h62 * Struct size is 16 bytes. All fields in struct are aligned to their natural
83 * aligned to their natural alignment.
93 * bitmap. All fields in struct are aligned to their natural alignment.
103 * bitmap. All fields in struct are aligned to their natural alignment.
112 * in struct are aligned to their natural alignment.
121 * multiple of 8 bytes, and all fields are aligned to their natural alignment.
150 * be a multiple of 8 bytes, and fields must be aligned to their natural
181 * messages. Struct size is 32 bytes. All fields in struct are aligned to
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h29 enum {aligned = 0, unaligned = 1}; enumerator
302 aligned>;
305 aligned>;
308 aligned>;
312 aligned>;
315 aligned>;
318 aligned>;
342 aligned>;
345 aligned>;
348 aligned>;
[all …]
/freebsd/sys/dev/sfxge/common/
H A Defsys.h347 ("not power of 2 aligned")); \
367 ("not power of 2 aligned")); \
387 ("not power of 2 aligned")); \
410 ("not power of 2 aligned")); \
433 ("not power of 2 aligned")); \
459 ("not power of 2 aligned")); \
479 ("not power of 2 aligned")); \
500 ("not power of 2 aligned")); \
523 ("not power of 2 aligned")); \
546 ("not power of 2 aligned")); \
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIMacOSX_arm64.h37 // The arm64 ABI requires that stack frames be 16 byte aligned.
39 // code, we've seen that the stack pointer is often not aligned properly
49 // Make sure the stack call frame addresses are 8 byte aligned in CallFrameAddressIsValid()
51 return false; // Not 8 byte aligned in CallFrameAddressIsValid()
59 return false; // Not 4 byte aligned in CodeAddressIsValid()
H A DABISysV_arm64.h40 // The arm64 ABI requires that stack frames be 16 byte aligned.
42 // code, we've seen that the stack pointer is often not aligned properly
52 // Make sure the stack call frame addresses are 8 byte aligned in CallFrameAddressIsValid()
54 return false; // Not 8 byte aligned in CallFrameAddressIsValid()
62 return false; // Not 4 byte aligned in CodeAddressIsValid()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips64.h46 // The SysV mips ABI requires that stack frames be 16 byte aligned.
48 // code, we've seen that the stack pointer is often not aligned properly
58 // Make sure the stack call frame addresses are 8 byte aligned in CallFrameAddressIsValid()
60 return false; // Not 8 byte aligned in CallFrameAddressIsValid()
68 return false; // Not 4 byte aligned in CodeAddressIsValid()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABISysV_i386.h48 // The SysV i386 ABI requires that stack frames be 16 byte aligned.
50 // code, we've seen that the stack pointer is often not aligned properly
61 // 32 byte aligned. Decide what to do for 32 byte alignment checking
63 // Make sure the stack call frame addresses are 4 byte aligned in CallFrameAddressIsValid()
65 return false; // Not 4 byte aligned in CallFrameAddressIsValid()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Daarch64.h91 /// target must be 32-bit aligned.
105 /// 32-bit aligned otherwise an alignment error will be returned.
113 /// target must be 32-bit aligned.
127 /// 32-bit aligned otherwise an alignment error will be returned.
135 /// target must be 32-bit aligned.
149 /// 32-bit aligned otherwise an alignment error will be returned.
170 /// target must be 32-bit aligned.
185 /// 32-bit aligned otherwise an alignment error will be returned.
231 /// aligned otherwise an alignment error will be returned.
474 "Branch-inst is not 32-bit aligned"); in applyFixup()
[all …]
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_cwksp.h102 * [objects][tables ... ->] free space [<- ... aligned][<- ... buffers]
124 * Their sizes depend on the cparams. These tables are 64-byte aligned.
126 * - Aligned: these buffers are used for various purposes that require 4 byte
128 * buffers are each aligned to 64 bytes.
141 * 3. Aligned/Tables
195 * Do not use for sizing aligned buffers. Instead, use ZSTD_cwksp_aligned_alloc_size().
209 * Used to determine the number of bytes required for a given "aligned".
222 * to align the beginning of the aligned section. in ZSTD_cwksp_slack_space_required()
246 * Reserves the given number of bytes within the aligned/buffer segment of the wksp,
293 { /* Align the start of the "aligned" to 64 bytes. Use [1, 64] bytes. */ in ZSTD_cwksp_internal_advance_phase()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.h45 /// Offsets are computed assuming worst case padding before an aligned
49 /// Because worst case padding is used, the computed offset of an aligned
50 /// block may not actually be aligned.
57 /// beginning of the block, or from an aligned jump table at the end.
70 /// directive, so the end of the block is aligned to PostAlign bytes.
101 /// instruction alignment. An aligned terminator may increase the number
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/
H A Dlac_session.h27 * \ref cpaCySymSessionCtxGetSize(). Internally this memory is re-aligned on a
28 * 64 byte boundary for use by the QAT engine. The aligned pointer is saved in
33 * <b>LAC Session Init</b>\n The session descriptor is re-aligned and
84 * hashStatePrefixBuffer is 64-byte aligned
140 * NOTE: Field must be correctly aligned in memory for access by QAT
145 * NOTE: Field must be correctly aligned in memory for access by QAT
280 * NOTE: Field must be correctly aligned in memory for access by QAT
287 * NOTE: Field must be correctly aligned in memory for access by QAT
292 * NOTE: Field must be correctly aligned in memory for access by QAT
299 * NOTE: Field must be correctly aligned in memory for access by QAT
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_internal_defs.h226 # define ALIGNED(x) __declspec(align(x)) macro
238 // Please only use the ALIGNED macro before the type.
239 // Using ALIGNED after the variable declaration is not portable!
240 # define ALIGNED(x) __attribute__((aligned(x))) macro
285 typedef ALIGNED(1) u16 uu16;
286 typedef ALIGNED(1) u32 uu32;
287 typedef ALIGNED(1) u64 uu64;
288 typedef ALIGNED(1) s16 us16;
289 typedef ALIGNED(1) s32 us32;
290 typedef ALIGNED(1) s64 us64;
/freebsd/stand/libsa/
H A Dzalloc.c57 * aligned to an 8 or 16 byte boundry depending on the cpu so if you
73 * Objects in the pool must be aligned to at least the size of struct MemNode.
74 * They must also be aligned to MALLOCALIGN, which should normally be larger
114 char *aligned; in znalloc() local
118 aligned = (char *)(roundup2(dptr, align) - MALLOCALIGN); in znalloc()
119 extra = aligned - ptr; in znalloc()
132 new = (MemNode *)aligned; in znalloc()
139 /* In next iteration, we will get our aligned address */ in znalloc()

12345678910>>...74