Lines Matching refs:from

10  *  from
200 * we still need to remove the inode from the writeback lists.
330 * ext4_discard_preallocations() from here.
651 * overwrite zeros with stale data from block device.
743 * to pass to / from get_block functions, this can go away.
946 unsigned from,
963 if (block_end <= from || block_start >= to) {
1017 unsigned from = pos & (PAGE_SIZE - 1);
1018 unsigned to = from + len;
1030 BUG_ON(from > PAGE_SIZE);
1032 BUG_ON(from > to);
1045 if (block_end <= from || block_start >= to) {
1065 if (block_end > to || block_start < from)
1068 block_start, from);
1078 (block_start < from || block_end > to)) {
1092 folio_zero_new_buffers(folio, from, to);
1127 unsigned from, to;
1139 from = pos & (PAGE_SIZE - 1);
1140 to = from + len;
1181 /* The folio got truncated from under us */
1205 folio_buffers(folio), from, to,
1231 * make sure the inode is removed from the
1264 * `file' can be NULL - eg, when called from page_symlink().
1329 * is removed from the orphan list in that case.
1346 unsigned from, unsigned to)
1355 if (block_end > from && block_start < to) {
1359 start = max(from, block_start);
1384 unsigned from, to;
1389 from = pos & (PAGE_SIZE - 1);
1390 to = from + len;
1401 from, to);
1405 from + copied, to);
1408 from, from + copied, &partial,
1443 * is removed from the orphan list in that case.
1463 * us from metadata over-estimation, though we may go over by
1498 * function is called from invalidate page, it's
1646 * have one. Written and unwritten extents can be purged from the
1681 * This function is grabs code from the very beginning of
1682 * ext4_map_blocks, but assumes that the caller is from delayed write
1950 * @bh - buffer we should start processing from
1953 * Walk through page buffers from @bh upto @head (exclusive) and either submit
2199 * them to initialized or split the described range from larger unwritten
2298 * iteration. This is called from ext4_writepages(). We map an extent of
2710 * Drop our io_end reference we got from init. We have
3636 struct address_space *mapping, loff_t from, loff_t length)
3638 ext4_fsblk_t index = from >> PAGE_SHIFT;
3639 unsigned offset = from & (PAGE_SIZE-1);
3647 folio = __filemap_get_folio(mapping, from >> PAGE_SHIFT,
3720 err = ext4_jbd2_inode_add_write(handle, inode, from,
3732 * starting from file offset 'from'. The range to be zero'd must
3735 * that corresponds to 'from'
3738 struct address_space *mapping, loff_t from, loff_t length)
3741 unsigned offset = from & (PAGE_SIZE-1);
3747 * 'from' and the end of the block
3753 return dax_zero_range(inode, from, length, NULL,
3756 return __ext4_block_zero_page_range(handle, mapping, from, length);
3760 * ext4_block_truncate_page() zeroes out a mapping from file offset `from'
3761 * up to the end of the block which corresponds to `from'.
3766 struct address_space *mapping, loff_t from)
3768 unsigned offset = from & (PAGE_SIZE-1);
3780 return ext4_block_zero_page_range(handle, mapping, from, length);
3972 * Prevent page faults from reinstantiating pages we have released from
4100 * that's fine - as long as they are linked from the inode, the post-crash
4458 * blocks from the inode table.
4485 * Read the block from disk.
4874 * now it is reread from disk.
5148 * We are called from a few places:
5244 * strip all buffers from the folio but keep the folio dirty which can then
5276 * Called from notify_change.
5399 * Blocks are going to be removed from the inode. Wait
5705 * This is called from DIO, fallocate or whoever calling
5948 * ext4_dirty_inode() is called from __mark_inode_dirty()
5984 * from the journal and so a subsequent replay can corrupt data.
6116 /* Page got truncated from under us? */
6166 /* Page got truncated from under us? */