/mm/ |
D | util.c | 316 void __user *buffer, size_t *lenp, in overcommit_ratio_handler() argument 321 ret = proc_dointvec(table, write, buffer, lenp, ppos); in overcommit_ratio_handler() 328 void __user *buffer, size_t *lenp, in overcommit_kbytes_handler() argument 333 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in overcommit_kbytes_handler() 365 int get_cmdline(struct task_struct *task, char *buffer, int buflen) in get_cmdline() argument 380 res = access_process_vm(task, mm->arg_start, buffer, len, 0); in get_cmdline() 386 if (res > 0 && buffer[res-1] != '\0' && len < buflen) { in get_cmdline() 387 len = strnlen(buffer, res); in get_cmdline() 395 buffer+res, len, 0); in get_cmdline() 396 res = strnlen(buffer, res); in get_cmdline()
|
D | page-writeback.c | 333 void __user *buffer, size_t *lenp, in dirty_background_ratio_handler() argument 338 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in dirty_background_ratio_handler() 345 void __user *buffer, size_t *lenp, in dirty_background_bytes_handler() argument 350 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in dirty_background_bytes_handler() 357 void __user *buffer, size_t *lenp, in dirty_ratio_handler() argument 363 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in dirty_ratio_handler() 372 void __user *buffer, size_t *lenp, in dirty_bytes_handler() argument 378 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in dirty_bytes_handler() 1658 void __user *buffer, size_t *length, loff_t *ppos) in dirty_writeback_centisecs_handler() argument 1660 proc_dointvec(table, write, buffer, length, ppos); in dirty_writeback_centisecs_handler()
|
D | mempolicy.c | 2798 void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol) in mpol_to_str() argument 2800 char *p = buffer; in mpol_to_str() 2832 p += snprintf(p, buffer + maxlen - p, "="); in mpol_to_str() 2838 p += snprintf(p, buffer + maxlen - p, "static"); in mpol_to_str() 2840 p += snprintf(p, buffer + maxlen - p, "relative"); in mpol_to_str() 2844 p += snprintf(p, buffer + maxlen - p, ":"); in mpol_to_str() 2845 p += nodelist_scnprintf(p, buffer + maxlen - p, nodes); in mpol_to_str()
|
D | shmem.c | 856 char buffer[64]; in shmem_show_mpol() local 861 mpol_to_str(buffer, sizeof(buffer), mpol); in shmem_show_mpol() 863 seq_printf(seq, ",mpol=%s", buffer); in shmem_show_mpol() 2580 void *buffer, size_t size) in shmem_getxattr() argument 2591 return generic_getxattr(dentry, name, buffer, size); in shmem_getxattr() 2597 return simple_xattr_get(&info->xattrs, name, buffer, size); in shmem_getxattr() 2641 static ssize_t shmem_listxattr(struct dentry *dentry, char *buffer, size_t size) in shmem_listxattr() argument 2644 return simple_xattr_list(&info->xattrs, buffer, size); in shmem_listxattr()
|
D | compaction.c | 1506 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_compaction_handler() argument 1515 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_extfrag_handler() argument 1517 proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_extfrag_handler()
|
D | page_alloc.c | 3486 void __user *buffer, size_t *length, in numa_zonelist_order_handler() argument 3501 ret = proc_dostring(table, write, buffer, length, ppos); in numa_zonelist_order_handler() 5875 void __user *buffer, size_t *length, loff_t *ppos) in module_init() 5879 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in module_init() 5892 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_min_unmapped_ratio_sysctl_handler() argument 5897 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_min_unmapped_ratio_sysctl_handler() 5908 void __user *buffer, size_t *length, loff_t *ppos) in sysctl_min_slab_ratio_sysctl_handler() argument 5913 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_min_slab_ratio_sysctl_handler() 5934 void __user *buffer, size_t *length, loff_t *ppos) in lowmem_reserve_ratio_sysctl_handler() argument 5936 proc_dointvec_minmax(table, write, buffer, length, ppos); in lowmem_reserve_ratio_sysctl_handler() [all …]
|
D | backing-dev.c | 657 void __user *buffer, size_t *lenp, loff_t *ppos) in pdflush_proc_obsolete() argument 666 if (copy_to_user(buffer, kbuf, sizeof(kbuf))) in pdflush_proc_obsolete()
|
D | hugetlb.c | 2290 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_sysctl_handler_common() argument 2301 ret = proc_doulongvec_minmax(table, write, buffer, length, ppos); in hugetlb_sysctl_handler_common() 2313 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_sysctl_handler() argument 2317 buffer, length, ppos); in hugetlb_sysctl_handler() 2322 void __user *buffer, size_t *length, loff_t *ppos) in hugetlb_mempolicy_sysctl_handler() argument 2325 buffer, length, ppos); in hugetlb_mempolicy_sysctl_handler() 2330 void __user *buffer, in hugetlb_overcommit_handler() argument 2347 ret = proc_doulongvec_minmax(table, write, buffer, length, ppos); in hugetlb_overcommit_handler()
|
D | slub.c | 5025 char *buffer = NULL; in memcg_propagate_slab_attrs() local 5058 if (buffer) in memcg_propagate_slab_attrs() 5059 buf = buffer; in memcg_propagate_slab_attrs() 5063 buffer = (char *) get_zeroed_page(GFP_KERNEL); in memcg_propagate_slab_attrs() 5064 if (WARN_ON(!buffer)) in memcg_propagate_slab_attrs() 5066 buf = buffer; in memcg_propagate_slab_attrs() 5074 if (buffer) in memcg_propagate_slab_attrs() 5075 free_page((unsigned long)buffer); in memcg_propagate_slab_attrs() 5336 ssize_t slabinfo_write(struct file *file, const char __user *buffer, in slabinfo_write() argument
|
D | slab.h | 164 ssize_t slabinfo_write(struct file *file, const char __user *buffer,
|
D | Kconfig | 304 # initiates buffer writeback without locking the page or setting PG_writeback, 306 # a major rework effort. Instead, use the bounce buffer to snapshot pages
|
D | slab.c | 4008 ssize_t slabinfo_write(struct file *file, const char __user *buffer, in slabinfo_write() argument 4017 if (copy_from_user(&kbuf, buffer, count)) in slabinfo_write()
|