Home
last modified time | relevance | path

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

/openbmc/linux/mm/kasan/
H A Dkasan_test.c1265 char *v_ptr, *p_ptr; in vmalloc_oob() local
1271 v_ptr = vmalloc(size); in vmalloc_oob()
1272 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, v_ptr); in vmalloc_oob()
1274 OPTIMIZER_HIDE_VAR(v_ptr); in vmalloc_oob()
1282 v_ptr[0] = 0; in vmalloc_oob()
1283 v_ptr[size - 1] = 0; in vmalloc_oob()
1290 KUNIT_EXPECT_KASAN_FAIL(test, ((volatile char *)v_ptr)[size]); in vmalloc_oob()
1293 KUNIT_EXPECT_KASAN_FAIL(test, ((volatile char *)v_ptr)[size + 5]); in vmalloc_oob()
1296 page = vmalloc_to_page(v_ptr); in vmalloc_oob()
1302 vfree(v_ptr); in vmalloc_oob()
[all …]
/openbmc/linux/drivers/md/persistent-data/
H A Ddm-space-map-common.c556 __le32 *v_ptr; in __sm_ll_inc_overflow() local
577 v_ptr = value_ptr(n, index); in __sm_ll_inc_overflow()
578 rc = le32_to_cpu(*v_ptr) + 1; in __sm_ll_inc_overflow()
579 *v_ptr = cpu_to_le32(rc); in __sm_ll_inc_overflow()
588 __le32 *v_ptr; in sm_ll_inc_overflow() local
598 v_ptr = value_ptr(n, index); in sm_ll_inc_overflow()
599 rc = le32_to_cpu(*v_ptr) + 1; in sm_ll_inc_overflow()
600 *v_ptr = cpu_to_le32(rc); in sm_ll_inc_overflow()
776 __le32 *v_ptr; in __sm_ll_dec_overflow() local
792 v_ptr = value_ptr(n, index); in __sm_ll_dec_overflow()
[all …]
/openbmc/linux/lib/
H A Dtest_vmalloc.c367 unsigned char *v_ptr; in vm_map_ram_test() local
382 v_ptr = vm_map_ram(pages, map_nr_pages, NUMA_NO_NODE); in vm_map_ram_test()
383 *v_ptr = 'a'; in vm_map_ram_test()
384 vm_unmap_ram(v_ptr, map_nr_pages); in vm_map_ram_test()
/openbmc/qemu/target/i386/tcg/
H A Ddecode-new.h318 TCGv_ptr v_ptr; member
H A Demit.c.inc336 if (op->v_ptr) {
337 return op->v_ptr;
339 op->v_ptr = tcg_temp_new_ptr();
342 tcg_gen_addi_ptr(op->v_ptr, tcg_env, vector_reg_offset(op));
343 return op->v_ptr;