Home
last modified time | relevance | path

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

/mm/
Dslub.c118 static inline int kmem_cache_debug(struct kmem_cache *s) in kmem_cache_debug()
127 static inline 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()
214 static inline int sysfs_slab_add(struct kmem_cache *s) { return 0; } in sysfs_slab_add()
215 static inline int sysfs_slab_alias(struct kmem_cache *s, const char *p) in sysfs_slab_alias()
217 static inline void memcg_propagate_slab_attrs(struct kmem_cache *s) { } in memcg_propagate_slab_attrs()
220 static inline void stat(const struct kmem_cache *s, enum stat_item si) in stat()
235 static inline void *get_freepointer(struct kmem_cache *s, void *object) in get_freepointer()
240 static void prefetch_freepointer(const struct kmem_cache *s, void *object) in prefetch_freepointer()
245 static inline void *get_freepointer_safe(struct kmem_cache *s, void *object) in get_freepointer_safe()
[all …]
Dslab_common.c63 unsigned int kmem_cache_size(struct kmem_cache *s) in kmem_cache_size()
72 struct kmem_cache *s = NULL; in kmem_cache_sanity_check() local
107 void __kmem_cache_free_bulk(struct kmem_cache *s, size_t nr, void **p) in __kmem_cache_free_bulk()
115 int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t nr, in __kmem_cache_alloc_bulk()
131 void slab_init_memcg_params(struct kmem_cache *s) in slab_init_memcg_params()
138 static int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
165 static void destroy_memcg_params(struct kmem_cache *s) in destroy_memcg_params()
171 static int update_memcg_params(struct kmem_cache *s, int new_array_size) in update_memcg_params()
197 struct kmem_cache *s; in memcg_update_all_caches() local
214 static inline int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
[all …]
Dslab.h184 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache()
189 static inline bool slab_equal_or_root(struct kmem_cache *s, in slab_equal_or_root()
200 static inline const char *cache_name(struct kmem_cache *s) in cache_name()
213 cache_from_memcg_idx(struct kmem_cache *s, int idx) in cache_from_memcg_idx()
232 static inline struct kmem_cache *memcg_root_cache(struct kmem_cache *s) in memcg_root_cache()
241 struct kmem_cache *s) in memcg_charge_slab()
258 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache()
263 static inline bool slab_equal_or_root(struct kmem_cache *s, in slab_equal_or_root()
269 static inline const char *cache_name(struct kmem_cache *s) in cache_name()
275 cache_from_memcg_idx(struct kmem_cache *s, int idx) in cache_from_memcg_idx()
[all …]
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()
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()
616 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p) in kmem_cache_free_bulk()
622 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk()
Dkmemcheck.c59 void kmemcheck_slab_alloc(struct kmem_cache *s, gfp_t gfpflags, void *object, in kmemcheck_slab_alloc()
92 void kmemcheck_slab_free(struct kmem_cache *s, void *object, size_t size) in kmemcheck_slab_free()
Dhugetlb_cgroup.c37 struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s) in hugetlb_cgroup_from_css()
Dzswap.c715 char *s = strstrip((char *)val); in __zswap_param_set() local
Dslab.c568 static int __init noaliencache_setup(char *s) in noaliencache_setup()
3438 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p) in kmem_cache_free_bulk()
3444 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk()
Dpage_alloc.c4035 static int __parse_numa_zonelist_order(char *s) in __parse_numa_zonelist_order()
4051 static __init int setup_numa_zonelist_order(char *s) in setup_numa_zonelist_order()
5918 unsigned long free_reserved_area(void *start, void *end, int poison, char *s) in free_reserved_area()
Dhugetlb.c2801 static int __init hugetlb_nrpages_setup(char *s) in hugetlb_nrpages_setup()
2838 static int __init hugetlb_default_setup(char *s) in hugetlb_default_setup()
Dzsmalloc.c498 static int zs_stats_size_show(struct seq_file *s, void *v) in zs_stats_size_show()
Dmempolicy.c1034 int s,d; in do_migrate_pages() local
Dvmalloc.c1062 unsigned long s, e; in vm_unmap_aliases() local
Dmemory.c112 static int __init disable_randmaps(char *s) in disable_randmaps()
Dmemcontrol.c5871 static int __init enable_swap_account(char *s) in enable_swap_account()