Searched refs:want_ctor (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/lib/ |
D | test_meminit.c | 187 static bool __init check_buf(void *buf, int size, bool want_ctor, in check_buf() argument 194 WARN_ON(want_ctor && want_zero); in check_buf() 197 if (want_ctor) { in check_buf() 216 static int __init do_kmem_cache_size(size_t size, bool want_ctor, in do_kmem_cache_size() argument 228 want_ctor ? test_ctor : NULL); in do_kmem_cache_size() 231 if (!want_rcu && !want_ctor) { in do_kmem_cache_size() 240 fail |= check_buf(bulk_array[i], size, want_ctor, want_rcu, want_zero); in do_kmem_cache_size() 247 fail |= check_buf(buf, size, want_ctor, want_rcu, want_zero); in do_kmem_cache_size() 248 fill_with_garbage_skip(buf, size, want_ctor ? CTOR_BYTES : 0); in do_kmem_cache_size() 274 fail |= check_buf(buf, size, want_ctor, want_rcu, in do_kmem_cache_size()
|