Lines Matching full:allocation
5 //! Documentation for the kernel's memory allocators can found in the "Memory Allocation Guide"
9 //! Reference: <https://docs.kernel.org/core-api/memory-allocation.html>
45 /// failure. This allocator is typically used when the size for the requested allocation is not
81 /// - it accepts any pointer to a valid memory allocation allocated by this function.
140 // - passing a pointer to a valid memory allocation is OK,
161 /// Convert a pointer to a [`Vmalloc`] allocation to a [`page::BorrowedPage`].
177 /// // `ptr` is a valid pointer to a `Vmalloc` allocation.
189 /// - `ptr` must be a valid pointer to a [`Vmalloc`] allocation.
201 // this function `ptr` is a valid pointer to a `Vmalloc` allocation. in to_page()
210 // - passing a pointer to a valid memory allocation is OK,
231 // - passing a pointer to a valid memory allocation is OK,