Home
last modified time | relevance | path

Searched refs:usermem (Results 1 – 7 of 7) sorted by relevance

/linux/mm/kasan/
H A Dkasan_test_module.c
H A Dkasan_test_c.c2001 char __user *usermem; in copy_user_test_oob() local
2018 usermem = (char __user *)useraddr; in copy_user_test_oob()
2021 unused = copy_from_user(kmem, usermem, size + 1)); in copy_user_test_oob()
2023 unused = copy_to_user(usermem, kmem, size + 1)); in copy_user_test_oob()
2025 unused = __copy_from_user(kmem, usermem, size + 1)); in copy_user_test_oob()
2027 unused = __copy_to_user(usermem, kmem, size + 1)); in copy_user_test_oob()
2029 unused = __copy_from_user_inatomic(kmem, usermem, size + 1)); in copy_user_test_oob()
2031 unused = __copy_to_user_inatomic(usermem, kmem, size + 1)); in copy_user_test_oob()
2038 KUNIT_EXPECT_EQ(test, copy_to_user(usermem, kmem, size), 0); in copy_user_test_oob()
2041 unused = strncpy_from_user(kmem, usermem, size + 1)); in copy_user_test_oob()
/linux/lib/
H A Dusercopy_kunit.c179 char __user *usermem = priv->umem; in usercopy_test_valid() local
183 KUNIT_EXPECT_EQ_MSG(test, 0, copy_to_user(usermem, kmem, PAGE_SIZE), in usercopy_test_valid()
186 KUNIT_EXPECT_EQ_MSG(test, 0, copy_from_user(kmem, usermem, PAGE_SIZE), in usercopy_test_valid()
195 put_user(val_##size, (size __user *)usermem), \ in usercopy_test_valid()
199 get_user(val_##size, (size __user *)usermem), \ in usercopy_test_valid()
220 char __user *usermem = priv->umem; in usercopy_test_invalid() local
221 char *bad_usermem = (char *)usermem; in usercopy_test_invalid()
/linux/arch/mips/kernel/
H A Dsetup.c342 static int usermem __initdata;
358 if (usermem == 0) { in early_parse_mem()
359 usermem = 1; in early_parse_mem()
411 usermem = 1; in early_parse_memmap()
641 if (usermem) in arch_mem_init()
/linux/arch/loongarch/kernel/
H A Dsetup.c183 static int usermem __initdata;
199 if (usermem == 0) { in early_parse_mem()
200 usermem = 1; in early_parse_mem()
390 if (usermem) in arch_mem_init()
/linux/arch/arm/kernel/
H A Dsetup.c828 static int usermem __initdata = 0; in early_mem()
838 if (usermem == 0) { in early_mem()
839 usermem = 1; in early_mem()
/linux/Documentation/networking/
H A Drds.rst283 loopback, stats, usermem pinning, and the connection state machine.