/mm/damon/ |
D | dbgfs.c | 26 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 …]
|
D | dbgfs-test.h | 83 char buf[64]; in damon_dbgfs_test_set_targets() local 131 char buf[256]; in damon_dbgfs_test_set_init_regions() local
|
/mm/kfence/ |
D | kfence_test.c | 38 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
|
D | report.c | 51 char buf[64]; in get_stack_skipnr() local
|
/mm/ |
D | ksm.c | 2841 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 …]
|
D | khugepaged.c | 125 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 …]
|
D | slub.c | 778 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 …]
|
D | hugetlb_cgroup.c | 499 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
|
D | cma_sysfs.c | 36 struct kobj_attribute *attr, char *buf) in alloc_pages_success_show() 46 struct kobj_attribute *attr, char *buf) in alloc_pages_fail_show()
|
D | page_pinner.c | 67 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()
|
D | page_idle.c | 119 struct bin_attribute *attr, char *buf, in page_idle_bitmap_read() 164 struct bin_attribute *attr, char *buf, in page_idle_bitmap_write()
|
D | huge_memory.c | 176 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()
|
D | page_owner.c | 44 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()
|
D | hugetlb.c | 2550 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 …]
|
D | nommu.c | 203 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()
|
D | util.c | 58 char *buf; in kstrdup() local 104 char *buf; in kstrndup() local 150 char *buf; in kmemdup_nul() local
|
D | backing-dev.c | 134 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()
|
D | page_poison.c | 16 static int __init early_page_poison_param(char *buf) in early_page_poison_param()
|
D | memcontrol.c | 1691 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 …]
|
D | page_counter.c | 244 int page_counter_memparse(const char *buf, const char *max, in page_counter_memparse()
|
D | swap_state.c | 906 struct kobj_attribute *attr, char *buf) in vma_ra_enabled_show() 912 const char *buf, size_t count) in vma_ra_enabled_store()
|
D | dmapool.c | 65 show_pools(struct device *dev, struct device_attribute *attr, char *buf) in show_pools()
|
D | vmalloc.c | 2782 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()
|
D | kmemleak.c | 264 int rowsize, int groupsize, const void *buf, in warn_or_seq_hex_dump() 1779 char buf[64]; in kmemleak_write() local
|
D | memory.c | 5575 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
|