Searched refs:usermem (Results 1 – 7 of 7) sorted by relevance
/linux/mm/kasan/ |
H A D | kasan_test_module.c |
|
H A D | kasan_test_c.c | 2001 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 D | usercopy_kunit.c | 179 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 D | setup.c | 342 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 D | setup.c | 183 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 D | setup.c | 828 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 D | rds.rst | 283 loopback, stats, usermem pinning, and the connection state machine.
|