• Home
  • Raw
  • Download

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 */
122 /* address of named memory block descriptors */
149 * Allocate a block of memory from the free list that was passed
153 * @size: Size in bytes of block to allocate
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
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
187 * Returns pointer to block of memory, NULL on error
193 * Frees a previously allocated named bootmem block.
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
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
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
263 * freed. If the requested name block is already allocated, return
264 * the pointer to block of memory. If request cannot be satisfied
267 * @param size Size in bytes of block to allocate
271 * @param name name of block - must be less than CVMX_BOOTMEM_NAME_LEN bytes
274 * The initialization function is optional, if omitted the named block
277 * @return pointer to block of memory, NULL on error
289 * Finds a named bootmem block by name.
291 * @name: name of block to free
293 * Returns pointer to named block descriptor on success
299 * Allocates a block of physical memory from the free list, at
305 * @address_min: Minimum address that block can occupy.
310 * @alignment: Requested alignment of the block. If this alignment
320 * Returns physical address of block allocated, or -1 on failure
327 * Allocates a named block of physical memory from the free list, at
333 * @param min_addr Minimum address that block can occupy.
336 * @param alignment Requested alignment of the block. If this
343 * @param name name to assign to named block
346 * @return physical address of block allocated, or -1 on failure
354 * Finds a named memory block by name.
355 * Also used for finding an unused entry in the named block table.
357 * @name: Name of memory block to find. If NULL pointer given, then
362 * Returns Pointer to memory block descriptor, NULL if not found.
364 * block descriptors are available.
370 * Frees a named block.
372 * @name: name of block to free
381 * Frees a block to the bootmem allocator list. This must
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
390 * @phy_addr: physical address of block
391 * @size: size of block in bytes.