Lines Matching full:block
45 /* Allocate from end of block instead of beginning */
51 /* First bytes of each free physical block of memory contain this structure,
76 /* Base address of named block */
79 * Size actually allocated for named block (may differ from
83 /* name of named block */
121 /* address of named memory block descriptors */
135 * Allocate a block of memory from the free list that was passed
139 * @size: Size in bytes of block to allocate
142 * Returns pointer to block of memory, NULL on error
147 * Allocate a block of memory from the free list that was
153 * @size: Size in bytes of block to allocate
157 * Returns pointer to block of memory, NULL on error
163 * Allocate a block of memory from the free list that was
169 * @size: Size in bytes of block to allocate
173 * Returns pointer to block of memory, NULL on error
179 * Frees a previously allocated named bootmem block.
181 * @name: name of block to free
189 * Allocate a block of memory from the free list that was passed
191 * global named block table. (part of the cvmx_bootmem_descriptor_t structure)
194 * @size: Size in bytes of block to allocate
196 * @name: name of block - must be less than CVMX_BOOTMEM_NAME_LEN bytes
198 * Returns a pointer to block of memory, NULL on error
206 * Allocate a block of memory from the free list that was passed
208 * global named block table. (part of the cvmx_bootmem_descriptor_t structure)
211 * @size: Size in bytes of block to allocate
214 * @name: name of block - must be less than CVMX_BOOTMEM_NAME_LEN
217 * Returns a pointer to block of memory, NULL on error
225 * Allocate a block of memory from a specific range of the free list
227 * a name in the global named block table. (part of the
232 * @size: Size in bytes of block to allocate
236 * @name: name of block - must be less than CVMX_BOOTMEM_NAME_LEN bytes
238 * Returns a pointer to block of memory, NULL on error
247 * Finds a named bootmem block by name.
249 * @name: name of block to free
251 * Returns pointer to named block descriptor on success
257 * Allocates a block of physical memory from the free list, at
263 * @address_min: Minimum address that block can occupy.
268 * @alignment: Requested alignment of the block. If this alignment
278 * Returns physical address of block allocated, or -1 on failure
285 * Allocates a named block of physical memory from the free list, at
291 * @param min_addr Minimum address that block can occupy.
294 * @param alignment Requested alignment of the block. If this
301 * @param name name to assign to named block
304 * @return physical address of block allocated, or -1 on failure
312 * Finds a named memory block by name.
313 * Also used for finding an unused entry in the named block table.
315 * @name: Name of memory block to find. If NULL pointer given, then
320 * Returns Pointer to memory block descriptor, NULL if not found.
322 * block descriptors are available.
328 * Frees a named block.
330 * @name: name of block to free
339 * Frees a block to the bootmem allocator list. This must
341 * of the block that was allocated, or the list will become
344 * IMPORTANT: This is only intended to be used as part of named block
348 * @phy_addr: physical address of block
349 * @size: size of block in bytes.