kmalloc, kfree - allocate and free pieces of memory
void * kmalloc (size_t size, int priority);
void kfree (void * __ptr);
The parameter size is the number of bytes that will be allocated. The parameter priority indicates the importance and type of the memory request. Some possible values are GFP_DMA, GFP_ATOMIC, GFP_BUFFER, and GFP_NFS.
The kfree function releases a piece of memory that is passed as the __ptr parameter.
If there is an error, NULL is returned instead.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |