Lines Matching defs:punch

986 		iomap_punch_t punch)
997 * but not dirty. In that case it is necessary to punch
1010 ret = punch(inode, folio_pos(folio) + (i << blkbits),
1023 iomap_punch_t punch)
1030 /* if dirty, punch up to offset */
1032 ret = punch(inode, *punch_start_byte,
1040 end_byte, punch);
1045 * Make sure the next punch start is correctly bound to
1056 * dirty folio, punch out the preceding range and update the offset from which
1057 * the next punch will start from.
1059 * We can punch out storage reservations under clean pages because they either
1060 * contain data that has been written back - in which case the delalloc punch
1073 iomap_punch_t punch)
1089 start_byte, end_byte, punch);
1122 * beyond EOF and then have to punch it out. Because the range is up to date,
1123 * mapping_seek_hole_data() will return it, and we will skip the punch because
1124 * the folio is dirty. THis is incorrect - we always need to punch out delalloc
1138 loff_t start_byte, loff_t end_byte, iomap_punch_t punch)
1158 * punch out the remaining range.
1183 start_byte, data_end, punch);
1192 error = punch(inode, punch_start_byte,
1202 * filesystems that use delayed allocation, we need to punch out delalloc
1211 * The punch() callback *must* only punch delalloc extents in the range passed
1213 * them completely unchanged. It must do this punch atomically with respect to
1216 * The punch() callback may be called with a folio locked to prevent writeback
1219 * safe for the punch() callback to lock folios itself.
1226 * ->punch
1231 ssize_t written, iomap_punch_t punch)
1240 /* If we didn't reserve the blocks, we're not allowed to punch them. */
1260 punch);