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

/linux-master/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c16 .crtc = ZERO_SIZE_PTR,
65 mock->crtc = ZERO_SIZE_PTR;
H A Ddrm_damage_helper_test.c36 mock->state.crtc = ZERO_SIZE_PTR;
/linux-master/include/linux/
H A Dslab.h206 * ZERO_SIZE_PTR will be returned for zero sized kmalloc requests.
208 * Dereferencing ZERO_SIZE_PTR will lead to a distinct access fault.
210 * ZERO_SIZE_PTR can be passed to kfree though in the same way that NULL can.
213 #define ZERO_SIZE_PTR ((void *)16) macro
216 (unsigned long)ZERO_SIZE_PTR)
/linux-master/drivers/gpu/drm/i915/gt/
H A Dgen6_ppgtt.c364 obj->mm.pages = ZERO_SIZE_PTR;
/linux-master/mm/kasan/
H A Dcommon.c438 if (unlikely(object == ZERO_SIZE_PTR))
/linux-master/drivers/base/
H A Ddevres.c826 return ZERO_SIZE_PTR;
851 * Behaves similarly to regular krealloc(): if @ptr is NULL or ZERO_SIZE_PTR,
853 * previously allocated memory and returns ZERO_SIZE_PTR. This function doesn't
867 return ZERO_SIZE_PTR;
/linux-master/mm/
H A Dslab_common.c560 /* Some arches consider ZERO_SIZE_PTR to be a valid address. */
714 * Return 'size' for 0 - kmalloc() returns ZERO_SIZE_PTR
960 if (unlikely(object == ZERO_SIZE_PTR))
1222 return ZERO_SIZE_PTR;
H A Dutil.c1105 else if (object == ZERO_SIZE_PTR)
H A Dslub.c3961 return ZERO_SIZE_PTR;
/linux-master/mm/kfence/
H A Dkfence_test.c724 KUNIT_EXPECT_EQ(test, (unsigned long)buf, (unsigned long)ZERO_SIZE_PTR);
/linux-master/kernel/rcu/
H A Drcutorture.c2316 pr_alert("mem_dump_obj(ZERO_SIZE_PTR):");
2317 mem_dump_obj(ZERO_SIZE_PTR);
/linux-master/kernel/bpf/
H A Dverifier.c1228 return dst ? dst : ZERO_SIZE_PTR;
1256 return arr ? arr : ZERO_SIZE_PTR;

Completed in 312 milliseconds