/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
H A D | test-drm_damage_helper.c | 86 .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 D | test-drm_plane_helper.c | 81 .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 D | tc_ns_client.h | 34 #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 D | slab.h | 124 * 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 D | drm_plane_helper_test.c | 16 .crtc = ZERO_SIZE_PTR, 65 mock->crtc = ZERO_SIZE_PTR; in drm_plane_helper_init()
|
H A D | drm_damage_helper_test.c | 36 mock->state.crtc = ZERO_SIZE_PTR; in drm_damage_helper_init()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | slab.h | 168 * 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 D | slob.c | 491 return ZERO_SIZE_PTR; in __do_kmalloc_node() 571 if (unlikely(block == ZERO_SIZE_PTR)) in __ksize()
|
H A D | slab_common.c | 638 return ZERO_SIZE_PTR; in kmalloc_slab() 1105 return ZERO_SIZE_PTR; in krealloc()
|
H A D | slab.c | 4193 if (unlikely(objp == ZERO_SIZE_PTR)) in __ksize()
|
H A D | slub.c | 4093 if (unlikely(object == ZERO_SIZE_PTR)) in __ksize()
|
/kernel/linux/linux-6.6/mm/kasan/ |
H A D | common.c | 426 if (unlikely(object == ZERO_SIZE_PTR)) in __kasan_krealloc()
|
/kernel/linux/linux-6.6/mm/ |
H A D | slab_common.c | 543 /* 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 D | util.c | 1087 else if (object == ZERO_SIZE_PTR) in mem_dump_obj()
|
/kernel/linux/linux-5.10/drivers/base/ |
H A D | devres.c | 831 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 D | devres.c | 826 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 D | gen6_ppgtt.c | 364 obj->mm.pages = ZERO_SIZE_PTR; in pd_dummy_obj_get_pages()
|
/kernel/linux/linux-5.10/mm/kasan/ |
H A D | common.c | 508 if (unlikely(object == ZERO_SIZE_PTR)) in kasan_krealloc()
|
/kernel/linux/linux-6.6/mm/kfence/ |
H A D | kfence_test.c | 724 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 D | xlr_net.c | 390 return ZERO_SIZE_PTR; in xlr_config_spill()
|
/kernel/linux/linux-6.6/kernel/rcu/ |
H A D | rcutorture.c | 2311 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 D | verifier.c | 1580 return dst ? dst : ZERO_SIZE_PTR; in copy_array() 1608 return arr ? arr : ZERO_SIZE_PTR; in realloc_array()
|