Searched refs:ZERO_SIZE_PTR (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/include/linux/
H A Dslab.h94 * ZERO_SIZE_PTR will be returned for zero sized kmalloc requests.
96 * Dereferencing ZERO_SIZE_PTR will lead to a distinct access fault.
98 * ZERO_SIZE_PTR can be passed to kfree though in the same way that NULL can.
101 #define ZERO_SIZE_PTR ((void *)16) macro
104 (unsigned long)ZERO_SIZE_PTR)
428 return ZERO_SIZE_PTR; kmalloc()
466 return ZERO_SIZE_PTR; kmalloc_node()
/linux-4.1.27/mm/
H A Dslob.c439 return ZERO_SIZE_PTR; __do_kmalloc_node()
512 if (unlikely(block == ZERO_SIZE_PTR)) ksize()
H A Dslab_common.c772 return ZERO_SIZE_PTR; kmalloc_slab()
1106 return ZERO_SIZE_PTR; __krealloc()
1130 return ZERO_SIZE_PTR; krealloc()
H A Dslab.c4242 if (unlikely(objp == ZERO_SIZE_PTR)) ksize()
H A Dslub.c3378 if (unlikely(object == ZERO_SIZE_PTR)) __ksize()
/linux-4.1.27/mm/kasan/
H A Dkasan.c381 if (unlikely(object == ZERO_SIZE_PTR)) kasan_krealloc()
/linux-4.1.27/fs/pstore/
H A Dram.c515 * ZERO_SIZE_PTR). ramoops_probe()

Completed in 561 milliseconds