Home
last modified time | relevance | path

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

/fs/ext4/
Dfile.c445 loff_t endoff; in ext4_find_unwritten_pgoff() local
453 endoff = (loff_t)(map->m_lblk + map->m_len) << blkbits; in ext4_find_unwritten_pgoff()
456 end = endoff >> PAGE_CACHE_SHIFT; in ext4_find_unwritten_pgoff()
477 if (whence == SEEK_HOLE && lastoff < endoff && in ext4_find_unwritten_pgoff()
537 if (whence == SEEK_HOLE && lastoff < endoff) { in ext4_find_unwritten_pgoff()
/fs/xfs/
Dxfs_bmap_util.c282 xfs_fileoff_t endoff, in xfs_bmap_eof() argument
293 *eof = endoff >= rec.br_startoff + rec.br_blockcount; in xfs_bmap_eof()
1123 xfs_off_t endoff) in xfs_zero_remaining_bytes() argument
1142 if (endoff > XFS_ISIZE(ip)) in xfs_zero_remaining_bytes()
1143 endoff = XFS_ISIZE(ip); in xfs_zero_remaining_bytes()
1145 for (offset = startoff; offset <= endoff; offset = lastoffset + 1) { in xfs_zero_remaining_bytes()
1170 if (lastoffset > endoff) in xfs_zero_remaining_bytes()
1171 lastoffset = endoff; in xfs_zero_remaining_bytes()
Dxfs_bmap_util.h32 int xfs_bmap_eof(struct xfs_inode *ip, xfs_fileoff_t endoff,
Dxfs_file.c1200 loff_t endoff; in xfs_find_get_desired_pgoff() local
1208 endoff = XFS_FSB_TO_B(mp, map->br_startoff + map->br_blockcount); in xfs_find_get_desired_pgoff()
1209 end = endoff >> PAGE_CACHE_SHIFT; in xfs_find_get_desired_pgoff()
1235 if (lastoff == startoff || lastoff < endoff) { in xfs_find_get_desired_pgoff()
1256 if (type == HOLE_OFF && lastoff < endoff && in xfs_find_get_desired_pgoff()
/fs/ceph/
Dcaps.c2331 loff_t endoff, bool nonblock, int *got, int *err) in try_get_cap_refs() argument
2370 if (endoff >= 0 && endoff > (loff_t)ci->i_max_size) { in try_get_cap_refs()
2372 inode, endoff, ci->i_max_size); in try_get_cap_refs()
2373 if (endoff > ci->i_requested_max_size) { in try_get_cap_refs()
2469 static void check_max_size(struct inode *inode, loff_t endoff) in check_max_size() argument
2476 if (endoff >= ci->i_max_size && endoff > ci->i_wanted_max_size) { in check_max_size()
2478 inode, endoff); in check_max_size()
2479 ci->i_wanted_max_size = endoff; in check_max_size()
2498 loff_t endoff, int *got, struct page **pinned_page) in ceph_get_caps() argument
2507 if (endoff > 0) in ceph_get_caps()
[all …]
Dfile.c1354 loff_t endoff = 0; in ceph_fallocate() local
1388 endoff = offset + length; in ceph_fallocate()
1395 ret = ceph_get_caps(ci, CEPH_CAP_FILE_WR, want, endoff, &got, NULL); in ceph_fallocate()
1403 } else if (endoff > size) { in ceph_fallocate()
1405 if (ceph_inode_set_size(inode, endoff)) in ceph_fallocate()
Dsuper.h910 loff_t endoff, int *got, struct page **pinned_page);
/fs/btrfs/
Dioctl.c3322 u64 endoff, in clone_finish_inode_update() argument
3337 if (endoff > destoff + olen) in clone_finish_inode_update()
3338 endoff = destoff + olen; in clone_finish_inode_update()
3339 if (endoff > inode->i_size) in clone_finish_inode_update()
3340 btrfs_i_size_write(inode, endoff); in clone_finish_inode_update()
/fs/fuse/
Dfile.c2016 size_t endoff = (pos + copied) & ~PAGE_CACHE_MASK; in fuse_write_end() local
2017 if (endoff) in fuse_write_end()
2018 zero_user_segment(page, endoff, PAGE_CACHE_SIZE); in fuse_write_end()