Lines Matching full:buffer
21 allocated buffer. The buffer returned is aligned on a 4KB boundary. If Pages is 0, then NULL
27 @return A pointer to the allocated buffer or NULL if allocation fails.
40 allocated buffer. The buffer returned is aligned on a 4KB boundary. If Pages is 0, then NULL
46 @return A pointer to the allocated buffer or NULL if allocation fails.
59 allocated buffer. The buffer returned is aligned on a 4KB boundary. If Pages is 0, then NULL
65 @return A pointer to the allocated buffer or NULL if allocation fails.
78 Frees the number of 4KB pages specified by Pages from the buffer specified by Buffer. Buffer
83 If Buffer was not allocated with a page allocation function in the Memory Allocation Library,
87 @param Buffer Pointer to the buffer of pages to free.
94 IN VOID *Buffer,
102 alignment specified by Alignment. The allocated buffer is returned. If Pages is 0, then NULL is
113 @return A pointer to the allocated buffer or NULL if allocation fails.
127 alignment specified by Alignment. The allocated buffer is returned. If Pages is 0, then NULL is
138 @return A pointer to the allocated buffer or NULL if allocation fails.
152 alignment specified by Alignment. The allocated buffer is returned. If Pages is 0, then NULL is
163 @return A pointer to the allocated buffer or NULL if allocation fails.
177 Frees the number of 4KB pages specified by Pages from the buffer specified by Buffer. Buffer
182 If Buffer was not allocated with an aligned page allocation function in the Memory Allocation
186 @param Buffer Pointer to the buffer of pages to free.
193 IN VOID *Buffer,
198 Allocates a buffer of type EfiBootServicesData.
201 pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
206 @return A pointer to the allocated buffer or NULL if allocation fails.
216 Allocates a buffer of type EfiRuntimeServicesData.
219 a pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
224 @return A pointer to the allocated buffer or NULL if allocation fails.
234 Allocates a buffer of type EfiReservedMemoryType.
237 a pointer to the allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is
242 @return A pointer to the allocated buffer or NULL if allocation fails.
252 Allocates and zeros a buffer of type EfiBootServicesData.
255 buffer with zeros, and returns a pointer to the allocated buffer. If AllocationSize is 0, then a
256 valid buffer of 0 size is returned. If there is not enough memory remaining to satisfy the
261 @return A pointer to the allocated buffer or NULL if allocation fails.
271 Allocates and zeros a buffer of type EfiRuntimeServicesData.
274 buffer with zeros, and returns a pointer to the allocated buffer. If AllocationSize is 0, then a
275 valid buffer of 0 size is returned. If there is not enough memory remaining to satisfy the
280 @return A pointer to the allocated buffer or NULL if allocation fails.
290 Allocates and zeros a buffer of type EfiReservedMemoryType.
293 buffer with zeros, and returns a pointer to the allocated buffer. If AllocationSize is 0, then a
294 valid buffer of 0 size is returned. If there is not enough memory remaining to satisfy the
299 @return A pointer to the allocated buffer or NULL if allocation fails.
309 Copies a buffer to an allocated buffer of type EfiBootServicesData.
312 AllocationSize bytes from Buffer to the newly allocated buffer, and returns a pointer to the
313 allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. If there
316 If Buffer is NULL, then ASSERT().
317 If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
320 @param Buffer The buffer to copy to the allocated buffer.
322 @return A pointer to the allocated buffer or NULL if allocation fails.
329 IN CONST VOID *Buffer
333 Copies a buffer to an allocated buffer of type EfiRuntimeServicesData.
336 AllocationSize bytes from Buffer to the newly allocated buffer, and returns a pointer to the
337 allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. If there
340 If Buffer is NULL, then ASSERT().
341 If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
344 @param Buffer The buffer to copy to the allocated buffer.
346 @return A pointer to the allocated buffer or NULL if allocation fails.
353 IN CONST VOID *Buffer
357 Copies a buffer to an allocated buffer of type EfiReservedMemoryType.
360 AllocationSize bytes from Buffer to the newly allocated buffer, and returns a pointer to the
361 allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. If there
364 If Buffer is NULL, then ASSERT().
365 If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
368 @param Buffer The buffer to copy to the allocated buffer.
370 @return A pointer to the allocated buffer or NULL if allocation fails.
377 IN CONST VOID *Buffer
381 Reallocates a buffer of type EfiBootServicesData.
385 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
386 OldBuffer is freed. A pointer to the newly allocated buffer is returned.
387 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
390 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
394 @param NewSize The size, in bytes, of the buffer to reallocate.
395 @param OldBuffer The buffer to copy to the allocated buffer. This is an optional
398 @return A pointer to the allocated buffer or NULL if allocation fails.
410 Reallocates a buffer of type EfiRuntimeServicesData.
414 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
415 OldBuffer is freed. A pointer to the newly allocated buffer is returned.
416 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
419 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
423 @param NewSize The size, in bytes, of the buffer to reallocate.
424 @param OldBuffer The buffer to copy to the allocated buffer. This is an optional
427 @return A pointer to the allocated buffer or NULL if allocation fails.
439 Reallocates a buffer of type EfiReservedMemoryType.
443 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
444 OldBuffer is freed. A pointer to the newly allocated buffer is returned.
445 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
448 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
452 @param NewSize The size, in bytes, of the buffer to reallocate.
453 @param OldBuffer The buffer to copy to the allocated buffer. This is an optional
456 @return A pointer to the allocated buffer or NULL if allocation fails.
468 Frees a buffer that was previously allocated with one of the pool allocation functions in the
471 Frees the buffer specified by Buffer. Buffer must have been allocated on a previous call to the
475 If Buffer was not allocated with a pool allocation function in the Memory Allocation Library,
478 @param Buffer Pointer to the buffer to free.
484 IN VOID *Buffer