/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() 442 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 | 45 static void probe_console(void *ignore, const char *buf, size_t len) in probe_console() 320 char *buf; in test_out_of_bounds_read() local 354 char *buf; in test_out_of_bounds_write() local 402 char *buf; in test_invalid_addr_free() local 419 char *buf; in test_corruption() local 457 char *buf; in test_kmalloc_aligned_oob_read() local 490 char *buf; in test_kmalloc_aligned_oob_write() local 508 void *buf; in test_shrink_memcache() local 585 char *buf; in test_memcache_ctor() local 697 char *buf = expect.addr; in test_krealloc() local
|
D | report.c | 52 char buf[64]; in get_stack_skipnr() local
|
/mm/ |
D | ksm.c | 2832 struct kobj_attribute *attr, char *buf) in sleep_millisecs_show() 2839 const char *buf, size_t count) in sleep_millisecs_store() 2856 struct kobj_attribute *attr, char *buf) in pages_to_scan_show() 2863 const char *buf, size_t count) in pages_to_scan_store() 2879 char *buf) in run_show() 2885 const char *buf, size_t count) in run_store() 2928 struct kobj_attribute *attr, char *buf) in merge_across_nodes_show() 2935 const char *buf, size_t count) in merge_across_nodes_store() 2952 struct rb_root *buf; in merge_across_nodes_store() local 2985 struct kobj_attribute *attr, char *buf) in use_zero_pages_show() [all …]
|
D | khugepaged.c | 127 char *buf) in scan_sleep_millisecs_show() 134 const char *buf, size_t count) in scan_sleep_millisecs_store() 155 char *buf) in alloc_sleep_millisecs_show() 162 const char *buf, size_t count) in alloc_sleep_millisecs_store() 183 char *buf) in pages_to_scan_show() 189 const char *buf, size_t count) in pages_to_scan_store() 208 char *buf) in pages_collapsed_show() 217 char *buf) in full_scans_show() 225 struct kobj_attribute *attr, char *buf) in khugepaged_defrag_show() 232 const char *buf, size_t count) in khugepaged_defrag_store() [all …]
|
D | slub.c | 893 char buf[100]; in slab_err() local 5248 char *buf, unsigned long flags) in show_slab_objects() 5375 static ssize_t slab_size_show(struct kmem_cache *s, char *buf) in slab_size_show() 5381 static ssize_t align_show(struct kmem_cache *s, char *buf) in align_show() 5387 static ssize_t object_size_show(struct kmem_cache *s, char *buf) in object_size_show() 5393 static ssize_t objs_per_slab_show(struct kmem_cache *s, char *buf) in objs_per_slab_show() 5399 static ssize_t order_show(struct kmem_cache *s, char *buf) in order_show() 5405 static ssize_t min_partial_show(struct kmem_cache *s, char *buf) in min_partial_show() 5410 static ssize_t min_partial_store(struct kmem_cache *s, const char *buf, in min_partial_store() 5425 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 | mmap_lock.c | 45 char __rcu *buf; member 136 char *buf; in get_memcg_path_buf() local 201 char *buf = NULL; in get_mm_memcg_path() local
|
D | cma_sysfs.c | 33 struct kobj_attribute *attr, char *buf) in alloc_pages_success_show() 43 struct kobj_attribute *attr, char *buf) in alloc_pages_fail_show()
|
D | page_idle.c | 115 struct bin_attribute *attr, char *buf, in page_idle_bitmap_read() 160 struct bin_attribute *attr, char *buf, in page_idle_bitmap_write()
|
D | huge_memory.c | 177 struct kobj_attribute *attr, char *buf) in enabled_show() 194 const char *buf, size_t count) in enabled_store() 221 struct kobj_attribute *attr, char *buf, in single_hugepage_flag_show() 230 const char *buf, size_t count, in single_hugepage_flag_store() 251 struct kobj_attribute *attr, char *buf) in defrag_show() 275 const char *buf, size_t count) in defrag_store() 311 struct kobj_attribute *attr, char *buf) in use_zero_page_show() 317 struct kobj_attribute *attr, const char *buf, size_t count) in use_zero_page_store() 326 struct kobj_attribute *attr, char *buf) in hpage_pmd_size_show() 3098 static ssize_t split_huge_pages_write(struct file *file, const char __user *buf, in split_huge_pages_write() [all …]
|
D | page_pinner.c | 65 static int __init early_page_pinner_param(char *buf) in early_page_pinner_param() 191 print_page_pinner(char __user *buf, size_t count, struct captured_pinner *record) in print_page_pinner() 315 static ssize_t read_buffer(struct file *file, char __user *buf, in read_buffer()
|
D | backing-dev.c | 135 const char *buf, size_t count) in read_ahead_kb_store() 163 struct device_attribute *attr, const char *buf, size_t count) in min_ratio_store() 182 struct device_attribute *attr, const char *buf, size_t count) in max_ratio_store() 202 char *buf) in stable_pages_required_show()
|
D | page_owner.c | 44 static int __init early_page_owner_param(char *buf) in early_page_owner_param() 367 print_page_owner(char __user *buf, size_t count, unsigned long pfn, in print_page_owner() 490 read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_page_owner()
|
D | hugetlb.c | 2977 char buf[32]; in hugetlb_hstate_alloc_pages() local 3008 char buf[32]; in report_hugepages() local 3266 struct kobj_attribute *attr, char *buf) in nr_hugepages_show_common() 3315 struct kobject *kobj, const char *buf, in nr_hugepages_store_common() 3332 struct kobj_attribute *attr, char *buf) in nr_hugepages_show() 3338 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_store() 3352 char *buf) in nr_hugepages_mempolicy_show() 3358 struct kobj_attribute *attr, const char *buf, size_t len) in nr_hugepages_mempolicy_store() 3367 struct kobj_attribute *attr, char *buf) in nr_overcommit_hugepages_show() 3374 struct kobj_attribute *attr, const char *buf, size_t count) in nr_overcommit_hugepages_store() [all …]
|
D | hugetlb_vmemmap.c | 187 static int __init early_hugetlb_free_vmemmap_param(char *buf) in early_hugetlb_free_vmemmap_param()
|
D | util.c | 58 char *buf; in kstrdup() local 104 char *buf; in kstrndup() local 150 char *buf; in kmemdup_nul() local
|
D | page_poison.c | 17 static int __init early_page_poison_param(char *buf) in early_page_poison_param()
|
D | nommu.c | 203 long vread(char *buf, char *addr, unsigned long count) in vread() 1670 int __access_remote_vm(struct mm_struct *mm, unsigned long addr, void *buf, in __access_remote_vm() 1715 void *buf, int len, unsigned int gup_flags) in access_remote_vm() 1724 int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, in access_process_vm()
|
D | memcontrol.c | 1601 char *buf; in mem_cgroup_print_oom_meminfo() local 3578 char *buf, size_t nbytes, in mem_cgroup_force_empty_write() 3820 char *buf, size_t nbytes, loff_t off) in mem_cgroup_write() 3863 static ssize_t mem_cgroup_reset(struct kernfs_open_file *of, char *buf, in mem_cgroup_reset() 4824 char *buf, size_t nbytes, loff_t off) in memcg_write_event_control() 6307 char *buf, size_t nbytes, loff_t off) in memory_min_write() 6330 char *buf, size_t nbytes, loff_t off) in memory_low_write() 6353 char *buf, size_t nbytes, loff_t off) in memory_high_write() 6402 char *buf, size_t nbytes, loff_t off) in memory_max_write() 6477 char *buf; in memory_stat_show() local [all …]
|
D | page_counter.c | 251 int page_counter_memparse(const char *buf, const char *max, in page_counter_memparse()
|
D | swap_state.c | 859 struct kobj_attribute *attr, char *buf) in vma_ra_enabled_show() 866 const char *buf, size_t count) in vma_ra_enabled_store()
|
D | dmapool.c | 65 static ssize_t pools_show(struct device *dev, struct device_attribute *attr, char *buf) in pools_show()
|
D | memory.c | 5549 void *buf, int len, int write) in generic_access_phys() 5605 int __access_remote_vm(struct mm_struct *mm, unsigned long addr, void *buf, in __access_remote_vm() 5681 void *buf, int len, unsigned int gup_flags) in access_remote_vm() 5692 void *buf, int len, unsigned int gup_flags) in access_process_vm() 5726 char *buf = (char *)__get_free_page(GFP_NOWAIT); in print_vma_addr() local
|