/openbmc/linux/mm/ |
H A D | slab.h | 326 SLAB_TYPESAFE_BY_RCU | SLAB_DEBUG_OBJECTS ) 698 if (s->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_STORE_USER)) in slab_ksize() 854 if (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) in slab_want_init_on_alloc() 866 (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON))); in slab_want_init_on_free()
|
H A D | slab_common.c | 51 SLAB_TRACE | SLAB_TYPESAFE_BY_RCU | SLAB_NOLEAKTRACE | \ 462 if (s->flags & SLAB_TYPESAFE_BY_RCU) { in shutdown_cache() 491 rcu_set = s->flags & SLAB_TYPESAFE_BY_RCU; in kmem_cache_destroy()
|
H A D | slab.c | 1605 if (unlikely(cachep->flags & SLAB_TYPESAFE_BY_RCU)) in slab_destroy() 1820 if (cachep->ctor || flags & SLAB_TYPESAFE_BY_RCU) in set_objfreelist_slab_cache() 1923 if (!(flags & SLAB_TYPESAFE_BY_RCU)) in __kmem_cache_create() 3374 if (!(cachep->flags & SLAB_TYPESAFE_BY_RCU)) in __cache_free()
|
H A D | slub.c | 1784 if (!(s->flags & SLAB_TYPESAFE_BY_RCU)) in slab_free_hook() 2113 if (unlikely(s->flags & SLAB_TYPESAFE_BY_RCU)) in free_slab() 4398 if ((flags & SLAB_POISON) && !(flags & SLAB_TYPESAFE_BY_RCU) && in calculate_sizes() 4421 (flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) || in calculate_sizes() 5721 return sysfs_emit(buf, "%d\n", !!(s->flags & SLAB_TYPESAFE_BY_RCU)); in destroy_by_rcu_show()
|
H A D | rmap.c | 464 0, SLAB_TYPESAFE_BY_RCU|SLAB_PANIC|SLAB_ACCOUNT, in anon_vma_init()
|
/openbmc/linux/Documentation/RCU/ |
H A D | rculist_nulls.rst | 9 objects using SLAB_TYPESAFE_BY_RCU allocations. 20 allocated with SLAB_TYPESAFE_BY_RCU kmem_cache can use the following 124 But thanks to SLAB_TYPESAFE_BY_RCU, beware a deleted object can be reused
|
H A D | whatisRCU.rst | 942 slab cache marked ``SLAB_TYPESAFE_BY_RCU``. RCU operations may yield a 951 unfortunately any spinlock in a ``SLAB_TYPESAFE_BY_RCU`` object must be 954 using ``SLAB_TYPESAFE_BY_RCU``, make proper use of a reference counter. 1165 If so, consider SLAB_TYPESAFE_BY_RCU (which was originally
|
/openbmc/linux/mm/kasan/ |
H A D | common.c | 171 if (!cache->ctor && !(cache->flags & SLAB_TYPESAFE_BY_RCU)) in assign_tag() 221 if (unlikely(cache->flags & SLAB_TYPESAFE_BY_RCU)) in ____kasan_slab_free()
|
H A D | generic.c | 407 if ((cache->flags & SLAB_TYPESAFE_BY_RCU) || cache->ctor || in kasan_cache_create()
|
H A D | kasan_test.c | 956 cache = kmem_cache_create("test_cache", size, 0, SLAB_TYPESAFE_BY_RCU, in kmem_cache_invalid_free()
|
/openbmc/linux/mm/kmsan/ |
H A D | hooks.c | 60 if (s->ctor || (s->flags & SLAB_TYPESAFE_BY_RCU)) in kmsan_slab_alloc() 79 if (unlikely(s->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON))) in kmsan_slab_free()
|
/openbmc/linux/lib/ |
H A D | test_meminit.c | 227 want_rcu ? SLAB_TYPESAFE_BY_RCU : 0, in do_kmem_cache_size() 300 c = kmem_cache_create("test_cache", size, size, SLAB_TYPESAFE_BY_RCU, in do_kmem_cache_rcu_persistent()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_scheduler.c | 498 SLAB_TYPESAFE_BY_RCU); in i915_scheduler_module_init()
|
H A D | i915_request.c | 2295 SLAB_TYPESAFE_BY_RCU, in i915_request_module_init() 2303 SLAB_TYPESAFE_BY_RCU); in i915_request_module_init()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | st-dma-fence.c | 587 SLAB_TYPESAFE_BY_RCU | in dma_fence()
|
H A D | st-dma-fence-chain.c | 697 SLAB_TYPESAFE_BY_RCU | in dma_fence_chain()
|
/openbmc/linux/include/linux/ |
H A D | slab.h | 98 #define SLAB_TYPESAFE_BY_RCU ((slab_flags_t __force)0x00080000U) macro
|
/openbmc/linux/mm/kfence/ |
H A D | kfence_test.c | 665 setup_test_cache(test, size, SLAB_TYPESAFE_BY_RCU, NULL); in test_memcache_typesafe_by_rcu()
|
H A D | core.c | 1157 if (unlikely(meta->cache && (meta->cache->flags & SLAB_TYPESAFE_BY_RCU))) in __kfence_free()
|
/openbmc/linux/kernel/rcu/ |
H A D | refscale.c | 719 SLAB_TYPESAFE_BY_RCU, refscale_typesafe_ctor); in typesafe_init()
|
/openbmc/linux/net/dccp/ |
H A D | ipv4.c | 981 .slab_flags = SLAB_TYPESAFE_BY_RCU,
|
H A D | ipv6.c | 1063 .slab_flags = SLAB_TYPESAFE_BY_RCU,
|
/openbmc/linux/net/llc/ |
H A D | af_llc.c | 157 .slab_flags = SLAB_TYPESAFE_BY_RCU,
|
/openbmc/linux/block/ |
H A D | bio.c | 96 SLAB_HWCACHE_ALIGN | SLAB_TYPESAFE_BY_RCU, NULL); in create_bio_slab()
|
/openbmc/linux/net/smc/ |
H A D | af_smc.c | 230 .slab_flags = SLAB_TYPESAFE_BY_RCU, 243 .slab_flags = SLAB_TYPESAFE_BY_RCU,
|