Lines Matching refs:use
11 `alloc_pages`. It is also possible to use more specialized allocators,
14 Most of the memory allocation APIs use GFP flags to express how that
20 answer, although very likely you should use
41 many other allocations types can use ``GFP_KERNEL``. Note, that
46 handler, use ``GFP_NOWAIT``. This flag prevents direct reclaim and
51 will be stressed unless allocation succeeds, you may use ``GFP_ATOMIC``.
56 * Userspace allocations should use either of the ``GFP_USER``,
77 use new scope APIs described in
84 And even with hardware with restrictions it is preferable to use
90 The most straightforward way to allocate memory is to use a function
92 best to use routines that set memory to zero, like
98 configuration, but it is a good practice to use `kmalloc` for objects
105 For large allocations you can use :c:func:`vmalloc` and
111 `kmalloc`, it is possible to use :c:func:`kvmalloc` and its
118 If you need to allocate many identical objects you can use the slab
127 can use :c:func:`kvfree` for the memory allocated with `kmalloc`,