2 #include <linux/slab.h>
3 #include <linux/string.h>
4 #include <linux/export.h>
6 #include <linux/sched.h>
8 #include <asm/uaccess.h>
12 #define CREATE_TRACE_POINTS
142 return __do_krealloc(p, new_size, flags);
167 ret = __do_krealloc(p, new_size, flags);
189 void *
mem = (
void *)p;
222 p[length - 1] =
'\0';
268 if (vm_is_stack_for_task(task, vma))
274 if (!pid_alive(task))
279 if (vm_is_stack_for_task(t, vma)) {
291 #if defined(CONFIG_MMU) && !defined(HAVE_ARCH_PICK_MMAP_LAYOUT)
345 write, 0, pages,
NULL);
353 unsigned long len,
unsigned long prot,
354 unsigned long flag,
unsigned long pgoff)
369 unsigned long len,
unsigned long prot,