Lines Matching full:allocation
284 * kasan_mempool_poison_pages - Check and poison a mempool page allocation.
285 * @page: Pointer to the page allocation.
286 * @order: Order of the allocation.
294 * Before the poisoned allocation can be reused, it must be unpoisoned via
297 * Return: true if the allocation can be safely reused; false otherwise.
310 * kasan_mempool_unpoison_pages - Unpoison a mempool page allocation.
311 * @page: Pointer to the page allocation.
312 * @order: Order of the allocation.
317 * This function unpoisons a page allocation that was previously poisoned by
318 * kasan_mempool_poison_pages() without zeroing the allocation's memory. For
319 * the tag-based modes, this function assigns a new tag to the allocation.
330 * kasan_mempool_poison_object - Check and poison a mempool slab allocation.
331 * @ptr: Pointer to the slab allocation.
337 * This function poisons a slab allocation and saves a free stack trace for it
338 * without initializing the allocation's memory and without putting it into the
343 * to find out if the allocation is buggy.
345 * Before the poisoned allocation can be reused, it must be unpoisoned via
352 * Return: true if the allocation can be safely reused; false otherwise.
363 * kasan_mempool_unpoison_object - Unpoison a mempool slab allocation.
364 * @ptr: Pointer to the slab allocation.
371 * This function unpoisons a slab allocation that was previously poisoned via
373 * initializing the allocation's memory. For the tag-based modes, this function
374 * does not assign a new tag to the allocation and instead restores the