Searched refs:endbyte (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/mm/ |
D | fadvise.c | 35 loff_t endbyte; /* inclusive */ in generic_fadvise() local 71 endbyte = (u64)offset + (u64)len; in generic_fadvise() 72 if (!len || endbyte < len) in generic_fadvise() 73 endbyte = -1; in generic_fadvise() 75 endbyte--; /* inclusive */ in generic_fadvise() 98 end_index = endbyte >> PAGE_SHIFT; in generic_fadvise() 115 __filemap_fdatawrite_range(mapping, offset, endbyte, in generic_fadvise() 124 end_index = (endbyte >> PAGE_SHIFT); in generic_fadvise() 132 if ((endbyte & ~PAGE_MASK) != ~PAGE_MASK && in generic_fadvise() 133 endbyte != inode->i_size - 1) { in generic_fadvise()
|
D | filemap.c | 3389 loff_t pos, endbyte; in __generic_file_write_iter() local 3419 endbyte = pos + status - 1; in __generic_file_write_iter() 3420 err = filemap_write_and_wait_range(mapping, pos, endbyte); in __generic_file_write_iter() 3422 iocb->ki_pos = endbyte + 1; in __generic_file_write_iter() 3426 endbyte >> PAGE_SHIFT); in __generic_file_write_iter()
|
/Linux-v5.4/fs/ |
D | sync.c | 242 loff_t endbyte; /* inclusive */ in sync_file_range() local 249 endbyte = offset + nbytes; in sync_file_range() 253 if ((s64)endbyte < 0) in sync_file_range() 255 if (endbyte < offset) in sync_file_range() 267 if (endbyte >= (0x100000000ULL << PAGE_SHIFT)) { in sync_file_range() 276 endbyte = LLONG_MAX; in sync_file_range() 278 endbyte--; /* inclusive */ in sync_file_range() 289 ret = file_fdatawait_range(file, offset, endbyte); in sync_file_range() 301 ret = __filemap_fdatawrite_range(mapping, offset, endbyte, in sync_file_range() 308 ret = file_fdatawait_range(file, offset, endbyte); in sync_file_range()
|
/Linux-v5.4/fs/gfs2/ |
D | file.c | 844 loff_t pos, endbyte; in gfs2_file_write_iter() local 862 endbyte = pos + buffered - 1; in gfs2_file_write_iter() 863 ret = filemap_write_and_wait_range(mapping, pos, endbyte); in gfs2_file_write_iter() 869 endbyte >> PAGE_SHIFT); in gfs2_file_write_iter()
|
/Linux-v5.4/fs/fuse/ |
D | file.c | 1258 loff_t endbyte = 0; in fuse_cache_write_iter() local 1299 endbyte = pos + written_buffered - 1; in fuse_cache_write_iter() 1302 endbyte); in fuse_cache_write_iter() 1308 endbyte >> PAGE_SHIFT); in fuse_cache_write_iter() 3174 loff_t endbyte = offset + length - 1; in fuse_file_fallocate() local 3176 err = fuse_writeback_range(inode, offset, endbyte); in fuse_file_fallocate()
|
/Linux-v5.4/fs/btrfs/ |
D | file.c | 1834 loff_t endbyte; in __btrfs_direct_write() local 1852 endbyte = pos + written_buffered - 1; in __btrfs_direct_write() 1853 err = btrfs_fdatawrite_range(inode, pos, endbyte); in __btrfs_direct_write() 1856 err = filemap_fdatawait_range(inode->i_mapping, pos, endbyte); in __btrfs_direct_write() 1862 endbyte >> PAGE_SHIFT); in __btrfs_direct_write()
|