Home
last modified time | relevance | path

Searched defs:slab (Results 1 – 23 of 23) sorted by relevance

/linux/mm/
H A Dslab.h52 struct slab { struct
55 struct kmem_cache *slab_cache; argument
62 struct slab *next; argument
101 static_assert(offsetof(struct page, pg) == offsetof(struct slab, sl)) argument
174 static inline bool slab_test_pfmemalloc(const struct slab *slab) in slab_test_pfmemalloc()
179 static inline void slab_set_pfmemalloc(struct slab *slab) in slab_set_pfmemalloc()
184 static inline void slab_clear_pfmemalloc(struct slab *slab) in slab_clear_pfmemalloc()
189 static inline void __slab_clear_pfmemalloc(struct slab *slab) in __slab_clear_pfmemalloc()
194 static inline void *slab_address(const struct slab *slab) in slab_address()
199 static inline int slab_nid(const struct slab *slab) in slab_nid()
[all …]
H A Dslub.c390 struct slab *slab; /* The slab from which we are allocating */ global() member
639 slab_lock(struct slab * slab) slab_lock() argument
644 slab_unlock(struct slab * slab) slab_unlock() argument
650 __update_freelist_fast(struct slab * slab,void * freelist_old,unsigned long counters_old,void * freelist_new,unsigned long counters_new) __update_freelist_fast() argument
665 __update_freelist_slow(struct slab * slab,void * freelist_old,unsigned long counters_old,void * freelist_new,unsigned long counters_new) __update_freelist_slow() argument
690 __slab_update_freelist(struct kmem_cache * s,struct slab * slab,void * freelist_old,unsigned long counters_old,void * freelist_new,unsigned long counters_new,const char * n) __slab_update_freelist() argument
720 slab_update_freelist(struct kmem_cache * s,struct slab * slab,void * freelist_old,unsigned long counters_old,void * freelist_new,unsigned long counters_new,const char * n) slab_update_freelist() argument
792 __fill_map(unsigned long * obj_map,struct kmem_cache * s,struct slab * slab) __fill_map() argument
890 check_valid_pointer(struct kmem_cache * s,struct slab * slab,void * object) check_valid_pointer() argument
1008 print_slab_info(const struct slab * slab) print_slab_info() argument
1050 print_trailer(struct kmem_cache * s,struct slab * slab,u8 * p) print_trailer() argument
1092 object_err(struct kmem_cache * s,struct slab * slab,u8 * object,char * reason) object_err() argument
1103 freelist_corrupted(struct kmem_cache * s,struct slab * slab,void ** freelist,void * nextfree) freelist_corrupted() argument
1117 slab_err(struct kmem_cache * s,struct slab * slab,const char * fmt,...) slab_err() argument
1183 check_bytes_and_report(struct kmem_cache * s,struct slab * slab,u8 * object,char * what,u8 * start,unsigned int value,unsigned int bytes) check_bytes_and_report() argument
1253 check_pad_bytes(struct kmem_cache * s,struct slab * slab,u8 * p) check_pad_bytes() argument
1276 slab_pad_check(struct kmem_cache * s,struct slab * slab) slab_pad_check() argument
1311 check_object(struct kmem_cache * s,struct slab * slab,void * object,u8 val) check_object() argument
1396 check_slab(struct kmem_cache * s,struct slab * slab) check_slab() argument
1430 on_freelist(struct kmem_cache * s,struct slab * slab,void * search) on_freelist() argument
1479 trace(struct kmem_cache * s,struct slab * slab,void * object,int alloc) trace() argument
1501 add_full(struct kmem_cache * s,struct kmem_cache_node * n,struct slab * slab) add_full() argument
1510 remove_full(struct kmem_cache * s,struct kmem_cache_node * n,struct slab * slab) remove_full() argument
1550 setup_slab_debug(struct kmem_cache * s,struct slab * slab,void * addr) setup_slab_debug() argument
1561 alloc_consistency_checks(struct kmem_cache * s,struct slab * slab,void * object) alloc_consistency_checks() argument
1578 alloc_debug_processing(struct kmem_cache * s,struct slab * slab,void * object,int orig_size) alloc_debug_processing() argument
1607 free_consistency_checks(struct kmem_cache * s,struct slab * slab,void * object,unsigned long addr) free_consistency_checks() argument
1853 setup_slab_debug(struct kmem_cache * s,struct slab * slab,void * addr) setup_slab_debug() argument
1856 alloc_debug_processing(struct kmem_cache * s,struct slab * slab,void * object,int orig_size) alloc_debug_processing() argument
1859 free_debug_processing(struct kmem_cache * s,struct slab * slab,void * head,void * tail,int * bulk_cnt,unsigned long addr,depot_stack_handle_t handle) free_debug_processing() argument
1862 slab_pad_check(struct kmem_cache * s,struct slab * slab) slab_pad_check() argument
1863 check_object(struct kmem_cache * s,struct slab * slab,void * object,u8 val) check_object() argument
1869 add_full(struct kmem_cache * s,struct kmem_cache_node * n,struct slab * slab) add_full() argument
1871 remove_full(struct kmem_cache * s,struct kmem_cache_node * n,struct slab * slab) remove_full() argument
1887 freelist_corrupted(struct kmem_cache * s,struct slab * slab,void ** freelist,void * nextfree) freelist_corrupted() argument
1915 mark_failed_objexts_alloc(struct slab * slab) mark_failed_objexts_alloc() argument
1939 mark_failed_objexts_alloc(struct slab * slab) mark_failed_objexts_alloc() argument
1953 alloc_slab_obj_exts(struct slab * slab,struct kmem_cache * s,gfp_t gfp,bool new_slab) alloc_slab_obj_exts() argument
2003 free_slab_obj_exts(struct slab * slab) free_slab_obj_exts() argument
2037 alloc_slab_obj_exts(struct slab * slab,struct kmem_cache * s,gfp_t gfp,bool new_slab) alloc_slab_obj_exts() argument
2043 free_slab_obj_exts(struct slab * slab) free_slab_obj_exts() argument
2059 struct slab *slab; prepare_slab_obj_exts_hook() local
2098 alloc_tagging_slab_free_hook(struct kmem_cache * s,struct slab * slab,void ** p,int objects) alloc_tagging_slab_free_hook() argument
2130 alloc_tagging_slab_free_hook(struct kmem_cache * s,struct slab * slab,void ** p,int objects) alloc_tagging_slab_free_hook() argument
2166 memcg_slab_free_hook(struct kmem_cache * s,struct slab * slab,void ** p,int objects) memcg_slab_free_hook() argument
2187 struct slab *slab; memcg_slab_post_charge() local
2228 memcg_slab_free_hook(struct kmem_cache * s,struct slab * slab,void ** p,int objects) memcg_slab_free_hook() argument
2404 struct slab *slab; alloc_slab_page() local
2489 shuffle_freelist(struct kmem_cache * s,struct slab * slab) shuffle_freelist() argument
2527 shuffle_freelist(struct kmem_cache * s,struct slab * slab) shuffle_freelist() argument
2533 account_slab(struct slab * slab,int order,struct kmem_cache * s,gfp_t gfp) account_slab() argument
2543 unaccount_slab(struct slab * slab,int order,struct kmem_cache * s) unaccount_slab() argument
2555 struct slab *slab; allocate_slab() local
2631 __free_slab(struct kmem_cache * s,struct slab * slab) __free_slab() argument
2649 struct slab *slab = container_of(h, struct slab, rcu_head); rcu_free_slab() local
2654 free_slab(struct kmem_cache * s,struct slab * slab) free_slab() argument
2670 discard_slab(struct kmem_cache * s,struct slab * slab) discard_slab() argument
2680 slab_test_node_partial(const struct slab * slab) slab_test_node_partial() argument
2685 slab_set_node_partial(struct slab * slab) slab_set_node_partial() argument
2690 slab_clear_node_partial(struct slab * slab) slab_clear_node_partial() argument
2699 __add_partial(struct kmem_cache_node * n,struct slab * slab,int tail) __add_partial() argument
2710 add_partial(struct kmem_cache_node * n,struct slab * slab,int tail) add_partial() argument
2717 remove_partial(struct kmem_cache_node * n,struct slab * slab) remove_partial() argument
2732 alloc_single_from_partial(struct kmem_cache * s,struct kmem_cache_node * n,struct slab * slab,int orig_size) alloc_single_from_partial() argument
2762 alloc_single_from_new_slab(struct kmem_cache * s,struct slab * slab,int orig_size) alloc_single_from_new_slab() argument
2798 put_cpu_partial(struct kmem_cache * s,struct slab * slab,int drain) put_cpu_partial() argument
2810 struct slab *slab, *slab2, *partial = NULL; get_partial_node() local
2872 struct slab *slab; get_any_partial() local
2931 struct slab *slab; get_partial() local
3025 deactivate_slab(struct kmem_cache * s,struct slab * slab,void * freelist) deactivate_slab() argument
3109 struct slab *slab, *slab_to_discard = NULL; __put_partials() local
3182 put_cpu_partial(struct kmem_cache * s,struct slab * slab,int drain) put_cpu_partial() argument
3233 struct slab *slab; flush_slab() local
3257 struct slab *slab = c->slab; __flush_cpu_slab() local
3372 node_match(struct slab * slab,int node) node_match() argument
3382 count_free(struct slab * slab) count_free() argument
3394 free_debug_processing(struct kmem_cache * s,struct slab * slab,void * head,void * tail,int * bulk_cnt,unsigned long addr,depot_stack_handle_t handle) free_debug_processing() argument
3453 count_partial(struct kmem_cache_node * n,int (* get_count)(struct slab *)) count_partial() argument
3457 struct slab *slab; count_partial() local
3474 struct slab *slab; count_partial_free_approx() local
3545 pfmemalloc_match(struct slab * slab,gfp_t gfpflags) pfmemalloc_match() argument
3574 get_freelist(struct kmem_cache * s,struct slab * slab) get_freelist() argument
3602 freeze_slab(struct kmem_cache * s,struct slab * slab) freeze_slab() argument
3649 struct slab *slab; ___slab_alloc() local
3916 struct slab *slab; __slab_alloc_node() local
4013 struct slab *slab; __slab_alloc_node() local
4332 free_to_partial_list(struct kmem_cache * s,struct slab * slab,void * head,void * tail,int bulk_cnt,unsigned long addr) free_to_partial_list() argument
4400 __slab_free(struct kmem_cache * s,struct slab * slab,void * head,void * tail,int cnt,unsigned long addr) __slab_free() argument
4529 do_slab_free(struct kmem_cache * s,struct slab * slab,void * head,void * tail,int cnt,unsigned long addr) do_slab_free() argument
4584 do_slab_free(struct kmem_cache * s,struct slab * slab,void * head,void * tail,int cnt,unsigned long addr) do_slab_free() argument
4592 slab_free(struct kmem_cache * s,struct slab * slab,void * object,unsigned long addr) slab_free() argument
4613 slab_free_bulk(struct kmem_cache * s,struct slab * slab,void * head,void * tail,void ** p,int cnt,unsigned long addr) slab_free_bulk() argument
4632 struct slab *slab = virt_to_slab(object); slab_free_after_rcu_debug() local
4662 struct slab *slab; virt_to_cache() local
4729 struct slab *slab; kfree() local
4871 struct slab *slab; global() member
5309 struct slab *slab; early_kmem_cache_node_alloc() local
5562 list_slab_objects(struct kmem_cache * s,struct slab * slab,const char * text) list_slab_objects() argument
5595 struct slab *slab, *h; free_partial() local
5644 __kmem_obj_info(struct kmem_obj_info * kpp,void * object,struct slab * slab) __kmem_obj_info() argument
5771 __check_heap_object(const void * ptr,unsigned long n,const struct slab * slab,bool to_user) __check_heap_object() argument
5827 struct slab *slab; __kmem_cache_do_shrink() local
6225 count_inuse(struct slab * slab) count_inuse() argument
6230 count_total(struct slab * slab) count_total() argument
6237 validate_slab(struct kmem_cache * s,struct slab * slab,unsigned long * obj_map) validate_slab() argument
6261 struct slab *slab; validate_slab_node() local
6464 process_slab(struct loc_track * t,struct kmem_cache * s,struct slab * slab,enum track_item alloc,unsigned long * obj_map) process_slab() argument
6517 struct slab *slab; show_slab_objects() local
6743 struct slab *slab; slabs_cpu_partial_show() local
6758 struct slab *slab; slabs_cpu_partial_show() local
7514 struct slab *slab; slab_debug_trace_open() local
[all...]
H A Dslab_common.c575 static void kmem_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in kmem_obj_info()
601 struct slab *slab; in kmem_dump_obj() local
1267 struct slab *slab; in bpf_get_kmem_cache() local
H A Dmemcontrol.c2419 struct slab *slab; mem_cgroup_from_obj_folio() local
2943 struct slab *slab; __memcg_slab_post_alloc_hook() local
2993 slab_obj_exts(slab)[off].objcg = objcg; __memcg_slab_post_alloc_hook() local
3001 __memcg_slab_free_hook(struct kmem_cache * s,struct slab * slab,void ** p,int objects,struct slabobj_ext * obj_exts) __memcg_slab_free_hook() argument
[all...]
/linux/scripts/gdb/linux/
H A Dslab.py38 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 Dcommon.c145 void __kasan_poison_slab(struct slab *slab) in __kasan_poison_slab()
440 struct slab *slab; in __kasan_krealloc() local
501 struct slab *slab; in __kasan_mempool_poison_object() local
528 struct slab *slab; in __kasan_mempool_unpoison_object() local
H A Dreport.c499 struct slab *slab; in complete_report_info() local
H A Dgeneric.c529 struct slab *slab = kasan_addr_to_slab(addr); in __kasan_record_aux_stack() local
/linux/net/dccp/
H A Dccid.c81 struct kmem_cache *slab; in ccid_kmem_cache_create() local
93 static void ccid_kmem_cache_destroy(struct kmem_cache *slab) in ccid_kmem_cache_destroy()
/linux/mm/kfence/
H A Dcore.c419 struct slab *slab; in kfence_guarded_alloc() local
615 struct slab *slab = page_slab(nth_page(pages, i)); in kfence_init_pool() local
667 struct slab *slab = page_slab(nth_page(pages, i)); in kfence_init_pool() local
H A Dreport.c298 bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info()
H A Dkfence_test.c286 struct slab *slab = virt_to_slab(alloc); in test_alloc() local
/linux/tools/cgroup/
H A Dmemcg_slabinfo.py79 def count_free(slab): argument
[all...]
/linux/include/linux/
H A Dkfence.h245 static inline bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info()
/linux/lib/
H A Dsg_pool.c13 struct kmem_cache *slab; member
/linux/tools/mm/
H A Dslabinfo.c54 struct slabinfo *slab; member
1206 slab_mismatch(char * slab) slab_mismatch() argument
1215 struct slabinfo *slab = slabinfo; read_slab_dir() local
1323 struct slabinfo *slab; output_slabs() local
[all...]
/linux/drivers/md/dm-vdo/
H A Dslab-depot.h77 struct vdo_slab *slab; member
160 struct vdo_slab *slab; member
293 struct vdo_slab *slab; member
H A Drepair.c810 struct vdo_slab *slab; in add_slab_journal_entries() local
/linux/include/net/
H A Drequest_sock.h31 struct kmem_cache *slab; member
H A Dsock.h1317 struct kmem_cache *slab; member
/linux/net/core/
H A Dsock.c2155 struct kmem_cache *slab; in sk_prot_alloc() local
2189 struct kmem_cache *slab; in sk_prot_free() local
/linux/fs/erofs/
H A Dzdata.c134 struct kmem_cache *slab; member
/linux/fs/nfsd/
H A Dnfs4state.c921 struct nfs4_stid *nfs4_alloc_stid(struct nfs4_client *cl, struct kmem_cache *slab, in nfs4_alloc_stid()
4772 static inline void *alloc_stateowner(struct kmem_cache *slab, struct xdr_netobj *owner, struct nfs4… in alloc_stateowner()