Lines Matching +full:address +full:- +full:aligned
1 /* SPDX-License-Identifier: GPL-2.0+ */
27 * 1) The beginning of the array can be advanced enough to be aligned.
29 * 2) The size of the aligned portion of the array is a multiple of the minimum
32 * 3) The aligned portion contains enough space for the original number of
35 * The macro then creates a pointer to the aligned portion of this array and
36 * assigns to the pointer the address of the first element in the aligned
49 * 1) The resulting buffer is guaranteed to be aligned to the value of
54 * if you want the address of the buffer, which you probably do, to pass it
56 * In the macro case it will be the address of the pointer, not the address
58 * would be the address of the buffer. So if you are replacing hard coded
60 * the locations where you are taking the address of the buffer.
67 * line aligned global buffer.
69 #define PAD_COUNT(s, pad) (((s) - 1) / (pad) + 1)
73 + (align - 1)]; \
85 * purpose is to allow allocating aligned buffers outside of function scope.
97 * malloc_cache_aligned() - allocate a memory region aligned to cache line size
99 * This allocates memory at a cache-line boundary. The amount allocated may
101 * cache-line size. This ensured that subsequent cache operations on this