Home
last modified time | relevance | path

Searched refs:ppos (Results 1 – 13 of 13) sorted by relevance

/mm/
Dfilemap_xip.c57 loff_t *ppos) in do_xip_mapping_read() argument
67 pos = *ppos; in do_xip_mapping_read()
139 *ppos = pos + copied; in do_xip_mapping_read()
147 xip_file_read(struct file *filp, char __user *buf, size_t len, loff_t *ppos) in xip_file_read() argument
153 buf, len, ppos); in xip_file_read()
325 size_t count, loff_t pos, loff_t *ppos) in __xip_file_write() argument
384 *ppos = pos; in __xip_file_write()
399 loff_t *ppos) in xip_file_write() argument
414 pos = *ppos; in xip_file_write()
434 ret = __xip_file_write (filp, buf, count, pos, ppos); in xip_file_write()
Dutil.c317 loff_t *ppos) in overcommit_ratio_handler() argument
321 ret = proc_dointvec(table, write, buffer, lenp, ppos); in overcommit_ratio_handler()
329 loff_t *ppos) in overcommit_kbytes_handler() argument
333 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in overcommit_kbytes_handler()
Dpage-writeback.c334 loff_t *ppos) in dirty_background_ratio_handler() argument
338 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in dirty_background_ratio_handler()
346 loff_t *ppos) in dirty_background_bytes_handler() argument
350 ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); in dirty_background_bytes_handler()
358 loff_t *ppos) in dirty_ratio_handler() argument
363 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in dirty_ratio_handler()
373 loff_t *ppos) 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()
Dfilemap.c1463 static ssize_t do_generic_file_read(struct file *filp, loff_t *ppos, in do_generic_file_read() argument
1476 index = *ppos >> PAGE_CACHE_SHIFT; in do_generic_file_read()
1479 last_index = (*ppos + iter->count + PAGE_CACHE_SIZE-1) >> PAGE_CACHE_SHIFT; in do_generic_file_read()
1480 offset = *ppos & ~PAGE_CACHE_MASK; in do_generic_file_read()
1677 *ppos = ((loff_t)index << PAGE_CACHE_SHIFT) + offset; in do_generic_file_read()
1695 loff_t *ppos = &iocb->ki_pos; in generic_file_read_iter() local
1696 loff_t pos = *ppos; in generic_file_read_iter()
1716 *ppos = pos + retval; in generic_file_read_iter()
1728 if (retval < 0 || !iov_iter_count(iter) || *ppos >= size) { in generic_file_read_iter()
1734 retval = do_generic_file_read(file, ppos, iter, retval); in generic_file_read_iter()
Dbacking-dev.c657 void __user *buffer, size_t *lenp, loff_t *ppos) in pdflush_proc_obsolete() argument
661 if (*ppos || *lenp < sizeof(kbuf)) { in pdflush_proc_obsolete()
672 *ppos += *lenp; in pdflush_proc_obsolete()
Dshmem.c1532 loff_t *ppos = &iocb->ki_pos; in shmem_file_read_iter() local
1542 index = *ppos >> PAGE_CACHE_SHIFT; in shmem_file_read_iter()
1543 offset = *ppos & ~PAGE_CACHE_MASK; in shmem_file_read_iter()
1624 *ppos = ((loff_t) index << PAGE_CACHE_SHIFT) + offset; in shmem_file_read_iter()
1629 static ssize_t shmem_file_splice_read(struct file *in, loff_t *ppos, in shmem_file_splice_read() argument
1652 if (unlikely(*ppos >= isize)) in shmem_file_splice_read()
1655 left = isize - *ppos; in shmem_file_splice_read()
1662 index = *ppos >> PAGE_CACHE_SHIFT; in shmem_file_splice_read()
1663 loff = *ppos & ~PAGE_CACHE_MASK; in shmem_file_splice_read()
1681 index = *ppos >> PAGE_CACHE_SHIFT; in shmem_file_splice_read()
[all …]
Dcompaction.c1506 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()
Dpage_alloc.c3487 loff_t *ppos) 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 …]
Dhugetlb.c2290 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()
2331 size_t *length, loff_t *ppos) in hugetlb_overcommit_handler() argument
2347 ret = proc_doulongvec_minmax(table, write, buffer, length, ppos); in hugetlb_overcommit_handler()
Dslab.h165 size_t count, loff_t *ppos);
Dkmemleak.c1654 size_t size, loff_t *ppos) in kmemleak_write() argument
1716 *ppos += size; in kmemleak_write()
Dslab.c4009 size_t count, loff_t *ppos) in slabinfo_write() argument
Dslub.c5337 size_t count, loff_t *ppos) in slabinfo_write() argument