/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() argument 32 if (*ppos) in user_input_str() 39 ret = simple_write_to_buffer(kbuf, count + 1, ppos, buf, count); in user_input_str() 50 char __user *buf, size_t count, loff_t *ppos) in dbgfs_attrs_read() argument 63 return simple_read_from_buffer(buf, count, ppos, kbuf, ret); in dbgfs_attrs_read() 67 const char __user *buf, size_t count, loff_t *ppos) in dbgfs_attrs_write() argument 74 kbuf = user_input_str(buf, count, ppos); in dbgfs_attrs_write() 132 size_t count, loff_t *ppos) in dbgfs_schemes_read() argument 147 len = simple_read_from_buffer(buf, count, ppos, kbuf, len); in dbgfs_schemes_read() 241 size_t count, loff_t *ppos) in dbgfs_schemes_write() argument [all …]
|
/mm/ |
D | util.c | 865 size_t *lenp, loff_t *ppos) in overcommit_ratio_handler() argument 869 ret = proc_dointvec(table, write, buffer, lenp, ppos); in overcommit_ratio_handler() 881 size_t *lenp, loff_t *ppos) in overcommit_policy_handler() argument 901 ret = proc_dointvec_minmax(&t, write, buffer, lenp, ppos); in overcommit_policy_handler() 910 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in overcommit_policy_handler() 917 size_t *lenp, loff_t *ppos) in overcommit_kbytes_handler() argument 921 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in overcommit_kbytes_handler()
|
D | page_pinner.c | 316 size_t count, loff_t *ppos) in read_buffer() argument 326 if (*ppos >= pp_buf_size) in read_buffer() 329 i = *ppos; in read_buffer() 330 *ppos = i + 1; in read_buffer()
|
D | page-writeback.c | 507 void *buffer, size_t *lenp, loff_t *ppos) in dirty_background_ratio_handler() argument 511 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in dirty_background_ratio_handler() 518 void *buffer, size_t *lenp, loff_t *ppos) in dirty_background_bytes_handler() argument 522 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in dirty_background_bytes_handler() 529 size_t *lenp, loff_t *ppos) in dirty_ratio_handler() argument 534 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in dirty_ratio_handler() 543 void *buffer, size_t *lenp, loff_t *ppos) in dirty_bytes_handler() argument 548 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in dirty_bytes_handler() 2002 void *buffer, size_t *length, loff_t *ppos) in dirty_writeback_centisecs_handler() argument 2007 ret = proc_dointvec(table, write, buffer, length, ppos); in dirty_writeback_centisecs_handler()
|
D | page_owner.c | 490 read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) in read_page_owner() argument 502 pfn = min_low_pfn + *ppos; in read_page_owner() 574 *ppos = (pfn - min_low_pfn) + 1; in read_page_owner()
|
D | vmstat.c | 78 void *buffer, size_t *length, loff_t *ppos) in sysctl_vm_numa_stat_handler() argument 85 ret = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_vm_numa_stat_handler() 1875 void *buffer, size_t *lenp, loff_t *ppos) in vmstat_refresh() argument 1926 *ppos += *lenp; in vmstat_refresh()
|
D | page_alloc.c | 6536 void *buffer, size_t *length, loff_t *ppos) in numa_zonelist_order_handler() argument 6540 return proc_dostring(table, write, buffer, length, ppos); in numa_zonelist_order_handler() 8941 void *buffer, size_t *length, loff_t *ppos) in postcore_initcall() 8945 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in postcore_initcall() 8957 void *buffer, size_t *length, loff_t *ppos) in watermark_scale_factor_sysctl_handler() argument 8961 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in watermark_scale_factor_sysctl_handler() 8987 void *buffer, size_t *length, loff_t *ppos) in sysctl_min_unmapped_ratio_sysctl_handler() argument 8991 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_min_unmapped_ratio_sysctl_handler() 9014 void *buffer, size_t *length, loff_t *ppos) in sysctl_min_slab_ratio_sysctl_handler() argument 9018 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_min_slab_ratio_sysctl_handler() [all …]
|
D | hugetlb.c | 3902 loff_t *ppos, unsigned long *out) in proc_hugetlb_doulongvec_minmax() argument 3913 return proc_doulongvec_minmax(&dup_table, write, buffer, length, ppos); in proc_hugetlb_doulongvec_minmax() 3918 void *buffer, size_t *length, loff_t *ppos) in hugetlb_sysctl_handler_common() argument 3927 ret = proc_hugetlb_doulongvec_minmax(table, write, buffer, length, ppos, in hugetlb_sysctl_handler_common() 3940 void *buffer, size_t *length, loff_t *ppos) in hugetlb_sysctl_handler() argument 3944 buffer, length, ppos); in hugetlb_sysctl_handler() 3949 void *buffer, size_t *length, loff_t *ppos) in hugetlb_mempolicy_sysctl_handler() argument 3952 buffer, length, ppos); in hugetlb_mempolicy_sysctl_handler() 3957 void *buffer, size_t *length, loff_t *ppos) in hugetlb_overcommit_handler() argument 3971 ret = proc_hugetlb_doulongvec_minmax(table, write, buffer, length, ppos, in hugetlb_overcommit_handler()
|
D | slub.c | 6124 static void *slab_debugfs_next(struct seq_file *seq, void *v, loff_t *ppos) in slab_debugfs_next() argument 6128 t->idx = ++(*ppos); in slab_debugfs_next() 6129 if (*ppos <= t->count) in slab_debugfs_next() 6130 return ppos; in slab_debugfs_next() 6135 static void *slab_debugfs_start(struct seq_file *seq, loff_t *ppos) in slab_debugfs_start() argument 6139 t->idx = *ppos; in slab_debugfs_start() 6140 return ppos; in slab_debugfs_start() 6284 size_t count, loff_t *ppos) in slabinfo_write() argument
|
D | kmemleak.c | 1785 size_t size, loff_t *ppos) in kmemleak_write() argument 1853 *ppos += size; in kmemleak_write()
|
D | compaction.c | 2792 void *buffer, size_t *length, loff_t *ppos) in compaction_proactiveness_sysctl_handler() argument 2796 rc = proc_dointvec_minmax(table, write, buffer, length, ppos); in compaction_proactiveness_sysctl_handler() 2820 void *buffer, size_t *length, loff_t *ppos) in sysctl_compaction_handler() argument
|
D | slab.h | 212 size_t count, loff_t *ppos);
|
D | shmem.c | 2539 loff_t *ppos = &iocb->ki_pos; in shmem_file_read_iter() local 2549 index = *ppos >> PAGE_SHIFT; in shmem_file_read_iter() 2550 offset = *ppos & ~PAGE_MASK; in shmem_file_read_iter() 2640 *ppos = ((loff_t) index << PAGE_SHIFT) + offset; in shmem_file_read_iter()
|
D | slab.c | 4134 size_t count, loff_t *ppos) in slabinfo_write() argument
|