Home
last modified time | relevance | path

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

12

/mm/damon/
Ddbgfs.c26 static char *user_input_str(const char __user *buf, size_t count, loff_t *ppos) in user_input_str()
50 char __user *buf, size_t count, loff_t *ppos) in dbgfs_attrs_read()
67 const char __user *buf, size_t count, loff_t *ppos) in dbgfs_attrs_write()
100 static ssize_t sprint_schemes(struct damon_ctx *c, char *buf, ssize_t len) in sprint_schemes()
131 static ssize_t dbgfs_schemes_read(struct file *file, char __user *buf, in dbgfs_schemes_read()
240 static ssize_t dbgfs_schemes_write(struct file *file, const char __user *buf, in dbgfs_schemes_write()
283 static ssize_t sprint_target_ids(struct damon_ctx *ctx, char *buf, ssize_t len) in sprint_target_ids()
308 char __user *buf, size_t count, loff_t *ppos) in dbgfs_target_ids_read()
362 const char __user *buf, size_t count, loff_t *ppos) in dbgfs_target_ids_write()
439 static ssize_t sprint_init_regions(struct damon_ctx *c, char *buf, ssize_t len) in sprint_init_regions()
[all …]
Ddbgfs-test.h83 char buf[64]; in damon_dbgfs_test_set_targets() local
131 char buf[256]; in damon_dbgfs_test_set_init_regions() local
/mm/kfence/
Dkfence_test.c38 static void probe_console(void *ignore, const char *buf, size_t len) in probe_console()
308 char *buf; in test_out_of_bounds_read() local
342 char *buf; in test_out_of_bounds_write() local
390 char *buf; in test_invalid_addr_free() local
407 char *buf; in test_corruption() local
445 char *buf; in test_kmalloc_aligned_oob_read() local
478 char *buf; in test_kmalloc_aligned_oob_write() local
496 void *buf; in test_shrink_memcache() local
573 char *buf; in test_memcache_ctor() local
685 char *buf = expect.addr; in test_krealloc() local
Dreport.c51 char buf[64]; in get_stack_skipnr() local
/mm/
Dksm.c2841 struct kobj_attribute *attr, char *buf) in sleep_millisecs_show()
2848 const char *buf, size_t count) in sleep_millisecs_store()
2865 struct kobj_attribute *attr, char *buf) in pages_to_scan_show()
2872 const char *buf, size_t count) in pages_to_scan_store()
2888 char *buf) in run_show()
2894 const char *buf, size_t count) in run_store()
2937 struct kobj_attribute *attr, char *buf) in merge_across_nodes_show()
2944 const char *buf, size_t count) in merge_across_nodes_store()
2961 struct rb_root *buf; in merge_across_nodes_store() local
2994 struct kobj_attribute *attr, char *buf) in use_zero_pages_show()
[all …]
Dkhugepaged.c125 char *buf) in scan_sleep_millisecs_show()
132 const char *buf, size_t count) in scan_sleep_millisecs_store()
153 char *buf) in alloc_sleep_millisecs_show()
160 const char *buf, size_t count) in alloc_sleep_millisecs_store()
181 char *buf) in pages_to_scan_show()
187 const char *buf, size_t count) in pages_to_scan_store()
206 char *buf) in pages_collapsed_show()
215 char *buf) in full_scans_show()
223 struct kobj_attribute *attr, char *buf) in khugepaged_defrag_show()
230 const char *buf, size_t count) in khugepaged_defrag_store()
[all …]
Dslub.c778 char buf[100]; in slab_err() local
4908 char *buf, unsigned long flags) in show_slab_objects()
5030 static ssize_t slab_size_show(struct kmem_cache *s, char *buf) in slab_size_show()
5036 static ssize_t align_show(struct kmem_cache *s, char *buf) in align_show()
5042 static ssize_t object_size_show(struct kmem_cache *s, char *buf) in object_size_show()
5048 static ssize_t objs_per_slab_show(struct kmem_cache *s, char *buf) in objs_per_slab_show()
5054 static ssize_t order_show(struct kmem_cache *s, char *buf) in order_show()
5060 static ssize_t min_partial_show(struct kmem_cache *s, char *buf) in min_partial_show()
5065 static ssize_t min_partial_store(struct kmem_cache *s, const char *buf, in min_partial_store()
5080 static ssize_t cpu_partial_show(struct kmem_cache *s, char *buf) in cpu_partial_show()
[all …]
Dhugetlb_cgroup.c499 char *buf, size_t nbytes, loff_t off, in hugetlb_cgroup_write()
537 char *buf, size_t nbytes, loff_t off) in hugetlb_cgroup_write_legacy()
543 char *buf, size_t nbytes, loff_t off) in hugetlb_cgroup_write_dfl()
549 char *buf, size_t nbytes, loff_t off) in hugetlb_cgroup_reset()
578 static char *mem_fmt(char *buf, int size, unsigned long hsize) in mem_fmt()
620 char buf[32]; in __hugetlb_cgroup_file_dfl_init() local
684 char buf[32]; in __hugetlb_cgroup_file_legacy_init() local
Dcma_sysfs.c36 struct kobj_attribute *attr, char *buf) in alloc_pages_success_show()
46 struct kobj_attribute *attr, char *buf) in alloc_pages_fail_show()
Dpage_pinner.c67 static int __init early_page_pinner_param(char *buf) in early_page_pinner_param()
224 print_page_pinner(bool longterm, char __user *buf, size_t count, struct captured_pinner *record) in print_page_pinner()
381 read_longterm_page_pinner(struct file *file, char __user *buf, size_t count, in read_longterm_page_pinner()
416 static ssize_t read_alloc_contig_failed(struct file *file, char __user *buf, in read_alloc_contig_failed()
Dpage_idle.c119 struct bin_attribute *attr, char *buf, in page_idle_bitmap_read()
164 struct bin_attribute *attr, char *buf, in page_idle_bitmap_write()
Dhuge_memory.c176 struct kobj_attribute *attr, char *buf) in enabled_show()
188 const char *buf, size_t count) in enabled_store()
215 struct kobj_attribute *attr, char *buf, in single_hugepage_flag_show()
224 const char *buf, size_t count, in single_hugepage_flag_store()
245 struct kobj_attribute *attr, char *buf) in defrag_show()
260 const char *buf, size_t count) in defrag_store()
296 struct kobj_attribute *attr, char *buf) in use_zero_page_show()
302 struct kobj_attribute *attr, const char *buf, size_t count) in use_zero_page_store()
311 struct kobj_attribute *attr, char *buf) in hpage_pmd_size_show()
Dpage_owner.c44 static int __init early_page_owner_param(char *buf) in early_page_owner_param()
387 print_page_owner(char __user *buf, size_t count, unsigned long pfn, in print_page_owner()
510 read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_page_owner()
Dhugetlb.c2550 char buf[32]; in hugetlb_hstate_alloc_pages() local
2581 char buf[32]; in report_hugepages() local
2808 struct kobj_attribute *attr, char *buf) in nr_hugepages_show_common()
2857 struct kobject *kobj, const char *buf, in nr_hugepages_store_common()
2874 struct kobj_attribute *attr, char *buf) in nr_hugepages_show()
2880 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_store()
2893 struct kobj_attribute *attr, char *buf) in nr_hugepages_mempolicy_show()
2899 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_mempolicy_store()
2908 struct kobj_attribute *attr, char *buf) in nr_overcommit_hugepages_show()
2915 struct kobj_attribute *attr, const char *buf, size_t count) in nr_overcommit_hugepages_store()
[all …]
Dnommu.c203 long vread(char *buf, char *addr, unsigned long count) in vread()
213 long vwrite(char *buf, char *addr, unsigned long count) in vwrite()
1688 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm()
1732 void *buf, int len, unsigned int gup_flags) in access_remote_vm()
1741 int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, in access_process_vm()
Dutil.c58 char *buf; in kstrdup() local
104 char *buf; in kstrndup() local
150 char *buf; in kmemdup_nul() local
Dbacking-dev.c134 const char *buf, size_t count) in read_ahead_kb_store()
164 struct device_attribute *attr, const char *buf, size_t count) in min_ratio_store()
183 struct device_attribute *attr, const char *buf, size_t count) in max_ratio_store()
Dpage_poison.c16 static int __init early_page_poison_param(char *buf) in early_page_poison_param()
Dmemcontrol.c1691 char *buf; in mem_cgroup_print_oom_meminfo() local
3561 char *buf, size_t nbytes, in mem_cgroup_force_empty_write()
3878 char *buf, size_t nbytes, loff_t off) in mem_cgroup_write()
3921 static ssize_t mem_cgroup_reset(struct kernfs_open_file *of, char *buf, in mem_cgroup_reset()
4901 char *buf, size_t nbytes, loff_t off) in memcg_write_event_control()
6320 char *buf, size_t nbytes, loff_t off) in memory_min_write()
6343 char *buf, size_t nbytes, loff_t off) in memory_low_write()
6366 char *buf, size_t nbytes, loff_t off) in memory_high_write()
6415 char *buf, size_t nbytes, loff_t off) in memory_max_write()
6490 char *buf; in memory_stat_show() local
[all …]
Dpage_counter.c244 int page_counter_memparse(const char *buf, const char *max, in page_counter_memparse()
Dswap_state.c906 struct kobj_attribute *attr, char *buf) in vma_ra_enabled_show()
912 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.c2782 static int aligned_vread(char *buf, char *addr, unsigned long count) in aligned_vread()
2821 static int aligned_vwrite(char *buf, char *addr, unsigned long count) in aligned_vwrite()
2882 long vread(char *buf, char *addr, unsigned long count) in vread()
2961 long vwrite(char *buf, char *addr, unsigned long count) in vwrite()
Dkmemleak.c264 int rowsize, int groupsize, const void *buf, in warn_or_seq_hex_dump()
1779 char buf[64]; in kmemleak_write() local
Dmemory.c5575 void *buf, int len, int write) in generic_access_phys()
5605 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm()
5680 void *buf, int len, unsigned int gup_flags) in access_remote_vm()
5691 void *buf, int len, unsigned int gup_flags) in access_process_vm()
5725 char *buf = (char *)__get_free_page(GFP_NOWAIT); in print_vma_addr() local

12