Searched refs:endbyte (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/mm/ |
D | fadvise.c | 37 loff_t endbyte; /* inclusive */ in generic_fadvise() local 73 endbyte = (u64)offset + (u64)len; in generic_fadvise() 74 if (!len || endbyte < len) in generic_fadvise() 75 endbyte = -1; in generic_fadvise() 77 endbyte--; /* inclusive */ in generic_fadvise() 100 end_index = endbyte >> PAGE_SHIFT; in generic_fadvise() 112 __filemap_fdatawrite_range(mapping, offset, endbyte, in generic_fadvise() 121 end_index = (endbyte >> PAGE_SHIFT); in generic_fadvise() 129 if ((endbyte & ~PAGE_MASK) != ~PAGE_MASK && in generic_fadvise() 130 endbyte != inode->i_size - 1) { in generic_fadvise()
|
D | filemap.c | 3835 loff_t pos, endbyte; in __generic_file_write_iter() local 3866 endbyte = pos + status - 1; in __generic_file_write_iter() 3867 err = filemap_write_and_wait_range(mapping, pos, endbyte); in __generic_file_write_iter() 3869 iocb->ki_pos = endbyte + 1; in __generic_file_write_iter() 3873 endbyte >> PAGE_SHIFT); in __generic_file_write_iter()
|
/linux-6.1.9/fs/ |
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-6.1.9/fs/ext4/ |
D | file.c | 604 loff_t endbyte; in ext4_dio_write_iter() local 619 endbyte = offset + err - 1; in ext4_dio_write_iter() 621 offset, endbyte); in ext4_dio_write_iter() 625 endbyte >> PAGE_SHIFT); in ext4_dio_write_iter()
|
/linux-6.1.9/fs/fuse/ |
D | file.c | 1306 loff_t endbyte = 0; in fuse_cache_write_iter() local 1354 endbyte = pos + written_buffered - 1; in fuse_cache_write_iter() 1357 endbyte); in fuse_cache_write_iter() 1363 endbyte >> PAGE_SHIFT); in fuse_cache_write_iter() 2986 loff_t endbyte = offset + length - 1; in fuse_file_fallocate() local 2988 err = fuse_writeback_range(inode, offset, endbyte); in fuse_file_fallocate()
|
/linux-6.1.9/fs/btrfs/ |
D | file.c | 1776 loff_t endbyte; in btrfs_direct_write() local 1914 endbyte = pos + written_buffered - 1; in btrfs_direct_write() 1915 err = btrfs_fdatawrite_range(inode, pos, endbyte); in btrfs_direct_write() 1918 err = filemap_fdatawait_range(inode->i_mapping, pos, endbyte); in btrfs_direct_write() 1924 endbyte >> PAGE_SHIFT); in btrfs_direct_write()
|