| /linux/fs/xfs/scrub/ |
| H A D | rtsummary.c | 236 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 D | rtbitmap.c | 155 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 D | bmap.c | 1027 xfs_fileoff_t endoff; in xchk_bmap() local 1093 error = xfs_bmap_last_offset(ip, &endoff, whichfork); in xchk_bmap() 1111 if (irec.br_startoff >= endoff) { in xchk_bmap()
|
| /linux/fs/btrfs/ |
| H A D | reflink.c | 24 u64 endoff, in clone_finish_inode_update() argument 40 if (endoff > destoff + olen) in clone_finish_inode_update() 41 endoff = destoff + olen; in clone_finish_inode_update() 42 if (endoff > vfs_inode->i_size) { in clone_finish_inode_update() 43 i_size_write(vfs_inode, endoff); in clone_finish_inode_update()
|
| /linux/fs/ceph/ |
| H A D | file.c | 1335 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete() local 1336 if (endoff > i_size_read(inode)) { in ceph_aio_complete() 1337 if (ceph_inode_set_size(inode, endoff)) in ceph_aio_complete() 1406 loff_t endoff = aio_req->iocb->ki_pos + rc; in ceph_aio_complete_req() local 1407 if (endoff < i_size) in ceph_aio_complete_req() 1409 i_size - endoff); in ceph_aio_complete_req() 2795 loff_t endoff = 0; in ceph_fallocate() local 2834 ret = ceph_get_caps(file, CEPH_CAP_FILE_WR, want, endoff, &got); in ceph_fallocate() 2929 loff_t size, endoff; in is_file_size_ok() local 2945 endoff = dst_off + len; in is_file_size_ok() [all …]
|
| H A D | caps.c | 2867 loff_t endoff, int flags, int *got) in try_get_cap_refs() argument 2905 if (endoff >= 0 && endoff > (loff_t)ci->i_max_size) { in try_get_cap_refs() 2907 inode, ceph_vinop(inode), endoff, ci->i_max_size); in try_get_cap_refs() 2908 if (endoff > ci->i_requested_max_size) in try_get_cap_refs() 3027 static void check_max_size(struct inode *inode, loff_t endoff) in check_max_size() argument 3035 if (endoff >= ci->i_max_size && endoff > ci->i_wanted_max_size) { in check_max_size() 3037 inode, ceph_vinop(inode), endoff); in check_max_size() 3038 ci->i_wanted_max_size = endoff; in check_max_size() 3093 int want, loff_t endoff, int *got) in __ceph_get_caps() argument 3114 ret = try_get_cap_refs(inode, need, want, endoff, in __ceph_get_caps() [all …]
|
| H A D | super.h | 1362 int need, int want, loff_t endoff, int *got); 1364 loff_t endoff, int *got);
|
| /linux/fs/erofs/ |
| H A D | zmap.c | 410 unsigned int endoff; in z_erofs_map_blocks_fo() local 424 endoff = ofs & ((1 << lclusterbits) - 1); in z_erofs_map_blocks_fo() 435 if (m.type != Z_EROFS_LCLUSTER_TYPE_NONHEAD && endoff >= m.clusterofs) { in z_erofs_map_blocks_fo()
|