Home
last modified time | relevance | path

Searched refs:ZERO_SIZE_PTR (Results 1 – 15 of 15) sorted by relevance

/linux/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()
/linux/include/linux/
H A Dslab.h255 #define ZERO_SIZE_PTR ((void *)16) macro
258 (unsigned long)ZERO_SIZE_PTR)
/linux/drivers/base/
H A Ddevres.c861 return ZERO_SIZE_PTR; in devm_kmalloc()
902 return ZERO_SIZE_PTR; in devm_krealloc()
/linux/mm/kasan/
H A Dcommon.c468 if (unlikely(object == ZERO_SIZE_PTR)) in __kasan_krealloc()
/linux/lib/tests/
H A Dfortify_kunit.c1055 KUNIT_EXPECT_PTR_EQ(test, copy, ZERO_SIZE_PTR); in fortify_test_kmemdup()
1061 KUNIT_EXPECT_PTR_EQ(test, copy, ZERO_SIZE_PTR); in fortify_test_kmemdup()
1067 KUNIT_EXPECT_PTR_EQ(test, copy, ZERO_SIZE_PTR); in fortify_test_kmemdup()
/linux/drivers/gpu/drm/i915/gt/
H A Dgen6_ppgtt.c364 obj->mm.pages = ZERO_SIZE_PTR; in pd_dummy_obj_get_pages()
/linux/kernel/events/
H A Duprobes.c2103 return ZERO_SIZE_PTR; in alloc_return_instance()
2502 if (unlikely(ri == ZERO_SIZE_PTR)) in push_consumer()
2509 return ZERO_SIZE_PTR; in push_consumer()
/linux/mm/
H A Dslab_common.c402 return ZERO_SIZE_PTR; in kmem_buckets_create()
1002 if (unlikely(object == ZERO_SIZE_PTR)) in __ksize()
H A Dutil.c1076 else if (object == ZERO_SIZE_PTR) in mem_dump_obj()
H A Dslub.c5645 return ZERO_SIZE_PTR; in __do_kmalloc_node()
5688 return ZERO_SIZE_PTR; in kmalloc_nolock_noprof()
7043 return ZERO_SIZE_PTR; in krealloc_node_align_noprof()
/linux/mm/kfence/
H A Dkfence_test.c741 KUNIT_EXPECT_EQ(test, (unsigned long)buf, (unsigned long)ZERO_SIZE_PTR); in test_krealloc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Ddefiner.c1674 if (fc == ZERO_SIZE_PTR) in hws_definer_get_fc_size()
1716 if (fc == ZERO_SIZE_PTR) in hws_definer_set_hl()
/linux/kernel/rcu/
H A Drcutorture.c2827 mem_dump_obj(ZERO_SIZE_PTR); in rcu_torture_mem_dump_obj()
/linux/kernel/bpf/
H A Dverifier.c1372 return dst ? dst : ZERO_SIZE_PTR; in copy_array()
1400 return arr ? arr : ZERO_SIZE_PTR; in realloc_array()