Home
last modified time | relevance | path

Searched refs:want_ctor (Results 1 – 1 of 1) sorted by relevance

/lib/
Dtest_meminit.c166 static bool __init check_buf(void *buf, int size, bool want_ctor, in check_buf() argument
173 WARN_ON(want_ctor && want_zero); in check_buf()
176 if (want_ctor) { in check_buf()
195 static int __init do_kmem_cache_size(size_t size, bool want_ctor, in do_kmem_cache_size() argument
207 want_ctor ? test_ctor : NULL); in do_kmem_cache_size()
210 if (!want_rcu && !want_ctor) { in do_kmem_cache_size()
219 fail |= check_buf(bulk_array[i], size, want_ctor, want_rcu, want_zero); in do_kmem_cache_size()
226 fail |= check_buf(buf, size, want_ctor, want_rcu, want_zero); in do_kmem_cache_size()
227 fill_with_garbage_skip(buf, size, want_ctor ? CTOR_BYTES : 0); in do_kmem_cache_size()
253 fail |= check_buf(buf, size, want_ctor, want_rcu, in do_kmem_cache_size()