Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/scrub/
H A Drtsummary.c240 xfs_fileoff_t endoff; in xchk_rtsum_compare() local
249 endoff = XFS_B_TO_FSB(mp, ip->i_disk_size); in xchk_rtsum_compare()
250 if (xfs_iext_lookup_extent(ip, &ip->i_df, endoff, &icur, &map)) { in xchk_rtsum_compare()
251 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, endoff); in xchk_rtsum_compare()
255 while (off < endoff) { in xchk_rtsum_compare()
264 error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap, in xchk_rtsum_compare()
277 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()
H A Dbmap.c1027 xfs_fileoff_t endoff; in xchk_bmap() local
1093 error = xfs_bmap_last_offset(ip, &endoff, whichfork); in xchk_bmap()
1110 if (irec.br_startoff >= endoff) { in xchk_bmap()
/linux-6.15/fs/btrfs/
H A Dreflink.c23 u64 endoff, in clone_finish_inode_update() argument
38 if (endoff > destoff + olen) in clone_finish_inode_update()
39 endoff = destoff + olen; in clone_finish_inode_update()
40 if (endoff > inode->i_size) { in clone_finish_inode_update()
41 i_size_write(inode, endoff); in clone_finish_inode_update()
/linux-6.15/fs/ceph/
H A Dfile.c1307 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete() local
1308 if (endoff > i_size_read(inode)) { in ceph_aio_complete()
1309 if (ceph_inode_set_size(inode, endoff)) in ceph_aio_complete()
1378 loff_t endoff = aio_req->iocb->ki_pos + rc; in ceph_aio_complete_req() local
1379 if (endoff < i_size) in ceph_aio_complete_req()
1381 i_size - endoff); in ceph_aio_complete_req()
2669 loff_t endoff = 0; in ceph_fallocate() local
2803 loff_t size, endoff; in is_file_size_ok() local
2819 endoff = dst_off + len; in is_file_size_ok()
2820 if (inode_newsize_ok(dst_inode, endoff)) in is_file_size_ok()
[all …]
H A Dcaps.c2814 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument
2852 if (endoff >= 0 && endoff > (loff_t)ci->i_max_size) { in try_get_cap_refs()
2854 inode, ceph_vinop(inode), endoff, ci->i_max_size); in try_get_cap_refs()
2855 if (endoff > ci->i_requested_max_size) in try_get_cap_refs()
2982 if (endoff >= ci->i_max_size && endoff > ci->i_wanted_max_size) { in check_max_size()
2984 inode, ceph_vinop(inode), endoff); in check_max_size()
2985 ci->i_wanted_max_size = endoff; in check_max_size()
3040 int want, loff_t endoff, int *got) in __ceph_get_caps() argument
3061 ret = try_get_cap_refs(inode, need, want, endoff, in __ceph_get_caps()
3088 endoff, flags, &_got))) { in __ceph_get_caps()
[all …]
H A Dsuper.h1274 int need, int want, loff_t endoff, int *got);
1276 loff_t endoff, int *got);
/linux-6.15/fs/erofs/
H A Dzmap.c407 unsigned int endoff, afmt; in z_erofs_map_blocks_fo() local
421 endoff = ofs & ((1 << lclusterbits) - 1); in z_erofs_map_blocks_fo()
436 if (endoff >= m.clusterofs) { in z_erofs_map_blocks_fo()
/linux-6.15/fs/udf/
H A Ddirectory.c382 int endoff = off + udf_dir_entry_len(fi); in udf_copy_fi_to_bufs() local
396 endoff - off); in udf_copy_fi_to_bufs()
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_bmap.h281 uint32_t flags, xfs_fileoff_t startoff, xfs_fileoff_t endoff);
H A Dxfs_bmap.c6158 xfs_fileoff_t endoff) in xfs_bunmapi_range() argument
6160 xfs_filblks_t unmap_len = endoff - startoff + 1; in xfs_bunmapi_range()
/linux-6.15/fs/fuse/
H A Dfile.c2542 size_t endoff = pos & ~PAGE_MASK; in fuse_write_end() local
2543 if (endoff) in fuse_write_end()
2544 folio_zero_segment(folio, endoff, PAGE_SIZE); in fuse_write_end()