Lines Matching full:allocation

238  * kasan_mempool_poison_pages - Check and poison a mempool page allocation.
239 * @page: Pointer to the page allocation.
240 * @order: Order of the allocation.
248 * Before the poisoned allocation can be reused, it must be unpoisoned via
251 * Return: true if the allocation can be safely reused; false otherwise.
264 * kasan_mempool_unpoison_pages - Unpoison a mempool page allocation.
265 * @page: Pointer to the page allocation.
266 * @order: Order of the allocation.
271 * This function unpoisons a page allocation that was previously poisoned by
272 * kasan_mempool_poison_pages() without zeroing the allocation's memory. For
273 * the tag-based modes, this function assigns a new tag to the allocation.
284 * kasan_mempool_poison_object - Check and poison a mempool slab allocation.
285 * @ptr: Pointer to the slab allocation.
291 * This function poisons a slab allocation and saves a free stack trace for it
292 * without initializing the allocation's memory and without putting it into the
297 * to find out if the allocation is buggy.
299 * Before the poisoned allocation can be reused, it must be unpoisoned via
306 * Return: true if the allocation can be safely reused; false otherwise.
317 * kasan_mempool_unpoison_object - Unpoison a mempool slab allocation.
318 * @ptr: Pointer to the slab allocation.
325 * This function unpoisons a slab allocation that was previously poisoned via
327 * initializing the allocation's memory. For the tag-based modes, this function
328 * does not assign a new tag to the allocation and instead restores the