Lines Matching refs:from
1755 void page_zero_new_buffers(struct page *page, unsigned from, unsigned to) in page_zero_new_buffers() argument
1770 if (block_end > from && block_start < to) { in page_zero_new_buffers()
1774 start = max(from, block_start); in page_zero_new_buffers()
1795 unsigned from = pos & (PAGE_CACHE_SIZE - 1); in __block_write_begin() local
1796 unsigned to = from + len; in __block_write_begin()
1805 BUG_ON(from > PAGE_CACHE_SIZE); in __block_write_begin()
1807 BUG_ON(from > to); in __block_write_begin()
1820 if (block_end <= from || block_start >= to) { in __block_write_begin()
1843 if (block_end > to || block_start < from) in __block_write_begin()
1846 block_start, from); in __block_write_begin()
1857 (block_start < from || block_end > to)) { in __block_write_begin()
1871 page_zero_new_buffers(page, from, to); in __block_write_begin()
1877 unsigned from, unsigned to) in __block_commit_write() argument
1890 if (block_end <= from || block_start >= to) { in __block_commit_write()
2021 unsigned long from) in block_is_partially_uptodate() argument
2033 to = min_t(unsigned, PAGE_CACHE_SIZE - from, desc->count); in block_is_partially_uptodate()
2034 to = from + to; in block_is_partially_uptodate()
2035 if (from < blocksize && to > PAGE_CACHE_SIZE - blocksize) in block_is_partially_uptodate()
2043 if (block_end > from && block_start < to) { in block_is_partially_uptodate()
2280 int block_commit_write(struct page *page, unsigned from, unsigned to) in block_commit_write() argument
2283 __block_commit_write(inode,page,from,to); in block_commit_write()
2422 unsigned from, to; in nobh_write_begin() local
2431 from = pos & (PAGE_CACHE_SIZE - 1); in nobh_write_begin()
2432 to = from + len; in nobh_write_begin()
2495 zero_user_segments(page, block_start, from, in nobh_write_begin()
2501 if (block_start < from || block_end > to) { in nobh_write_begin()
2541 page_zero_new_buffers(page, from, to); in nobh_write_begin()
2640 loff_t from, get_block_t *get_block) in nobh_truncate_page() argument
2642 pgoff_t index = from >> PAGE_CACHE_SHIFT; in nobh_truncate_page()
2643 unsigned offset = from & (PAGE_CACHE_SIZE-1); in nobh_truncate_page()
2671 return block_truncate_page(mapping, from, get_block); in nobh_truncate_page()
2718 loff_t from, get_block_t *get_block) in block_truncate_page() argument
2720 pgoff_t index = from >> PAGE_CACHE_SHIFT; in block_truncate_page()
2721 unsigned offset = from & (PAGE_CACHE_SIZE-1); in block_truncate_page()