Home
last modified time | relevance | path

Searched refs:end_byte (Results 1 – 9 of 9) sorted by relevance

/linux/fs/btrfs/
H A Dfile-item.c911 u64 end_byte = bytenr + len; in truncate_one_csum() local
919 if (key->offset < bytenr && csum_end <= end_byte) { in truncate_one_csum()
929 } else if (key->offset >= bytenr && csum_end > end_byte && in truncate_one_csum()
930 end_byte > key->offset) { in truncate_one_csum()
937 u32 new_size = (csum_end - end_byte) >> blocksize_bits; in truncate_one_csum()
942 key->offset = end_byte; in truncate_one_csum()
958 u64 end_byte = bytenr + len; in btrfs_del_csums() local
975 key.offset = end_byte - 1; in btrfs_del_csums()
995 if (key.offset >= end_byte) in btrfs_del_csums()
1007 if (key.offset >= bytenr && csum_end <= end_byte) { in btrfs_del_csums()
[all …]
/linux/fs/iomap/
H A Dbuffered-io.c1349 struct folio *folio, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_ifs_punch() argument
1367 last_byte = min_t(loff_t, end_byte - 1, folio_next_pos(folio) - 1); in iomap_write_delalloc_ifs_punch()
1379 loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_punch() argument
1392 iomap_write_delalloc_ifs_punch(inode, folio, start_byte, end_byte, in iomap_write_delalloc_punch()
1399 *punch_start_byte = min_t(loff_t, end_byte, folio_next_pos(folio)); in iomap_write_delalloc_punch()
1420 loff_t *punch_start_byte, loff_t start_byte, loff_t end_byte, in iomap_write_delalloc_scan() argument
1423 while (start_byte < end_byte) { in iomap_write_delalloc_scan()
1436 start_byte, end_byte, iomap, punch); in iomap_write_delalloc_scan()
1505 loff_t end_byte, unsigned flags, struct iomap *iomap, in iomap_write_delalloc_release() argument
1509 loff_t scan_end_byte = min(i_size_read(inode), end_byte); in iomap_write_delalloc_release()
[all …]
/linux/drivers/input/touchscreen/
H A Dhynitron_cstxxx.c294 unsigned int touch_cnt, end_byte; in cst3xx_touch_report() local
327 end_byte = touch_cnt * 5 + 2; in cst3xx_touch_report()
328 if (buf[end_byte] != CST3XX_TOUCH_DATA_CHK_VAL) { in cst3xx_touch_report()
/linux/fs/xfs/
H A Dxfs_bmap_util.h35 xfs_off_t start_byte, xfs_off_t end_byte,
H A Dxfs_iomap.c2142 loff_t start_byte, end_byte; in xfs_buffered_write_iomap_end() local
2158 end_byte = round_up(offset + length, i_blocksize(inode)); in xfs_buffered_write_iomap_end()
2159 if (start_byte >= end_byte) in xfs_buffered_write_iomap_end()
2165 iomap_write_delalloc_release(inode, start_byte, end_byte, flags, in xfs_buffered_write_iomap_end()
2169 iomap_write_delalloc_release(inode, start_byte, end_byte, flags, in xfs_buffered_write_iomap_end()
H A Dxfs_bmap_util.c440 xfs_off_t end_byte, in xfs_bmap_punch_delalloc_range() argument
446 xfs_fileoff_t end_fsb = XFS_B_TO_FSB(mp, end_byte); in xfs_bmap_punch_delalloc_range()
/linux/mm/
H A Dfilemap.c480 loff_t start_byte, loff_t end_byte) in filemap_range_has_page() argument
484 pgoff_t max = end_byte >> PAGE_SHIFT; in filemap_range_has_page()
486 if (end_byte < start_byte) in filemap_range_has_page()
511 loff_t start_byte, loff_t end_byte) in __filemap_fdatawait_range() argument
514 pgoff_t end = end_byte >> PAGE_SHIFT; in __filemap_fdatawait_range()
556 loff_t end_byte) in filemap_fdatawait_range() argument
558 __filemap_fdatawait_range(mapping, start_byte, end_byte); in filemap_fdatawait_range()
578 loff_t start_byte, loff_t end_byte) in filemap_fdatawait_range_keep_errors() argument
580 __filemap_fdatawait_range(mapping, start_byte, end_byte); in filemap_fdatawait_range_keep_errors()
601 int file_fdatawait_range(struct file *file, loff_t start_byte, loff_t end_byte) in file_fdatawait_range() argument
[all …]
/linux/include/linux/
H A Dpagemap.h45 loff_t start_byte, loff_t end_byte);
1364 loff_t start_byte, loff_t end_byte);
1382 loff_t end_byte) in filemap_range_needs_writeback() argument
1389 return filemap_range_has_writeback(mapping, start_byte, end_byte); in filemap_range_needs_writeback()
H A Diomap.h463 loff_t end_byte, unsigned flags, struct iomap *iomap,