Lines Matching full:of

5  * This file is part of the OCTEON SDK
10 * it under the terms of the GNU General Public License, Version 2, as
15 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or
19 * You should have received a copy of the GNU General Public License
35 /* Must be multiple of 8, changing breaks ABI */
41 /* minimum alignment of bootmem alloced blocks */
45 /* Allocate from end of block instead of beginning */
51 /* First bytes of each free physical block of memory contain this structure,
69 * Structure for named memory blocks. Number of descriptors available
76 /* Base address of named block */
83 /* name of named block */
94 /* First three members of cvmx_bootmem_desc_t are left in original
117 /* number of elements in named blocks array */
120 /* length of name array in bootmem blocks */
122 /* address of named memory block descriptors */
142 * normally called inside of cvmx_user_app_init()
144 * @mem_desc_ptr: Address of the free memory list
149 * Allocate a block of memory from the free list that was
155 * @size: Size in bytes of block to allocate
158 * @alignment: Alignment required - must be power of 2
159 * Returns pointer to block of memory, NULL on error
167 * @name: name of block to free
175 * Allocate a block of memory from the free list that was passed
177 * global named block table. (part of the cvmx_bootmem_descriptor_t structure)
180 * @size: Size in bytes of block to allocate
181 * @alignment: Alignment required - must be power of 2
182 * @name: name of block - must be less than CVMX_BOOTMEM_NAME_LEN bytes
184 * Returns a pointer to block of memory, NULL on error
190 * Allocate a block of memory from a specific range of the free list
192 * a name in the global named block table. (part of the
197 * @size: Size in bytes of block to allocate
198 * @min_addr: minimum address of range
199 * @max_addr: maximum address of range
200 * @align: Alignment of memory to be allocated. (must be a power of 2)
201 * @name: name of block - must be less than CVMX_BOOTMEM_NAME_LEN bytes
203 * Returns a pointer to block of memory, NULL on error
210 * Allocate if needed a block of memory from a specific range of the
212 * assign it a name in the global named block table. (part of the
215 * the pointer to block of memory. If request cannot be satisfied
218 * @param size Size in bytes of block to allocate
219 * @param min_addr minimum address of range
220 * @param max_addr maximum address of range
221 * @param align Alignment of memory to be allocated. (must be a power of 2)
222 * @param name name of block - must be less than CVMX_BOOTMEM_NAME_LEN bytes
228 * @return pointer to block of memory, NULL on error
242 * @name: name of block to free
250 * Allocates a block of physical memory from the free list, at
253 * @req_size: size of region to allocate. All requests are rounded up
261 * @alignment: Requested alignment of the block. If this alignment
263 * power of 2. (Note: Alignment of
265 * internally enforced. Requested alignments of less than
271 * Returns physical address of block allocated, or -1 on failure
278 * Allocates a named block of physical memory from the free list, at
281 * @param size size of region to allocate. All requests are rounded
287 * @param alignment Requested alignment of the block. If this
289 * This must be a power of 2. (Note: Alignment of
291 * internally enforced. Requested alignments of less
297 * @return physical address of block allocated, or -1 on failure
307 * of the block that was allocated, or the list will become
310 * IMPORTANT: This is only intended to be used as part of named block
311 * frees and initial population of the free memory list.
314 * @phy_addr: physical address of block
315 * @size: size of block in bytes.