Home
last modified time | relevance | path

Searched refs:v_ptr (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/lib/
Dtest_kasan.c1113 char *v_ptr, *p_ptr; in vmalloc_oob() local
1119 v_ptr = vmalloc(size); in vmalloc_oob()
1120 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, v_ptr); in vmalloc_oob()
1122 OPTIMIZER_HIDE_VAR(v_ptr); in vmalloc_oob()
1130 v_ptr[0] = 0; in vmalloc_oob()
1131 v_ptr[size - 1] = 0; in vmalloc_oob()
1138 KUNIT_EXPECT_KASAN_FAIL(test, ((volatile char *)v_ptr)[size]); in vmalloc_oob()
1141 KUNIT_EXPECT_KASAN_FAIL(test, ((volatile char *)v_ptr)[size + 5]); in vmalloc_oob()
1144 page = vmalloc_to_page(v_ptr); in vmalloc_oob()
1150 vfree(v_ptr); in vmalloc_oob()
[all …]
/linux-5.19.10/drivers/md/persistent-data/
Ddm-space-map-common.c555 __le32 *v_ptr; in __sm_ll_inc_overflow() local
576 v_ptr = value_ptr(n, index); in __sm_ll_inc_overflow()
577 rc = le32_to_cpu(*v_ptr) + 1; in __sm_ll_inc_overflow()
578 *v_ptr = cpu_to_le32(rc); in __sm_ll_inc_overflow()
587 __le32 *v_ptr; in sm_ll_inc_overflow() local
597 v_ptr = value_ptr(n, index); in sm_ll_inc_overflow()
598 rc = le32_to_cpu(*v_ptr) + 1; in sm_ll_inc_overflow()
599 *v_ptr = cpu_to_le32(rc); in sm_ll_inc_overflow()
773 __le32 *v_ptr; in __sm_ll_dec_overflow() local
789 v_ptr = value_ptr(n, index); in __sm_ll_dec_overflow()
[all …]