Searched refs:endbyte (Results 1 – 6 of 6) sorted by relevance
/linux/mm/ |
H A D | fadvise.c | 36 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/fs/ |
H A D | sync.c | 233 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/fs/ext2/ |
H A D | file.c | 250 loff_t pos, endbyte; in ext2_dio_write_iter() local 262 endbyte = pos + status - 1; in ext2_dio_write_iter() 264 endbyte); in ext2_dio_write_iter() 268 endbyte >> PAGE_SHIFT); in ext2_dio_write_iter()
|
/linux/fs/btrfs/ |
H A D | direct-io.c | 802 loff_t endbyte; in btrfs_direct_write() local 960 endbyte = pos + written_buffered - 1; in btrfs_direct_write() 961 ret = btrfs_fdatawrite_range(BTRFS_I(inode), pos, endbyte); in btrfs_direct_write() 964 ret = filemap_fdatawait_range(inode->i_mapping, pos, endbyte); in btrfs_direct_write() 970 endbyte >> PAGE_SHIFT); in btrfs_direct_write()
|
/linux/fs/ext4/ |
H A D | file.c | 600 loff_t endbyte; in ext4_dio_write_iter() local 615 endbyte = offset + err - 1; in ext4_dio_write_iter() 617 offset, endbyte); in ext4_dio_write_iter() 621 endbyte >> PAGE_SHIFT); in ext4_dio_write_iter()
|
/linux/fs/fuse/ |
H A D | file.c | 3131 loff_t endbyte = offset + length - 1; in fuse_file_fallocate() local 3133 err = fuse_writeback_range(inode, offset, endbyte); in fuse_file_fallocate()
|