Home
last modified time | relevance | path

Searched refs:lend (Results 1 – 3 of 3) sorted by relevance

/mm/
Dtruncate.c283 loff_t lstart, loff_t lend) in truncate_inode_pages_range() argument
299 partial_end = (lend + 1) & (PAGE_SIZE - 1); in truncate_inode_pages_range()
308 if (lend == -1) in truncate_inode_pages_range()
316 end = (lend + 1) >> PAGE_SHIFT; in truncate_inode_pages_range()
828 void truncate_pagecache_range(struct inode *inode, loff_t lstart, loff_t lend) in truncate_pagecache_range() argument
832 loff_t unmap_end = round_down(1 + lend, PAGE_SIZE) - 1; in truncate_pagecache_range()
849 truncate_inode_pages_range(mapping, lstart, lend); in truncate_pagecache_range()
Dshmem.c921 static void shmem_undo_range(struct inode *inode, loff_t lstart, loff_t lend, in shmem_undo_range() argument
927 pgoff_t end = (lend + 1) >> PAGE_SHIFT; in shmem_undo_range()
929 unsigned int partial_end = (lend + 1) & (PAGE_SIZE - 1); in shmem_undo_range()
936 if (lend == -1) in shmem_undo_range()
1062 void shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) in shmem_truncate_range() argument
1064 shmem_undo_range(inode, lstart, lend, false); in shmem_truncate_range()
4105 void shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) in shmem_truncate_range() argument
4107 truncate_inode_pages_range(inode->i_mapping, lstart, lend); in shmem_truncate_range()
Dfilemap.c702 loff_t lstart, loff_t lend) in filemap_write_and_wait_range() argument
707 err = __filemap_fdatawrite_range(mapping, lstart, lend, in filemap_write_and_wait_range()
717 lstart, lend); in filemap_write_and_wait_range()
807 int file_write_and_wait_range(struct file *file, loff_t lstart, loff_t lend) in file_write_and_wait_range() argument
813 err = __filemap_fdatawrite_range(mapping, lstart, lend, in file_write_and_wait_range()
817 __filemap_fdatawait_range(mapping, lstart, lend); in file_write_and_wait_range()