Lines Matching refs:usermem
21 char __user *usermem; in copy_user_test() local
29 usermem = (char __user *)vm_mmap(NULL, 0, PAGE_SIZE, in copy_user_test()
32 if (IS_ERR(usermem)) { in copy_user_test()
41 unused = copy_from_user(kmem, usermem, size + 1); in copy_user_test()
44 unused = copy_to_user(usermem, kmem, size + 1); in copy_user_test()
47 unused = __copy_from_user(kmem, usermem, size + 1); in copy_user_test()
50 unused = __copy_to_user(usermem, kmem, size + 1); in copy_user_test()
53 unused = __copy_from_user_inatomic(kmem, usermem, size + 1); in copy_user_test()
56 unused = __copy_to_user_inatomic(usermem, kmem, size + 1); in copy_user_test()
59 unused = strncpy_from_user(kmem, usermem, size + 1); in copy_user_test()
61 vm_munmap((unsigned long)usermem, PAGE_SIZE); in copy_user_test()