Lines Matching refs:from

10  *  from
231 * we still need to remove the inode from the writeback lists.
361 * ext4_discard_preallocations() from here.
675 * overwrite zeros with stale data from block device.
771 * to pass to / from get_block functions, this can go away.
957 unsigned from,
974 if (block_end <= from || block_start >= to) {
1039 unsigned from = pos & (PAGE_SIZE - 1);
1040 unsigned to = from + len;
1052 BUG_ON(from > PAGE_SIZE);
1054 BUG_ON(from > to);
1065 if (block_end <= from || block_start >= to) {
1086 if (block_end > to || block_start < from)
1088 block_start, from);
1099 (block_start < from || block_end > to)) {
1113 page_zero_new_buffers(page, from, to);
1141 unsigned from, to;
1153 from = pos & (PAGE_SIZE - 1);
1154 to = from + len;
1194 /* The page got truncated from under us */
1219 from, to, NULL,
1245 * make sure the inode is removed from the
1277 * `file' can be NULL - eg, when called from page_symlink().
1340 * is removed from the orphan list in that case.
1356 unsigned from, unsigned to)
1365 if (block_end > from && block_start < to) {
1369 start = max(from, block_start);
1393 unsigned from, to;
1398 from = pos & (PAGE_SIZE - 1);
1399 to = from + len;
1408 ext4_journalled_zero_new_buffers(handle, page, from, to);
1412 from + copied, to);
1413 ret = ext4_walk_page_buffers(handle, page_buffers(page), from,
1414 from + copied, &partial,
1450 * is removed from the orphan list in that case.
1470 * us from metadata over-estimation, though we may go over by
1505 * function is called from invalidate page, it's
1650 * have one. Written and unwritten extents can be purged from the
1691 * This function is grabs code from the very beginning of
1692 * ext4_map_blocks, but assumes that the caller is from delayed write
1901 * out from under us.
1918 /* The page got truncated from under us */
1970 * because we should have holes filled from ext4_page_mkwrite(). We even don't
2075 * from direct reclaim.
2101 /* Drop io_end reference we got from init */
2207 * @bh - buffer we should start processing from
2210 * Walk through page buffers from @bh upto @head (exclusive) and either submit
2456 * them to initialized or split the described range from larger unwritten
2556 * iteration. This is called from ext4_writepages(). We map an extent of
2878 * Drop our io_end reference we got from init. We have
3621 * Pages can be marked dirty completely asynchronously from ext4's journalling
3736 struct address_space *mapping, loff_t from, loff_t length)
3738 ext4_fsblk_t index = from >> PAGE_SHIFT;
3739 unsigned offset = from & (PAGE_SIZE-1);
3747 page = find_or_create_page(mapping, from >> PAGE_SHIFT,
3815 err = ext4_jbd2_inode_add_write(handle, inode, from,
3827 * starting from file offset 'from'. The range to be zero'd must
3830 * that corresponds to 'from'
3833 struct address_space *mapping, loff_t from, loff_t length)
3836 unsigned offset = from & (PAGE_SIZE-1);
3842 * 'from' and the end of the block
3848 return iomap_zero_range(inode, from, length, NULL,
3851 return __ext4_block_zero_page_range(handle, mapping, from, length);
3855 * ext4_block_truncate_page() zeroes out a mapping from file offset `from'
3856 * up to the end of the block which corresponds to `from'.
3861 struct address_space *mapping, loff_t from)
3863 unsigned offset = from & (PAGE_SIZE-1);
3875 return ext4_block_zero_page_range(handle, mapping, from, length);
4068 * Prevent page faults from reinstantiating pages we have released from
4200 * that's fine - as long as they are linked from the inode, the post-crash
4557 * blocks from the inode table.
4584 * Read the block from disk.
4969 * now it is reread from disk.
5245 * We are called from a few places:
5343 * strip all buffers from the page but keep the page dirty which can then
5375 * Called from notify_change.
5498 * Blocks are going to be removed from the inode. Wait
5766 * This is called from DIO, fallocate or whoever calling
6015 * ext4_dirty_inode() is called from __mark_inode_dirty()
6061 * from the journal and so a subsequent replay can corrupt data.
6192 /* Page got truncated from under us? */
6243 /* Page got truncated from under us? */