Home
last modified time | relevance | path

Searched defs:s (Results 1 – 24 of 24) sorted by relevance

/mm/
Dslub.c187 static inline bool kmem_cache_debug(struct kmem_cache *s) in kmem_cache_debug()
192 void *fixup_red_left(struct kmem_cache *s, void *p) in fixup_red_left()
200 static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s) in kmem_cache_has_cpu_partial()
265 static inline int sysfs_slab_add(struct kmem_cache *s) { return 0; } in sysfs_slab_add()
266 static inline int sysfs_slab_alias(struct kmem_cache *s, const char *p) in sysfs_slab_alias()
273 static inline void debugfs_slab_add(struct kmem_cache *s) { } in debugfs_slab_add()
276 static inline void stat(const struct kmem_cache *s, enum stat_item si) in stat()
309 static inline void *freelist_ptr(const struct kmem_cache *s, void *ptr, in freelist_ptr()
331 static inline void *freelist_dereference(const struct kmem_cache *s, in freelist_dereference()
338 static inline void *get_freepointer(struct kmem_cache *s, void *object) in get_freepointer()
[all …]
Dslab.h223 static inline enum node_stat_item cache_vmstat_idx(struct kmem_cache *s) in cache_vmstat_idx()
246 static inline void print_tracking(struct kmem_cache *s, void *object) in print_tracking()
250 static inline unsigned long get_each_object_track(struct kmem_cache *s, in get_each_object_track()
269 static inline bool kmem_cache_debug_flags(struct kmem_cache *s, slab_flags_t flags) in kmem_cache_debug_flags()
290 static inline size_t obj_full_size(struct kmem_cache *s) in obj_full_size()
302 static inline bool memcg_slab_pre_alloc_hook(struct kmem_cache *s, in memcg_slab_pre_alloc_hook()
327 static inline void memcg_slab_post_alloc_hook(struct kmem_cache *s, in memcg_slab_post_alloc_hook()
365 struct kmem_cache *s; in memcg_slab_free_hook() local
409 struct kmem_cache *s, gfp_t gfp, in memcg_alloc_page_obj_cgroups()
419 static inline bool memcg_slab_pre_alloc_hook(struct kmem_cache *s, in memcg_slab_pre_alloc_hook()
[all …]
Dslab_common.c92 unsigned int kmem_cache_size(struct kmem_cache *s) in kmem_cache_size()
116 void __kmem_cache_free_bulk(struct kmem_cache *s, size_t nr, void **p) in __kmem_cache_free_bulk()
128 int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t nr, in __kmem_cache_alloc_bulk()
175 int slab_unmergeable(struct kmem_cache *s) in slab_unmergeable()
198 struct kmem_cache *s; in find_mergeable() local
248 struct kmem_cache *s; in create_cache() local
317 struct kmem_cache *s = NULL; in kmem_cache_create_usercopy() local
431 struct kmem_cache *s, *s2; in slab_caches_to_rcu_destroy_workfn() local
462 static int shutdown_cache(struct kmem_cache *s) in shutdown_cache()
492 void slab_kmem_cache_release(struct kmem_cache *s) in slab_kmem_cache_release()
[all …]
Dslob.c146 static void set_slob(slob_t *s, slobidx_t size, slob_t *next) in set_slob()
161 static slobidx_t slob_units(slob_t *s) in slob_units()
171 static slob_t *slob_next(slob_t *s) in slob_next()
186 static int slob_last(slob_t *s) in slob_last()
682 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p) in kmem_cache_free_bulk()
688 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk()
Dutil.c55 char *kstrdup(const char *s, gfp_t gfp) in kstrdup()
82 const char *kstrdup_const(const char *s, gfp_t gfp) in kstrdup_const()
101 char *kstrndup(const char *s, size_t max, gfp_t gfp) in kstrndup()
148 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul()
223 char *strndup_user(const char __user *s, long n) in strndup_user()
Dfailslab.c17 bool __should_failslab(struct kmem_cache *s, gfp_t gfpflags) in __should_failslab()
Dslab.c458 static int __init noaliencache_setup(char *s) in noaliencache_setup()
2226 bool __kmem_cache_empty(struct kmem_cache *s) in __kmem_cache_empty()
3518 cache_alloc_debugcheck_after_bulk(struct kmem_cache *s, gfp_t flags, in cache_alloc_debugcheck_after_bulk()
3527 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk()
3750 struct kmem_cache *s; in kmem_cache_free_bulk() local
Dhugetlb_cgroup.c57 struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s) in hugetlb_cgroup_from_css()
Dzswap.c757 char *s = strstrip((char *)val); in __zswap_param_set() local
Dmemcontrol.c1479 struct seq_buf s; in memory_stat_format() local
2844 int memcg_alloc_page_obj_cgroups(struct page *page, struct kmem_cache *s, in memcg_alloc_page_obj_cgroups()
7228 static int __init cgroup_memory(char *s) in cgroup_memory()
7488 static int __init setup_swap_account(char *s) in setup_swap_account()
Dz3fold.c230 static inline struct z3fold_pool *slots_to_pool(struct z3fold_buddy_slots *s) in slots_to_pool()
Dhugetlb.c3744 static int __init hugepages_setup(char *s) in hugepages_setup()
3795 static int __init hugepagesz_setup(char *s) in hugepagesz_setup()
3843 static int __init default_hugepagesz_setup(char *s) in default_hugepagesz_setup()
Dmempolicy.c1131 int s, d; in do_migrate_pages() local
Dzsmalloc.c586 static int zs_stats_size_show(struct seq_file *s, void *v) in zs_stats_size_show()
Dvmscan.c5495 const char *s = " "; in lru_gen_seq_show_full() local
5518 const char *s = " "; in lru_gen_seq_show_full() local
Dvmalloc.c2101 unsigned long s, e; in _vm_unmap_aliases() local
Dpage_alloc.c6439 static int __parse_numa_zonelist_order(char *s) in __parse_numa_zonelist_order()
8463 unsigned long free_reserved_area(void *start, void *end, int poison, const char *s) in free_reserved_area()
Dmemory.c139 static int __init disable_randmaps(char *s) in disable_randmaps()
/mm/damon/
Dcore.c121 void damon_add_scheme(struct damon_ctx *ctx, struct damos *s) in damon_add_scheme()
126 static void damon_del_scheme(struct damos *s) in damon_del_scheme()
131 static void damon_free_scheme(struct damos *s) in damon_free_scheme()
136 void damon_destroy_scheme(struct damos *s) in damon_destroy_scheme()
238 struct damos *s, *next_s; in damon_destroy_ctx() local
326 struct damos *s, *next; in damon_set_schemes() local
544 static bool __damos_valid_target(struct damon_region *r, struct damos *s) in __damos_valid_target()
556 struct damon_region *r, struct damos *s) in damos_valid_target()
570 struct damos *s; in damon_do_apply_schemes() local
679 struct damos *s; in kdamond_apply_schemes() local
[all …]
Dprmtv-common.c89 struct damos *s) in damon_pageout_score()
Dreclaim.c391 struct damos *s; in damon_reclaim_after_aggregation() local
Ddbgfs.c70 unsigned long s, a, r, minr, maxr; in dbgfs_attrs_write() local
102 struct damos *s; in sprint_schemes() local
/mm/kfence/
Dcore.c788 void kfence_shutdown_cache(struct kmem_cache *s) in kfence_shutdown_cache()
847 void *__kfence_alloc(struct kmem_cache *s, size_t size, gfp_t flags) in __kfence_alloc()
Dkfence_test.c281 struct kmem_cache *s = test_cache ?: in test_alloc() local