Home
last modified time | relevance | path

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

/linux/fs/xfs/scrub/
H A Drtsummary.c236 xfs_fileoff_t endoff; in xchk_rtsum_compare() local
245 endoff = XFS_B_TO_FSB(mp, ip->i_disk_size); in xchk_rtsum_compare()
246 if (xfs_iext_lookup_extent(ip, &ip->i_df, endoff, &icur, &map)) { in xchk_rtsum_compare()
247 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, endoff); in xchk_rtsum_compare()
251 while (off < endoff) { in xchk_rtsum_compare()
260 error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap, in xchk_rtsum_compare()
273 for (off = 0; off < endoff; off++) { in xchk_rtsum_compare()
H A Drtbitmap.c155 xfs_fileoff_t endoff; in xchk_rtbitmap_check_extents() local
159 endoff = XFS_B_TO_FSB(mp, ip->i_disk_size); in xchk_rtbitmap_check_extents()
160 if (xfs_iext_lookup_extent(ip, &ip->i_df, endoff, &icur, &map)) { in xchk_rtbitmap_check_extents()
161 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, endoff); in xchk_rtbitmap_check_extents()
165 while (off < endoff) { in xchk_rtbitmap_check_extents()
173 error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap, in xchk_rtbitmap_check_extents()
/linux/fs/btrfs/
H A Dreflink.c24 u64 endoff, in clone_finish_inode_update() argument
39 if (endoff > destoff + olen) in clone_finish_inode_update()
40 endoff = destoff + olen; in clone_finish_inode_update()
41 if (endoff > inode->i_size) { in clone_finish_inode_update()
42 i_size_write(inode, endoff); in clone_finish_inode_update()
/linux/fs/ceph/
H A Dfile.c1301 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete() local
1302 if (endoff > i_size_read(inode)) { in ceph_aio_complete()
1303 if (ceph_inode_set_size(inode, endoff)) in ceph_aio_complete()
1372 loff_t endoff = aio_req->iocb->ki_pos + rc; in ceph_aio_complete_req() local
1373 if (endoff < i_size) in ceph_aio_complete_req()
1375 i_size - endoff); in ceph_aio_complete_req()
2679 loff_t endoff = 0; in ceph_fallocate() local
2718 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got); in ceph_fallocate()
2813 loff_t size, endoff; in is_file_size_ok() local
2829 endoff in is_file_size_ok()
[all...]
H A Dcaps.c2815 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument
2853 if (endoff >= 0 && endoff > (loff_t)ci->i_max_size) { in try_get_cap_refs()
2855 inode, ceph_vinop(inode), endoff, ci->i_max_size); in try_get_cap_refs()
2856 if (endoff > ci->i_requested_max_size) in try_get_cap_refs()
2975 static void check_max_size(struct inode *inode, loff_t endoff) in check_max_size() argument
2983 if (endoff >= ci->i_max_size && endoff > ci->i_wanted_max_size) { in check_max_size()
2985 inode, ceph_vinop(inode), endoff); in check_max_size()
2986 ci->i_wanted_max_size = endoff; in check_max_size()
3041 int want, loff_t endoff, int *got) in __ceph_get_caps() argument
3062 ret = try_get_cap_refs(inode, need, want, endoff, in __ceph_get_caps()
[all …]
H A Dsuper.h1302 int need, int want, loff_t endoff, int *got);
1304 loff_t endoff, int *got);
/linux/fs/erofs/
H A Dzmap.c400 unsigned int endoff; in z_erofs_map_blocks_fo() local
414 endoff = ofs & ((1 << lclusterbits) - 1); in z_erofs_map_blocks_fo()
425 if (m.type != Z_EROFS_LCLUSTER_TYPE_NONHEAD && endoff >= m.clusterofs) { in z_erofs_map_blocks_fo()