Searched refs:buf_copy (Results 1 – 1 of 1) sorted by relevance
200 void *buf, *buf_copy; in do_kmem_cache_size() local225 buf_copy = kmalloc(size, GFP_ATOMIC); in do_kmem_cache_size()226 if (buf_copy) in do_kmem_cache_size()227 memcpy(buf_copy, buf, size); in do_kmem_cache_size()237 if (buf_copy) { in do_kmem_cache_size()238 fail |= (bool)memcmp(buf, buf_copy, size); in do_kmem_cache_size()239 kfree(buf_copy); in do_kmem_cache_size()