Searched refs:v_ptr (Results 1 – 3 of 3) sorted by relevance
| /linux/mm/kasan/ |
| H A D | kasan_test_c.c | 1843 static void vmalloc_oob_helper(struct kunit *test, char *v_ptr, size_t size) in vmalloc_oob_helper() argument 1851 v_ptr[0] = 0; in vmalloc_oob_helper() 1852 v_ptr[size - 1] = 0; in vmalloc_oob_helper() 1859 KUNIT_EXPECT_KASAN_FAIL(test, ((volatile char *)v_ptr)[size]); in vmalloc_oob_helper() 1863 KUNIT_EXPECT_KASAN_FAIL_READ(test, ((volatile char *)v_ptr)[size]); in vmalloc_oob_helper() 1868 char *v_ptr, *p_ptr; in vmalloc_oob() local 1877 v_ptr = vmalloc(size); in vmalloc_oob() 1878 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, v_ptr); in vmalloc_oob() 1880 OPTIMIZER_HIDE_VAR(v_ptr); in vmalloc_oob() 1882 vmalloc_oob_helper(test, v_ptr, size); in vmalloc_oob() [all …]
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-space-map-common.c | 556 __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 …]
|
| /linux/lib/ |
| H A D | test_vmalloc.c | 394 unsigned char *v_ptr; in vm_map_ram_test() local 409 v_ptr = vm_map_ram(pages, map_nr_pages, NUMA_NO_NODE); in vm_map_ram_test() 410 *v_ptr = 'a'; in vm_map_ram_test() 411 vm_unmap_ram(v_ptr, map_nr_pages); in vm_map_ram_test()
|