Searched refs:good_buf (Results 1 – 1 of 1) sorted by relevance
176 unsigned char *good_buf = NULL; in do_usercopy_heap_flag() local189 good_buf = kmalloc(cache_size, GFP_KERNEL); in do_usercopy_heap_flag()191 if (!good_buf || !bad_buf) { in do_usercopy_heap_flag()205 memset(good_buf, 'A', cache_size); in do_usercopy_heap_flag()210 if (copy_to_user((void __user *)user_addr, good_buf, in do_usercopy_heap_flag()224 if (copy_from_user(good_buf, (void __user *)user_addr, in do_usercopy_heap_flag()243 kfree(good_buf); in do_usercopy_heap_flag()