Home
last modified time | relevance | path

Searched refs:endbyte (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/mm/
Dfadvise.c36 loff_t endbyte; /* inclusive */ in generic_fadvise() local
72 endbyte = (u64)offset + (u64)len; in generic_fadvise()
73 if (!len || endbyte < len) in generic_fadvise()
74 endbyte = LLONG_MAX; in generic_fadvise()
76 endbyte--; /* inclusive */ in generic_fadvise()
99 end_index = endbyte >> PAGE_SHIFT; in generic_fadvise()
114 __filemap_fdatawrite_range(mapping, offset, endbyte, in generic_fadvise()
123 end_index = (endbyte >> PAGE_SHIFT); in generic_fadvise()
131 if ((endbyte & ~PAGE_MASK) != ~PAGE_MASK && in generic_fadvise()
132 endbyte != inode->i_size - 1) { in generic_fadvise()
/Linux-v6.6/fs/
Dsync.c233 loff_t endbyte; /* inclusive */ in sync_file_range() local
240 endbyte = offset + nbytes; in sync_file_range()
244 if ((s64)endbyte < 0) in sync_file_range()
246 if (endbyte < offset) in sync_file_range()
258 if (endbyte >= (0x100000000ULL << PAGE_SHIFT)) { in sync_file_range()
267 endbyte = LLONG_MAX; in sync_file_range()
269 endbyte--; /* inclusive */ in sync_file_range()
280 ret = file_fdatawait_range(file, offset, endbyte); in sync_file_range()
292 ret = __filemap_fdatawrite_range(mapping, offset, endbyte, in sync_file_range()
299 ret = file_fdatawait_range(file, offset, endbyte); in sync_file_range()
/Linux-v6.6/fs/ext2/
Dfile.c250 loff_t pos, endbyte; in ext2_dio_write_iter() local
263 endbyte = pos + status - 1; in ext2_dio_write_iter()
265 endbyte); in ext2_dio_write_iter()
269 endbyte >> PAGE_SHIFT); in ext2_dio_write_iter()
/Linux-v6.6/fs/ext4/
Dfile.c621 loff_t endbyte; in ext4_dio_write_iter() local
636 endbyte = offset + err - 1; in ext4_dio_write_iter()
638 offset, endbyte); in ext4_dio_write_iter()
642 endbyte >> PAGE_SHIFT); in ext4_dio_write_iter()
/Linux-v6.6/fs/btrfs/
Dfile.c1462 loff_t endbyte; in btrfs_direct_write() local
1612 endbyte = pos + written_buffered - 1; in btrfs_direct_write()
1613 err = btrfs_fdatawrite_range(inode, pos, endbyte); in btrfs_direct_write()
1616 err = filemap_fdatawait_range(inode->i_mapping, pos, endbyte); in btrfs_direct_write()
1622 endbyte >> PAGE_SHIFT); in btrfs_direct_write()
/Linux-v6.6/fs/fuse/
Dfile.c3020 loff_t endbyte = offset + length - 1; in fuse_file_fallocate() local
3022 err = fuse_writeback_range(inode, offset, endbyte); in fuse_file_fallocate()