Home
last modified time | relevance | path

Searched refs:ptr2 (Results 1 – 2 of 2) sorted by relevance

/lib/
Dtest_kasan.c150 char *ptr1, *ptr2; in kmalloc_oob_krealloc_more() local
156 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in kmalloc_oob_krealloc_more()
157 if (!ptr1 || !ptr2) { in kmalloc_oob_krealloc_more()
163 ptr2[size2] = 'x'; in kmalloc_oob_krealloc_more()
164 kfree(ptr2); in kmalloc_oob_krealloc_more()
169 char *ptr1, *ptr2; in kmalloc_oob_krealloc_less() local
175 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in kmalloc_oob_krealloc_less()
176 if (!ptr1 || !ptr2) { in kmalloc_oob_krealloc_less()
181 ptr2[size2] = 'x'; in kmalloc_oob_krealloc_less()
182 kfree(ptr2); in kmalloc_oob_krealloc_less()
[all …]
Dhexdump.c157 const u16 *ptr2 = buf; in hex_dump_to_buffer() local
162 get_unaligned(ptr2 + j)); in hex_dump_to_buffer()