Home
last modified time | relevance | path

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

/mm/
Dslub.c729 char buf[100]; in slab_err() local
4684 static int list_locations(struct kmem_cache *s, char *buf, in list_locations()
4861 char *buf, unsigned long flags) in show_slab_objects()
4997 static ssize_t slab_size_show(struct kmem_cache *s, char *buf) in slab_size_show()
5003 static ssize_t align_show(struct kmem_cache *s, char *buf) in align_show()
5009 static ssize_t object_size_show(struct kmem_cache *s, char *buf) in object_size_show()
5015 static ssize_t objs_per_slab_show(struct kmem_cache *s, char *buf) in objs_per_slab_show()
5022 const char *buf, size_t length) in order_store()
5038 static ssize_t order_show(struct kmem_cache *s, char *buf) in order_show()
5044 static ssize_t min_partial_show(struct kmem_cache *s, char *buf) in min_partial_show()
[all …]
Dksm.c2836 struct kobj_attribute *attr, char *buf) in sleep_millisecs_show()
2843 const char *buf, size_t count) in sleep_millisecs_store()
2860 struct kobj_attribute *attr, char *buf) in pages_to_scan_show()
2867 const char *buf, size_t count) in pages_to_scan_store()
2883 char *buf) in run_show()
2889 const char *buf, size_t count) in run_store()
2932 struct kobj_attribute *attr, char *buf) in merge_across_nodes_show()
2939 const char *buf, size_t count) in merge_across_nodes_store()
2956 struct rb_root *buf; in merge_across_nodes_store() local
2989 struct kobj_attribute *attr, char *buf) in use_zero_pages_show()
[all …]
Dkhugepaged.c122 char *buf) in scan_sleep_millisecs_show()
129 const char *buf, size_t count) in scan_sleep_millisecs_store()
150 char *buf) in alloc_sleep_millisecs_show()
157 const char *buf, size_t count) in alloc_sleep_millisecs_store()
178 char *buf) in pages_to_scan_show()
184 const char *buf, size_t count) in pages_to_scan_store()
203 char *buf) in pages_collapsed_show()
212 char *buf) in full_scans_show()
220 struct kobj_attribute *attr, char *buf) in khugepaged_defrag_show()
227 const char *buf, size_t count) in khugepaged_defrag_store()
[all …]
Dhugetlb_cgroup.c289 char *buf, size_t nbytes, loff_t off) in hugetlb_cgroup_write()
320 char *buf, size_t nbytes, loff_t off) in hugetlb_cgroup_reset()
342 static char *mem_fmt(char *buf, int size, unsigned long hsize) in mem_fmt()
355 char buf[32]; in __hugetlb_cgroup_file_init() local
Dhuge_memory.c167 struct kobj_attribute *attr, char *buf) in enabled_show()
179 const char *buf, size_t count) in enabled_store()
206 struct kobj_attribute *attr, char *buf, in single_hugepage_flag_show()
215 const char *buf, size_t count, in single_hugepage_flag_store()
236 struct kobj_attribute *attr, char *buf) in defrag_show()
251 const char *buf, size_t count) in defrag_store()
287 struct kobj_attribute *attr, char *buf) in use_zero_page_show()
293 struct kobj_attribute *attr, const char *buf, size_t count) in use_zero_page_store()
302 struct kobj_attribute *attr, char *buf) in hpage_pmd_size_show()
311 struct kobj_attribute *attr, char *buf) in debug_cow_show()
[all …]
Dpage_idle.c122 struct bin_attribute *attr, char *buf, in page_idle_bitmap_read()
167 struct bin_attribute *attr, char *buf, in page_idle_bitmap_write()
Dpage_owner.c39 static int __init early_page_owner_param(char *buf) in early_page_owner_param()
338 print_page_owner(char __user *buf, size_t count, unsigned long pfn, in print_page_owner()
457 read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_page_owner()
Dhugetlb.c2365 char buf[32]; in hugetlb_hstate_alloc_pages() local
2396 char buf[32]; in report_hugepages() local
2623 struct kobj_attribute *attr, char *buf) in nr_hugepages_show_common()
2672 struct kobject *kobj, const char *buf, in nr_hugepages_store_common()
2689 struct kobj_attribute *attr, char *buf) in nr_hugepages_show()
2695 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_store()
2708 struct kobj_attribute *attr, char *buf) in nr_hugepages_mempolicy_show()
2714 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_mempolicy_store()
2723 struct kobj_attribute *attr, char *buf) in nr_overcommit_hugepages_show()
2730 struct kobj_attribute *attr, const char *buf, size_t count) in nr_overcommit_hugepages_store()
[all …]
Dutil.c54 char *buf; in kstrdup() local
99 char *buf; in kstrndup() local
145 char *buf; in kmemdup_nul() local
Dnommu.c189 long vread(char *buf, char *addr, unsigned long count) in vread()
199 long vwrite(char *buf, char *addr, unsigned long count) in vwrite()
1708 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm()
1752 void *buf, int len, unsigned int gup_flags) in access_remote_vm()
1761 int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, in access_process_vm()
Dbacking-dev.c137 const char *buf, size_t count) in read_ahead_kb_store()
167 struct device_attribute *attr, const char *buf, size_t count) in min_ratio_store()
186 struct device_attribute *attr, const char *buf, size_t count) in max_ratio_store()
Dpage_poison.c13 static int __init early_page_poison_param(char *buf) in early_page_poison_param()
Dmemcontrol.c1540 char *buf; in mem_cgroup_print_oom_meminfo() local
3371 char *buf, size_t nbytes, in mem_cgroup_force_empty_write()
3692 char *buf, size_t nbytes, loff_t off) in mem_cgroup_write()
3735 static ssize_t mem_cgroup_reset(struct kernfs_open_file *of, char *buf, in mem_cgroup_reset()
4713 char *buf, size_t nbytes, loff_t off) in memcg_write_event_control()
6122 char *buf, size_t nbytes, loff_t off) in memory_min_write()
6145 char *buf, size_t nbytes, loff_t off) in memory_low_write()
6167 char *buf, size_t nbytes, loff_t off) in memory_high_write()
6197 char *buf, size_t nbytes, loff_t off) in memory_max_write()
6274 char *buf; in memory_stat_show() local
[all …]
Dpage_counter.c248 int page_counter_memparse(const char *buf, const char *max, in page_counter_memparse()
Dswap_state.c794 struct kobj_attribute *attr, char *buf) in vma_ra_enabled_show()
800 const char *buf, size_t count) in vma_ra_enabled_store()
Ddmapool.c65 show_pools(struct device *dev, struct device_attribute *attr, char *buf) in show_pools()
Dvmalloc.c2748 static int aligned_vread(char *buf, char *addr, unsigned long count) in aligned_vread()
2787 static int aligned_vwrite(char *buf, char *addr, unsigned long count) in aligned_vwrite()
2848 long vread(char *buf, char *addr, unsigned long count) in vread()
2927 long vwrite(char *buf, char *addr, unsigned long count) in vwrite()
Dmemory.c4444 void *buf, int len, int write) in generic_access_phys()
4474 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm()
4549 void *buf, int len, unsigned int gup_flags) in access_remote_vm()
4560 void *buf, int len, unsigned int gup_flags) in access_process_vm()
4594 char *buf = (char *)__get_free_page(GFP_NOWAIT); in print_vma_addr() local
Dkmemleak.c263 int rowsize, int groupsize, const void *buf, in warn_or_seq_hex_dump()
1776 char buf[64]; in kmemleak_write() local
Dshmem.c2858 static int shmem_statfs(struct dentry *dentry, struct kstatfs *buf) in shmem_statfs()
3959 struct kobj_attribute *attr, char *buf) in shmem_enabled_show()
3982 struct kobj_attribute *attr, const char *buf, size_t count) in shmem_enabled_store()
Dzswap.c996 char *buf; in zswap_frontswap_store() local
Dzsmalloc.c1137 char *buf = area->vm_buf; in __zs_map_object() local
1165 char *buf; in __zs_unmap_object() local
Dpage_alloc.c153 static int __init early_init_on_alloc(char *buf) in early_init_on_alloc()
171 static int __init early_init_on_free(char *buf) in early_init_on_free()
718 static int __init early_debug_pagealloc(char *buf) in early_debug_pagealloc()
737 static int __init debug_guardpage_minorder_setup(char *buf) in debug_guardpage_minorder_setup()
Dcompaction.c2467 const char *buf, size_t count) in sysfs_compact_node()