Home
last modified time | relevance | path

Searched refs:SLAB_TYPESAFE_BY_RCU (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/linux/Documentation/RCU/
H A Drculist_nulls.rst9 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 DwhatisRCU.rst942 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/
H A Dslab.h321 SLAB_TYPESAFE_BY_RCU | SLAB_DEBUG_OBJECTS )
693 if (s->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_STORE_USER)) in slab_ksize()
849 if (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) in slab_want_init_on_alloc()
861 (c->flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON))); in slab_want_init_on_free()
H A Dslab_common.c51 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 Dslab.c1605 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 Dslub.c1778 if (!(s->flags & SLAB_TYPESAFE_BY_RCU)) in slab_free_hook()
2107 if (unlikely(s->flags & SLAB_TYPESAFE_BY_RCU)) in free_slab()
4391 if ((flags & SLAB_POISON) && !(flags & SLAB_TYPESAFE_BY_RCU) && in calculate_sizes()
4414 (flags & (SLAB_TYPESAFE_BY_RCU | SLAB_POISON)) || in calculate_sizes()
5714 return sysfs_emit(buf, "%d\n", !!(s->flags & SLAB_TYPESAFE_BY_RCU)); in destroy_by_rcu_show()
H A Drmap.c464 0, SLAB_TYPESAFE_BY_RCU|SLAB_PANIC|SLAB_ACCOUNT, in anon_vma_init()
/openbmc/linux/mm/kmsan/
H A Dhooks.c60 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/mm/kasan/
H A Dcommon.c171 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 Dgeneric.c407 if ((cache->flags & SLAB_TYPESAFE_BY_RCU) || cache->ctor || in kasan_cache_create()
H A Dkasan_test.c956 cache = kmem_cache_create("test_cache", size, 0, SLAB_TYPESAFE_BY_RCU, in kmem_cache_invalid_free()
/openbmc/linux/lib/
H A Dtest_meminit.c227 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 Di915_scheduler.c498 SLAB_TYPESAFE_BY_RCU); in i915_scheduler_module_init()
H A Di915_request.c2295 SLAB_TYPESAFE_BY_RCU, in i915_request_module_init()
2303 SLAB_TYPESAFE_BY_RCU); in i915_request_module_init()
/openbmc/linux/include/linux/
H A Dslab.h98 #define SLAB_TYPESAFE_BY_RCU ((slab_flags_t __force)0x00080000U) macro
/openbmc/linux/drivers/dma-buf/
H A Dst-dma-fence.c587 SLAB_TYPESAFE_BY_RCU | in dma_fence()
H A Dst-dma-fence-chain.c697 SLAB_TYPESAFE_BY_RCU | in dma_fence_chain()
/openbmc/linux/mm/kfence/
H A Dkfence_test.c665 setup_test_cache(test, size, SLAB_TYPESAFE_BY_RCU, NULL); in test_memcache_typesafe_by_rcu()
H A Dcore.c1155 if (unlikely(meta->cache && (meta->cache->flags & SLAB_TYPESAFE_BY_RCU))) in __kfence_free()
/openbmc/linux/kernel/rcu/
H A Drefscale.c719 SLAB_TYPESAFE_BY_RCU, refscale_typesafe_ctor); in typesafe_init()
/openbmc/linux/net/dccp/
H A Dipv4.c978 .slab_flags = SLAB_TYPESAFE_BY_RCU,
H A Dipv6.c1060 .slab_flags = SLAB_TYPESAFE_BY_RCU,
/openbmc/linux/net/llc/
H A Daf_llc.c157 .slab_flags = SLAB_TYPESAFE_BY_RCU,
/openbmc/linux/block/
H A Dbio.c96 SLAB_HWCACHE_ALIGN | SLAB_TYPESAFE_BY_RCU, NULL); in create_bio_slab()
/openbmc/linux/net/smc/
H A Daf_smc.c230 .slab_flags = SLAB_TYPESAFE_BY_RCU,
243 .slab_flags = SLAB_TYPESAFE_BY_RCU,

12