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 passed
153 * @size: Size in bytes of block to allocate
154 * @alignment: Alignment required - must be power of 2
156 * Returns pointer to block of memory, NULL on error
161 * Allocate a block of memory from the free list that was
167 * @size: Size in bytes of block to allocate
170 * @alignment: Alignment required - must be power of 2
171 * Returns pointer to block of memory, NULL on error
177 * Allocate a block of memory from the free list that was
183 * @size: Size in bytes of block to allocate
184 * @min_addr: defines the minimum address of the range
185 * @max_addr: defines the maximum address of the range
186 * @alignment: Alignment required - must be power of 2
187 * Returns pointer to block of memory, NULL on error
195 * @name: name of block to free
203 * Allocate a block of memory from the free list that was passed
205 * global named block table. (part of the cvmx_bootmem_descriptor_t structure)
208 * @size: Size in bytes of block to allocate
209 * @alignment: Alignment required - must be power of 2
210 * @name: name of block - must be less than CVMX_BOOTMEM_NAME_LEN bytes
212 * Returns a pointer to block of memory, NULL on error
220 * Allocate a block of memory from the free list that was passed
222 * global named block table. (part of the cvmx_bootmem_descriptor_t structure)
225 * @size: Size in bytes of block to allocate
228 * @name: name of block - must be less than CVMX_BOOTMEM_NAME_LEN
231 * Returns a pointer to block of memory, NULL on error
239 * Allocate a block of memory from a specific range of the free list
241 * a name in the global named block table. (part of the
246 * @size: Size in bytes of block to allocate
247 * @min_addr: minimum address of range
248 * @max_addr: maximum address of range
249 * @align: Alignment of memory to be allocated. (must be a power of 2)
250 * @name: name of block - must be less than CVMX_BOOTMEM_NAME_LEN bytes
252 * Returns a pointer to block of memory, NULL on error
259 * Allocate if needed a block of memory from a specific range of the
261 * assign it a name in the global named block table. (part of the
264 * the pointer to block of memory. If request cannot be satisfied
267 * @param size Size in bytes of block to allocate
268 * @param min_addr minimum address of range
269 * @param max_addr maximum address of range
270 * @param align Alignment of memory to be allocated. (must be a power of 2)
271 * @param name name of block - must be less than CVMX_BOOTMEM_NAME_LEN bytes
277 * @return pointer to block of memory, NULL on error
291 * @name: name of block to free
299 * Allocates a block of physical memory from the free list, at
302 * @req_size: size of region to allocate. All requests are rounded up
310 * @alignment: Requested alignment of the block. If this alignment
312 * power of 2. (Note: Alignment of
314 * internally enforced. Requested alignments of less than
320 * Returns physical address of block allocated, or -1 on failure
327 * Allocates a named block of physical memory from the free list, at
330 * @param size size of region to allocate. All requests are rounded
336 * @param alignment Requested alignment of the block. If this
338 * This must be a power of 2. (Note: Alignment of
340 * internally enforced. Requested alignments of less
346 * @return physical address of block allocated, or -1 on failure
357 * @name: Name of memory block to find. If NULL pointer given, then
372 * @name: name of block to free
383 * of the block that was allocated, or the list will become
386 * IMPORTANT: This is only intended to be used as part of named block
387 * frees and initial population of the free memory list.
390 * @phy_addr: physical address of block
391 * @size: size of block in bytes.