| /linux/mm/ |
| H A D | slab.h | 74 struct slab { struct 77 struct kmem_cache *slab_cache; argument 95 static_assert(offsetof(struct page, pg) == offsetof(struct slab, sl)) argument 155 static inline void *slab_address(const struct slab *slab) in slab_address() 160 static inline int slab_nid(const struct slab *slab) in slab_nid() 165 static inline pg_data_t *slab_pgdat(const struct slab *slab) in slab_pgdat() 175 static inline int slab_order(const struct slab *slab) in slab_order() 180 static inline size_t slab_size(const struct slab *slab) in slab_size() 280 const struct slab *slab, void *x) in nearest_obj() 300 const struct slab *slab, const void *obj) in obj_to_index() [all …]
|
| H A D | slub.c | 604 static inline bool slab_test_pfmemalloc(const struct slab *slab) in slab_test_pfmemalloc() 609 static inline void slab_set_pfmemalloc(struct slab *slab) in slab_set_pfmemalloc() 614 static inline void __slab_clear_pfmemalloc(struct slab *slab) in __slab_clear_pfmemalloc() 622 static __always_inline void slab_lock(struct slab *slab) in slab_lock() 627 static __always_inline void slab_unlock(struct slab *slab) in slab_unlock() 633 __update_freelist_fast(struct slab *slab, struct freelist_counters *old, in __update_freelist_fast() 646 __update_freelist_slow(struct slab *slab, struct freelist_counters *old, in __update_freelist_slow() 671 static inline bool __slab_update_freelist(struct kmem_cache *s, struct slab *slab, in __slab_update_freelist() 697 static inline bool slab_update_freelist(struct kmem_cache *s, struct slab *slab, in slab_update_freelist() 787 static inline unsigned int obj_exts_size_in_slab(struct slab *slab) in obj_exts_size_in_slab() [all …]
|
| H A D | slab_common.c | 576 kmem_obj_info(struct kmem_obj_info * kpp,void * object,struct slab * slab) kmem_obj_info() argument 602 struct slab *slab; kmem_dump_obj() local 1001 const struct slab *slab; __ksize() local 1269 struct slab *slab; bpf_get_kmem_cache() local 1618 struct slab *slab; kfree_rcu_sheaf() local [all...] |
| H A D | usercopy.c | 168 struct slab *slab; in check_heap_object() local
|
| H A D | memcontrol.c | 2618 struct mem_cgroup *mem_cgroup_from_obj_slab(struct slab *slab, void *p) in mem_cgroup_from_obj_slab() 2658 struct slab *slab; in mem_cgroup_from_virt() local 3191 struct slab *slab; in __memcg_slab_post_alloc_hook() local 3265 void __memcg_slab_free_hook(struct kmem_cache *s, struct slab *slab, in __memcg_slab_free_hook() 4082 int slab = atomic_xchg(&pn->slab_reclaimable, 0); in flush_nmi_stats() local 4090 int slab = atomic_xchg(&pn->slab_unreclaimable, 0); in flush_nmi_stats() local
|
| /linux/drivers/md/dm-vdo/ |
| H A D | slab-depot.c | 54 static bool is_slab_open(struct vdo_slab *slab) in is_slab_open() 136 static bool is_slab_journal_blank(const struct vdo_slab *slab) in is_slab_journal_blank() 170 static void check_if_slab_drained(struct vdo_slab *slab) in check_if_slab_drained() 361 static void update_slab_summary_entry(struct vdo_slab *slab, struct vdo_waiter *waiter, in update_slab_summary_entry() 626 struct vdo_slab *slab = journal->slab; in update_tail_block_location() local 661 static void reopen_slab_journal(struct vdo_slab *slab) in reopen_slab_journal() 957 bool vdo_attempt_replay_into_slab(struct vdo_slab *slab, physical_block_number_t pbn, in vdo_attempt_replay_into_slab() 1017 struct vdo_slab *slab = container_of(waiter, struct vdo_slab, summary_waiter); in finish_summary_update() local 1043 struct vdo_slab *slab = context; in launch_reference_block_write() local 1054 static void save_dirty_reference_blocks(struct vdo_slab *slab) in save_dirty_reference_blocks() [all …]
|
| H A D | slab-depot.h | 84 struct vdo_slab *slab; member 167 struct vdo_slab *slab; member 300 struct vdo_slab *slab; member
|
| H A D | vdo.c | 1701 struct vdo_slab *slab; in vdo_get_physical_zone() local
|
| H A D | repair.c | 810 struct vdo_slab *slab; in add_slab_journal_entries() local
|
| H A D | dedupe.c | 1282 struct vdo_slab *slab = vdo_get_slab(depot, agent->duplicate.pbn); in acquire_provisional_reference() local
|
| /linux/scripts/gdb/linux/ |
| H A D | slab.py | 38 def slab_folio(slab): argument 41 def slab_address(slab): argument 155 def __fill_map(obj_map, cache, slab): argument 283 def count_free(slab): argument
|
| /linux/mm/kasan/ |
| H A D | common.c | 155 void __kasan_poison_slab(struct slab *slab) in __kasan_poison_slab() 461 struct slab *slab; in __kasan_krealloc() local 522 struct slab *slab; in __kasan_mempool_poison_object() local 545 struct slab *slab; in __kasan_mempool_unpoison_object() local
|
| H A D | report.c | 492 struct slab *slab; in complete_report_info() local [all...] |
| H A D | generic.c | 541 struct slab *slab = kasan_addr_to_slab(addr); in kasan_record_aux_stack() local
|
| /linux/net/dccp/ |
| H A D | ccid.c | |
| /linux/mm/kfence/ |
| H A D | core.c | 424 struct slab *slab; in kfence_guarded_alloc() local 630 struct slab *slab = page_slab(page); in kfence_init_pool() local 698 struct slab *slab = page_slab(page); in kfence_init_pool() local
|
| /linux/tools/cgroup/ |
| H A D | memcg_slabinfo.py | 79 def count_free(slab): argument
|
| /linux/tools/mm/ |
| H A D | slabinfo.c | 54 struct slabinfo *slab; member 1209 slab_mismatch(char * slab) slab_mismatch() argument 1218 struct slabinfo *slab = slabinfo; read_slab_dir() local 1326 struct slabinfo *slab; output_slabs() local [all...] |
| /linux/include/linux/ |
| H A D | kfence.h | 246 static inline bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info()
|
| H A D | kasan.h | 131 static __always_inline void kasan_poison_slab(struct slab *slab) in kasan_poison_slab() 416 static inline void kasan_poison_slab(struct slab *slab) {} in kasan_poison_slab()
|
| /linux/lib/ |
| H A D | sg_pool.c | 13 struct kmem_cache *slab; member
|
| /linux/block/ |
| H A D | bio.c | 40 struct kmem_cache *slab; member 77 struct kmem_cache *slab; member
|
| /linux/net/core/ |
| H A D | sock.c | 2235 struct kmem_cache *slab; in sk_prot_alloc() local 2269 struct kmem_cache *slab; in sk_prot_free() local
|
| /linux/fs/erofs/ |
| H A D | zdata.c | 123 struct kmem_cache *slab; member
|
| /linux/fs/nfsd/ |
| H A D | nfs4state.c | 909 struct nfs4_stid *nfs4_alloc_stid(struct nfs4_client *cl, struct kmem_cache *slab, in nfs4_alloc_stid() 4959 static inline void *alloc_stateowner(struct kmem_cache *slab, struct xdr_netobj *owner, struct nfs4… in alloc_stateowner()
|