Searched refs:ptr2 (Results 1 – 2 of 2) sorted by relevance
150 char *ptr1, *ptr2; in kmalloc_oob_krealloc_more() local156 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() local175 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 …]
157 const u16 *ptr2 = buf; in hex_dump_to_buffer() local162 get_unaligned(ptr2 + j)); in hex_dump_to_buffer()