Lines Matching defs:kmalloc
75 /* Indicate a kmalloc slab */
206 * ZERO_SIZE_PTR will be returned for zero sized kmalloc requests.
262 * Common kmalloc functions provided by all allocators
274 * @objp: Pointer returned from a prior kmalloc()-family allocation.
292 * Some archs want to perform DMA into kmalloc caches and need a guaranteed
332 * kmalloc and friends return pointers aligned to both ARCH_KMALLOC_MINALIGN
372 * If minimum size of kmalloc is less than 16, we use it as minimum object
460 * Figure out which kmalloc slab an allocation of a certain size
521 * @flags: See kmalloc().
566 * kmalloc - allocate kernel memory
570 * kmalloc is the normal method of allocating memory
619 static __always_inline __alloc_size(1) void *kmalloc(size_t size, gfp_t flags)
655 * @flags: the type of memory to allocate (see kmalloc).
664 return kmalloc(bytes, flags);
673 * @flags: the type of memory to allocate (see kmalloc)
692 * @flags: the type of memory to allocate (see kmalloc).
706 * kmalloc_track_caller is a special version of kmalloc that records the
709 * It's useful when the call to kmalloc comes from a widely-used standard
745 * @flags: the type of memory to allocate (see kmalloc).
749 return kmalloc(size, flags | __GFP_ZERO);
755 * @flags: the type of memory to allocate (see kmalloc).
806 * This returns the number of bytes that would be available in a kmalloc()
808 * rounded up to the next sized kmalloc bucket, 128 bytes. (This is strictly
809 * for the general-purpose kmalloc()-based allocations, and is not for the
812 * Use this to kmalloc() the full bucket size ahead of time instead of using