Home
last modified time | relevance | path

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

/mm/
Dslub.c118 static inline int kmem_cache_debug(struct kmem_cache *s) in kmem_cache_debug()
127 void *fixup_red_left(struct kmem_cache *s, void *p) in fixup_red_left()
135 static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s) in kmem_cache_has_cpu_partial()
218 static inline int sysfs_slab_add(struct kmem_cache *s) { return 0; } in sysfs_slab_add()
219 static inline int sysfs_slab_alias(struct kmem_cache *s, const char *p) in sysfs_slab_alias()
221 static inline void memcg_propagate_slab_attrs(struct kmem_cache *s) { } in memcg_propagate_slab_attrs()
224 static inline void stat(const struct kmem_cache *s, enum stat_item si) in stat()
239 static inline void *get_freepointer(struct kmem_cache *s, void *object) in get_freepointer()
244 static void prefetch_freepointer(const struct kmem_cache *s, void *object) in prefetch_freepointer()
249 static inline void *get_freepointer_safe(struct kmem_cache *s, void *object) in get_freepointer_safe()
[all …]
Dslab_common.c64 unsigned int kmem_cache_size(struct kmem_cache *s) in kmem_cache_size()
73 struct kmem_cache *s = NULL; in kmem_cache_sanity_check() local
108 void __kmem_cache_free_bulk(struct kmem_cache *s, size_t nr, void **p) in __kmem_cache_free_bulk()
120 int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t nr, in __kmem_cache_alloc_bulk()
136 void slab_init_memcg_params(struct kmem_cache *s) in slab_init_memcg_params()
143 static int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
170 static void destroy_memcg_params(struct kmem_cache *s) in destroy_memcg_params()
176 static int update_memcg_params(struct kmem_cache *s, int new_array_size) in update_memcg_params()
202 struct kmem_cache *s; in memcg_update_all_caches() local
219 static inline int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
[all …]
Dslab.h191 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache()
196 static inline bool slab_equal_or_root(struct kmem_cache *s, in slab_equal_or_root()
207 static inline const char *cache_name(struct kmem_cache *s) in cache_name()
220 cache_from_memcg_idx(struct kmem_cache *s, int idx) in cache_from_memcg_idx()
239 static inline struct kmem_cache *memcg_root_cache(struct kmem_cache *s) in memcg_root_cache()
248 struct kmem_cache *s) in memcg_charge_slab()
269 struct kmem_cache *s) in memcg_uncharge_slab()
288 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache()
293 static inline bool slab_equal_or_root(struct kmem_cache *s, in slab_equal_or_root()
299 static inline const char *cache_name(struct kmem_cache *s) in cache_name()
[all …]
Dslob.c145 static void set_slob(slob_t *s, slobidx_t size, slob_t *next) in set_slob()
160 static slobidx_t slob_units(slob_t *s) in slob_units()
170 static slob_t *slob_next(slob_t *s) in slob_next()
185 static int slob_last(slob_t *s) in slob_last()
614 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p) in kmem_cache_free_bulk()
620 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk()
Dutil.c44 char *kstrdup(const char *s, gfp_t gfp) in kstrdup()
69 const char *kstrdup_const(const char *s, gfp_t gfp) in kstrdup_const()
86 char *kstrndup(const char *s, size_t max, gfp_t gfp) in kstrndup()
128 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul()
179 char *strndup_user(const char __user *s, long n) in strndup_user()
Dkmemcheck.c59 void kmemcheck_slab_alloc(struct kmem_cache *s, gfp_t gfpflags, void *object, in kmemcheck_slab_alloc()
95 void kmemcheck_slab_free(struct kmem_cache *s, void *object, size_t size) in kmemcheck_slab_free()
Dfailslab.c16 bool should_failslab(struct kmem_cache *s, gfp_t gfpflags) in should_failslab()
Dhugetlb_cgroup.c37 struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s) in hugetlb_cgroup_from_css()
Dslab.c497 static int __init noaliencache_setup(char *s) in noaliencache_setup()
3578 cache_alloc_debugcheck_after_bulk(struct kmem_cache *s, gfp_t flags, in cache_alloc_debugcheck_after_bulk()
3587 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk()
3780 struct kmem_cache *s; in kmem_cache_free_bulk() local
Dzswap.c715 char *s = strstrip((char *)val); in __zswap_param_set() local
Dpage_alloc.c4556 static int __parse_numa_zonelist_order(char *s) in __parse_numa_zonelist_order()
4571 static __init int setup_numa_zonelist_order(char *s) in setup_numa_zonelist_order()
6447 unsigned long free_reserved_area(void *start, void *end, int poison, char *s) in free_reserved_area()
Dhugetlb.c2851 static int __init hugetlb_nrpages_setup(char *s) in hugetlb_nrpages_setup()
2893 static int __init hugetlb_default_setup(char *s) in hugetlb_default_setup()
Dvmalloc.c1092 unsigned long s, e; in vm_unmap_aliases() local
Dmempolicy.c1062 int s,d; in do_migrate_pages() local
Dmemcontrol.c5766 static int __init cgroup_memory(char *s) in cgroup_memory()
6015 static int __init enable_swap_account(char *s) in enable_swap_account()
Dzsmalloc.c600 static int zs_stats_size_show(struct seq_file *s, void *v) in zs_stats_size_show()
Dmemory.c115 static int __init disable_randmaps(char *s) in disable_randmaps()