Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
H A Dtest-drm_damage_helper.c86 .crtc = ZERO_SIZE_PTR, in igt_damage_iter_no_damage()
117 .crtc = ZERO_SIZE_PTR, in igt_damage_iter_no_damage_fractional_src()
150 .crtc = ZERO_SIZE_PTR, in igt_damage_iter_no_damage_src_moved()
182 .crtc = ZERO_SIZE_PTR, in igt_damage_iter_no_damage_fractional_src_moved()
215 .crtc = ZERO_SIZE_PTR, in igt_damage_iter_no_damage_not_visible()
267 .crtc = ZERO_SIZE_PTR, in igt_damage_iter_no_damage_no_fb()
297 .crtc = ZERO_SIZE_PTR, in igt_damage_iter_simple_damage()
333 .crtc = ZERO_SIZE_PTR, in igt_damage_iter_single_damage()
368 .crtc = ZERO_SIZE_PTR, in igt_damage_iter_single_damage_intersect_src()
404 .crtc = ZERO_SIZE_PTR, in igt_damage_iter_single_damage_outside_src()
[all...]
H A Dtest-drm_plane_helper.c81 .crtc = ZERO_SIZE_PTR, in igt_check_plane_state()
95 .crtc = ZERO_SIZE_PTR, in igt_check_plane_state()
/kernel/linux/common_modules/tzdriver/
H A Dtc_ns_client.h34 #ifndef ZERO_SIZE_PTR
35 #define ZERO_SIZE_PTR ((void *)16) macro
36 #define ZERO_OR_NULL_PTR(x) ((unsigned long)(x) <= (unsigned long)ZERO_SIZE_PTR)
/kernel/linux/linux-5.10/include/linux/
H A Dslab.h124 * ZERO_SIZE_PTR will be returned for zero sized kmalloc requests.
126 * Dereferencing ZERO_SIZE_PTR will lead to a distinct access fault.
128 * ZERO_SIZE_PTR can be passed to kfree though in the same way that NULL can.
131 #define ZERO_SIZE_PTR ((void *)16) macro
134 (unsigned long)ZERO_SIZE_PTR)
550 return ZERO_SIZE_PTR; in kmalloc()
568 return ZERO_SIZE_PTR; in kmalloc_node()
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c16 .crtc = ZERO_SIZE_PTR,
65 mock->crtc = ZERO_SIZE_PTR; in drm_plane_helper_init()
H A Ddrm_damage_helper_test.c36 mock->state.crtc = ZERO_SIZE_PTR; in drm_damage_helper_init()
/kernel/linux/linux-6.6/include/linux/
H A Dslab.h168 * ZERO_SIZE_PTR will be returned for zero sized kmalloc requests.
170 * Dereferencing ZERO_SIZE_PTR will lead to a distinct access fault.
172 * ZERO_SIZE_PTR can be passed to kfree though in the same way that NULL can.
175 #define ZERO_SIZE_PTR ((void *)16) macro
178 (unsigned long)ZERO_SIZE_PTR)
/kernel/linux/linux-5.10/mm/
H A Dslob.c491 return ZERO_SIZE_PTR; in __do_kmalloc_node()
571 if (unlikely(block == ZERO_SIZE_PTR)) in __ksize()
H A Dslab_common.c638 return ZERO_SIZE_PTR; in kmalloc_slab()
1105 return ZERO_SIZE_PTR; in krealloc()
H A Dslab.c4193 if (unlikely(objp == ZERO_SIZE_PTR)) in __ksize()
H A Dslub.c4093 if (unlikely(object == ZERO_SIZE_PTR)) in __ksize()
/kernel/linux/linux-6.6/mm/kasan/
H A Dcommon.c426 if (unlikely(object == ZERO_SIZE_PTR)) in __kasan_krealloc()
/kernel/linux/linux-6.6/mm/
H A Dslab_common.c543 /* Some arches consider ZERO_SIZE_PTR to be a valid address. */ in kmem_valid_obj()
734 return ZERO_SIZE_PTR; in kmalloc_slab()
761 * Return 'size' for 0 - kmalloc() returns ZERO_SIZE_PTR in kmalloc_size_roundup()
1095 if (unlikely(object == ZERO_SIZE_PTR)) in __ksize()
1444 return ZERO_SIZE_PTR; in krealloc()
H A Dutil.c1087 else if (object == ZERO_SIZE_PTR) in mem_dump_obj()
/kernel/linux/linux-5.10/drivers/base/
H A Ddevres.c831 return ZERO_SIZE_PTR; in devm_kmalloc()
856 * Behaves similarly to regular krealloc(): if @ptr is NULL or ZERO_SIZE_PTR,
858 * previously allocated memory and returns ZERO_SIZE_PTR. This function doesn't
872 return ZERO_SIZE_PTR; in devm_krealloc()
/kernel/linux/linux-6.6/drivers/base/
H A Ddevres.c826 return ZERO_SIZE_PTR; in devm_kmalloc()
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; in devm_krealloc()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dgen6_ppgtt.c364 obj->mm.pages = ZERO_SIZE_PTR; in pd_dummy_obj_get_pages()
/kernel/linux/linux-5.10/mm/kasan/
H A Dcommon.c508 if (unlikely(object == ZERO_SIZE_PTR)) in kasan_krealloc()
/kernel/linux/linux-6.6/mm/kfence/
H A Dkfence_test.c724 KUNIT_EXPECT_EQ(test, (unsigned long)buf, (unsigned long)ZERO_SIZE_PTR); in test_krealloc()
/kernel/linux/linux-5.10/drivers/staging/netlogic/
H A Dxlr_net.c390 return ZERO_SIZE_PTR; in xlr_config_spill()
/kernel/linux/linux-6.6/kernel/rcu/
H A Drcutorture.c2311 pr_alert("mem_dump_obj(ZERO_SIZE_PTR):"); in rcu_torture_mem_dump_obj()
2312 mem_dump_obj(ZERO_SIZE_PTR); in rcu_torture_mem_dump_obj()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dverifier.c1580 return dst ? dst : ZERO_SIZE_PTR; in copy_array()
1608 return arr ? arr : ZERO_SIZE_PTR; in realloc_array()

Completed in 63 milliseconds