Home
last modified time | relevance | path

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

/mm/
Dslub.c119 static inline int kmem_cache_debug(struct kmem_cache *s) in kmem_cache_debug()
128 void *fixup_red_left(struct kmem_cache *s, void *p) in fixup_red_left()
136 static inline bool kmem_cache_has_cpu_partial(struct kmem_cache *s) in kmem_cache_has_cpu_partial()
222 static inline int sysfs_slab_add(struct kmem_cache *s) { return 0; } in sysfs_slab_add()
223 static inline int sysfs_slab_alias(struct kmem_cache *s, const char *p) in sysfs_slab_alias()
225 static inline void memcg_propagate_slab_attrs(struct kmem_cache *s) { } in memcg_propagate_slab_attrs()
226 static inline void sysfs_slab_remove(struct kmem_cache *s) { } in sysfs_slab_remove()
229 static inline void stat(const struct kmem_cache *s, enum stat_item si) in stat()
249 static inline void *freelist_ptr(const struct kmem_cache *s, void *ptr, in freelist_ptr()
271 static inline void *freelist_dereference(const struct kmem_cache *s, in freelist_dereference()
[all …]
Dslab_common.c79 unsigned int kmem_cache_size(struct kmem_cache *s) in kmem_cache_size()
104 void __kmem_cache_free_bulk(struct kmem_cache *s, size_t nr, void **p) in __kmem_cache_free_bulk()
116 int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t nr, in __kmem_cache_alloc_bulk()
138 void slab_init_memcg_params(struct kmem_cache *s) in slab_init_memcg_params()
146 static int init_memcg_params(struct kmem_cache *s, in init_memcg_params()
179 static void destroy_memcg_params(struct kmem_cache *s) in destroy_memcg_params()
198 static int update_memcg_params(struct kmem_cache *s, int new_array_size) in update_memcg_params()
221 struct kmem_cache *s; in memcg_update_all_caches() local
238 void memcg_link_cache(struct kmem_cache *s, struct mem_cgroup *memcg) in memcg_link_cache()
252 static void memcg_unlink_cache(struct kmem_cache *s) in memcg_unlink_cache()
[all …]
Dslab.h272 static inline int cache_vmstat_idx(struct kmem_cache *s) in cache_vmstat_idx()
292 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache()
297 static inline bool slab_equal_or_root(struct kmem_cache *s, in slab_equal_or_root()
308 static inline const char *cache_name(struct kmem_cache *s) in cache_name()
315 static inline struct kmem_cache *memcg_root_cache(struct kmem_cache *s) in memcg_root_cache()
334 struct kmem_cache *s; in memcg_from_slab_page() local
349 struct kmem_cache *s) in memcg_charge_slab()
388 struct kmem_cache *s) in memcg_uncharge_slab()
420 static inline bool is_root_cache(struct kmem_cache *s) in is_root_cache()
425 static inline bool slab_equal_or_root(struct kmem_cache *s, in slab_equal_or_root()
[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()
674 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p) in kmem_cache_free_bulk()
680 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk()
Dutil.c51 char *kstrdup(const char *s, gfp_t gfp) in kstrdup()
77 const char *kstrdup_const(const char *s, gfp_t gfp) in kstrdup_const()
96 char *kstrndup(const char *s, size_t max, gfp_t gfp) in kstrndup()
143 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul()
218 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.c457 static int __init noaliencache_setup(char *s) in noaliencache_setup()
2215 bool __kmem_cache_empty(struct kmem_cache *s) in __kmem_cache_empty()
2251 void __kmemcg_cache_deactivate_after_rcu(struct kmem_cache *s) in __kmemcg_cache_deactivate_after_rcu()
3493 cache_alloc_debugcheck_after_bulk(struct kmem_cache *s, gfp_t flags, in cache_alloc_debugcheck_after_bulk()
3502 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk()
3702 struct kmem_cache *s; in kmem_cache_free_bulk() local
Dhugetlb_cgroup.c37 struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s) in hugetlb_cgroup_from_css()
Dzswap.c670 char *s = strstrip((char *)val); in __zswap_param_set() local
Dz3fold.c212 static inline struct z3fold_pool *slots_to_pool(struct z3fold_buddy_slots *s) in slots_to_pool()
Dmemcontrol.c1382 struct seq_buf s; in memory_stat_format() local
6897 static int __init cgroup_memory(char *s) in cgroup_memory()
7165 static int __init enable_swap_account(char *s) in enable_swap_account()
Dpage_alloc.c5478 static int __parse_numa_zonelist_order(char *s) in __parse_numa_zonelist_order()
5493 static __init int setup_numa_zonelist_order(char *s) in setup_numa_zonelist_order()
7492 unsigned long free_reserved_area(void *start, void *end, int poison, const char *s) in free_reserved_area()
Dhugetlb.c3024 static int __init hugetlb_nrpages_setup(char *s) in hugetlb_nrpages_setup()
3066 static int __init hugetlb_default_setup(char *s) in hugetlb_default_setup()
Dmempolicy.c1106 int s,d; in do_migrate_pages() local
Dzsmalloc.c590 static int zs_stats_size_show(struct seq_file *s, void *v) in zs_stats_size_show()
Dvmalloc.c1687 unsigned long s, e; in _vm_unmap_aliases() local
Dmemory.c123 static int __init disable_randmaps(char *s) in disable_randmaps()