Lines Matching refs:kmem
476 char *kmem; in copy_user_test() local
481 kmem = kmalloc(size, GFP_KERNEL); in copy_user_test()
482 if (!kmem) in copy_user_test()
490 kfree(kmem); in copy_user_test()
495 unused = copy_from_user(kmem, usermem, size + 1); in copy_user_test()
498 unused = copy_to_user(usermem, kmem, size + 1); in copy_user_test()
501 unused = __copy_from_user(kmem, usermem, size + 1); in copy_user_test()
504 unused = __copy_to_user(usermem, kmem, size + 1); in copy_user_test()
507 unused = __copy_from_user_inatomic(kmem, usermem, size + 1); in copy_user_test()
510 unused = __copy_to_user_inatomic(usermem, kmem, size + 1); in copy_user_test()
513 unused = strncpy_from_user(kmem, usermem, size + 1); in copy_user_test()
516 kfree(kmem); in copy_user_test()