Lines Matching refs:start_byte

985 		struct folio *folio, loff_t start_byte, loff_t end_byte,  in iomap_write_delalloc_ifs_punch()  argument
1006 first_blk = offset_in_folio(folio, start_byte) >> blkbits; in iomap_write_delalloc_ifs_punch()
1022 loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_punch() argument
1031 if (start_byte > *punch_start_byte) { in iomap_write_delalloc_punch()
1033 start_byte - *punch_start_byte); in iomap_write_delalloc_punch()
1039 ret = iomap_write_delalloc_ifs_punch(inode, folio, start_byte, in iomap_write_delalloc_punch()
1072 loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_scan() argument
1075 while (start_byte < end_byte) { in iomap_write_delalloc_scan()
1081 start_byte >> PAGE_SHIFT); in iomap_write_delalloc_scan()
1083 start_byte = ALIGN_DOWN(start_byte, PAGE_SIZE) + in iomap_write_delalloc_scan()
1089 start_byte, end_byte, punch); in iomap_write_delalloc_scan()
1097 start_byte = folio_next_index(folio) << PAGE_SHIFT; in iomap_write_delalloc_scan()
1138 loff_t start_byte, loff_t end_byte, iomap_punch_t punch) in iomap_write_delalloc_release() argument
1140 loff_t punch_start_byte = start_byte; in iomap_write_delalloc_release()
1151 while (start_byte < scan_end_byte) { in iomap_write_delalloc_release()
1154 start_byte = mapping_seek_hole_data(inode->i_mapping, in iomap_write_delalloc_release()
1155 start_byte, scan_end_byte, SEEK_DATA); in iomap_write_delalloc_release()
1160 if (start_byte == -ENXIO || start_byte == scan_end_byte) in iomap_write_delalloc_release()
1162 if (start_byte < 0) { in iomap_write_delalloc_release()
1163 error = start_byte; in iomap_write_delalloc_release()
1166 WARN_ON_ONCE(start_byte < punch_start_byte); in iomap_write_delalloc_release()
1167 WARN_ON_ONCE(start_byte > scan_end_byte); in iomap_write_delalloc_release()
1173 data_end = mapping_seek_hole_data(inode->i_mapping, start_byte, in iomap_write_delalloc_release()
1179 WARN_ON_ONCE(data_end <= start_byte); in iomap_write_delalloc_release()
1183 start_byte, data_end, punch); in iomap_write_delalloc_release()
1188 start_byte = data_end; in iomap_write_delalloc_release()
1233 loff_t start_byte; in iomap_file_buffered_write_punch_delalloc() local
1250 start_byte = round_down(pos, blocksize); in iomap_file_buffered_write_punch_delalloc()
1252 start_byte = round_up(pos + written, blocksize); in iomap_file_buffered_write_punch_delalloc()
1256 if (start_byte >= end_byte) in iomap_file_buffered_write_punch_delalloc()
1259 return iomap_write_delalloc_release(inode, start_byte, end_byte, in iomap_file_buffered_write_punch_delalloc()