Lines Matching +full:address +full:- +full:aligned
4 * SPDX-License-Identifier: GPL-2.0+
28 * 1) The beginning of the array can be advanced enough to be aligned.
30 * 2) The size of the aligned portion of the array is a multiple of the minimum
33 * 3) The aligned portion contains enough space for the original number of
36 * The macro then creates a pointer to the aligned portion of this array and
37 * assigns to the pointer the address of the first element in the aligned
50 * 1) The resulting buffer is guaranteed to be aligned to the value of
55 * if you want the address of the buffer, which you probably do, to pass it
57 * In the macro case it will be the address of the pointer, not the address
59 * would be the address of the buffer. So if you are replacing hard coded
61 * the locations where you are taking the address of the buffer.
68 * line aligned global buffer.
70 #define PAD_COUNT(s, pad) (((s) - 1) / (pad) + 1)
74 + (align - 1)]; \
86 * purpose is to allow allocating aligned buffers outside of function scope.
98 * malloc_cache_aligned() - allocate a memory region aligned to cache line size
100 * This allocates memory at a cache-line boundary. The amount allocated may
102 * cache-line size. This ensured that subsequent cache operations on this