Searched refs:buf_copy (Results 1 – 1 of 1) sorted by relevance
203 void *buf, *buf_copy; in do_kmem_cache_size() local243 buf_copy = kmalloc(size, GFP_ATOMIC); in do_kmem_cache_size()244 if (buf_copy) in do_kmem_cache_size()245 memcpy(buf_copy, buf, size); in do_kmem_cache_size()255 if (buf_copy) { in do_kmem_cache_size()256 fail |= (bool)memcmp(buf, buf_copy, size); in do_kmem_cache_size()257 kfree(buf_copy); in do_kmem_cache_size()