Lines Matching refs:kmalloc
164 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_right()
193 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_left()
227 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_pagealloc_oob_right()
243 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_pagealloc_uaf()
257 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_pagealloc_invalid_free()
308 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_large_oob_right()
325 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_more_oob_helper()
360 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_less_oob_helper()
433 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_uaf()
453 ptr1 = kmalloc(sizeof(*ptr1) - 3, GFP_KERNEL); in kmalloc_oob_16()
456 ptr2 = kmalloc(sizeof(*ptr2), GFP_KERNEL); in kmalloc_oob_16()
474 ptr1 = kmalloc(sizeof(*ptr1), GFP_KERNEL); in kmalloc_uaf_16()
477 ptr2 = kmalloc(sizeof(*ptr2), GFP_KERNEL); in kmalloc_uaf_16()
498 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_memset_2()
513 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_memset_4()
528 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_memset_8()
543 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_memset_16()
558 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_in_memset()
583 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_memmove_negative_size()
602 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_memmove_invalid_size()
618 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_uaf()
638 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_uaf_memset()
652 ptr1 = kmalloc(size, GFP_KERNEL); in kmalloc_uaf2()
657 ptr2 = kmalloc(size, GFP_KERNEL); in kmalloc_uaf2()
687 ptr1 = kmalloc(size, GFP_KERNEL); in kmalloc_uaf3()
691 ptr2 = kmalloc(size, GFP_KERNEL); in kmalloc_uaf3()
705 ptr = kmalloc(size, GFP_KERNEL); in kfree_via_page()
719 ptr = kmalloc(size, GFP_KERNEL); in kfree_via_phys()
846 ptr = kmalloc(size, GFP_KERNEL); in ksize_unpoisons_memory()
876 ptr = kmalloc(size, GFP_KERNEL); in ksize_uaf()
1005 ptr = kmalloc(size, GFP_KERNEL | __GFP_ZERO); in kasan_memchr()
1031 ptr = kmalloc(size, GFP_KERNEL | __GFP_ZERO); in kasan_memcmp()
1053 ptr = kmalloc(size, GFP_KERNEL | __GFP_ZERO); in kasan_strings()
1159 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_double_kzfree()
1192 ptr = kmalloc(sizeof(struct kasan_rcu_info), GFP_KERNEL); in rcu_uaf()
1216 work = kmalloc(sizeof(struct work_struct), GFP_KERNEL); in workqueue_uaf()
1424 ptr = kmalloc(size, GFP_KERNEL); in match_all_not_assigned()
1462 ptr = kmalloc(128, GFP_KERNEL); in match_all_ptr_tag()
1488 ptr = kmalloc(128, GFP_KERNEL); in match_all_mem_tag()