Lines Matching refs:PAGE_SIZE
45 kmem = kmalloc(PAGE_SIZE * 2, GFP_KERNEL); in test_user_copy_init()
49 user_addr = vm_mmap(NULL, 0, PAGE_SIZE * 2, in test_user_copy_init()
62 ret |= test(copy_from_user(kmem, usermem, PAGE_SIZE), in test_user_copy_init()
64 ret |= test(copy_to_user(usermem, kmem, PAGE_SIZE), in test_user_copy_init()
72 ret |= test(!copy_from_user(kmem, (char __user *)(kmem + PAGE_SIZE), in test_user_copy_init()
73 PAGE_SIZE), in test_user_copy_init()
76 PAGE_SIZE), in test_user_copy_init()
78 ret |= test(!copy_to_user((char __user *)kmem, kmem + PAGE_SIZE, in test_user_copy_init()
79 PAGE_SIZE), in test_user_copy_init()
82 PAGE_SIZE), in test_user_copy_init()
89 vm_munmap(user_addr, PAGE_SIZE * 2); in test_user_copy_init()