/linux/fs/xfs/scrub/ |
H A D | rtsummary.c | 240 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 D | rtbitmap.c | 154 xfs_fileoff_t endoff; in xchk_rtbitmap_check_extents() local 158 endoff = XFS_B_TO_FSB(mp, ip->i_disk_size); in xchk_rtbitmap_check_extents() 159 if (xfs_iext_lookup_extent(ip, &ip->i_df, endoff, &icur, &map)) { in xchk_rtbitmap_check_extents() 160 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, endoff); in xchk_rtbitmap_check_extents() 164 while (off < endoff) { in xchk_rtbitmap_check_extents() 172 error = xfs_bmapi_read(ip, off, endoff - off, &map, &nmap, in xchk_rtbitmap_check_extents()
|
H A D | bmap.c | 1027 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/fs/btrfs/ |
H A D | reflink.c | 23 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/fs/ceph/ |
H A D | file.c | 1307 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 2708 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got); in ceph_fallocate() 2803 loff_t size, endoff; in is_file_size_ok() local 2819 endoff = dst_off + len; in is_file_size_ok() [all …]
|
H A D | caps.c | 2814 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() 2974 static void check_max_size(struct inode *inode, loff_t endoff) in check_max_size() argument 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() [all …]
|
/linux/fs/erofs/ |
H A D | zmap.c | 418 unsigned int lclusterbits, endoff, afmt; in z_erofs_do_map_blocks() local 425 endoff = ofs & ((1 << lclusterbits) - 1); in z_erofs_do_map_blocks() 441 if (endoff >= m.clusterofs) { in z_erofs_do_map_blocks()
|
/linux/fs/fuse/ |
H A D | file.c | 2542 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()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_bmap.c | 6428 xfs_fileoff_t endoff) in xfs_bunmapi_range() argument 6430 xfs_filblks_t unmap_len = endoff - startoff + 1; in xfs_bunmapi_range()
|