Home
last modified time | relevance | path

Searched refs:XFS_DATA_FORK (Results 1 – 25 of 49) sorted by relevance

12

/linux/fs/xfs/scrub/
A Ddir.c56 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_check_ftype()
144 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_actor()
148 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_actor()
156 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_actor()
160 xchk_fblock_set_corrupt(sdc->sc, XFS_DATA_FORK, in xchk_dir_actor()
336 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_check_free_entry()
424 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, in xchk_directory_data_bestfree()
460 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
464 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
489 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_check_freesp()
[all …]
A Dquota.c95 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, offset); in xchk_quota_item()
108 xchk_fblock_set_warning(sc, XFS_DATA_FORK, offset); in xchk_quota_item()
110 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, offset); in xchk_quota_item()
113 xchk_fblock_set_warning(sc, XFS_DATA_FORK, offset); in xchk_quota_item()
115 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, offset); in xchk_quota_item()
118 xchk_fblock_set_warning(sc, XFS_DATA_FORK, offset); in xchk_quota_item()
132 xchk_fblock_set_warning(sc, XFS_DATA_FORK, in xchk_quota_item()
136 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, in xchk_quota_item()
188 ifp = XFS_IFORK_PTR(sc->ip, XFS_DATA_FORK); in xchk_quota_data_fork()
199 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, in xchk_quota_data_fork()
[all …]
A Dparent.c147 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0); in xchk_parent_validate()
174 xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error); in xchk_parent_validate()
180 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0); in xchk_parent_validate()
193 if (!xchk_fblock_xref_process_error(sc, XFS_DATA_FORK, 0, in xchk_parent_validate()
197 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0); in xchk_parent_validate()
234 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error)) in xchk_parent_validate()
250 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0); in xchk_parent_validate()
281 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0); in xchk_parent()
297 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error)) in xchk_parent()
300 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0); in xchk_parent()
[all …]
A Dsymlink.c44 ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xchk_symlink()
49 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0); in xchk_symlink()
57 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0); in xchk_symlink()
63 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error)) in xchk_symlink()
66 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0); in xchk_symlink()
A Drtbitmap.c55 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, 0); in xchk_rtbitmap_rec()
79 XFS_DATA_FORK); in xchk_rtbitmap_check_extents()
80 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, off, &error)) in xchk_rtbitmap_check_extents()
84 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, off); in xchk_rtbitmap_check_extents()
118 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, 0, &error)) in xchk_rtbitmap()
A Dbmap.c272 case XFS_DATA_FORK: in xchk_bmap_iextent_xref()
594 if (XFS_IS_REALTIME_INODE(sc->ip) && whichfork == XFS_DATA_FORK) in xchk_bmap_check_rmaps()
607 if (whichfork == XFS_DATA_FORK) in xchk_bmap_check_rmaps()
652 info.is_rt = whichfork == XFS_DATA_FORK && XFS_IS_REALTIME_INODE(ip); in xchk_bmap()
654 info.is_shared = whichfork == XFS_DATA_FORK && xfs_is_reflink_inode(ip); in xchk_bmap()
670 ASSERT(whichfork == XFS_DATA_FORK); in xchk_bmap()
737 return xchk_bmap(sc, XFS_DATA_FORK); in xchk_bmap_data()
/linux/fs/xfs/libxfs/
A Dxfs_trans_space.h47 ((w) == XFS_DATA_FORK ? (mp)->m_dir_geo->fsbcount : 1)
49 (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0))
61 (XFS_DAENTER_SPACE_RES(mp, XFS_DATA_FORK) * \
64 XFS_DAREMOVE_SPACE_RES(mp, XFS_DATA_FORK)
73 ((mp)->m_dir_geo->fsbcount + XFS_DAENTER_BMAP1B(mp, XFS_DATA_FORK))
82 (XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK) + (v))
86 ((b) + XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK))
92 (XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK) + \
A Dxfs_trans_resv.h64 (XFS_FSB_TO_B(mp, XFS_DAENTER_BLOCKS(mp, XFS_DATA_FORK)) + \
65 (XFS_FSB_TO_B(mp, XFS_DAENTER_BMAPS(mp, XFS_DATA_FORK) + 1)))
67 (XFS_DAENTER_BLOCKS(mp, XFS_DATA_FORK) + \
68 XFS_DAENTER_BMAPS(mp, XFS_DATA_FORK) + 1)
A Dxfs_dir2.c275 args->whichfork = XFS_DATA_FORK; in xfs_dir_createname()
369 args->whichfork = XFS_DATA_FORK; in xfs_dir_lookup()
443 args->whichfork = XFS_DATA_FORK; in xfs_dir_removename()
504 args->whichfork = XFS_DATA_FORK; in xfs_dir_replace()
606 if ((rval = xfs_bmap_last_offset(args->dp, &last, XFS_DATA_FORK))) in xfs_dir2_isblock()
628 if ((rval = xfs_bmap_last_offset(args->dp, &last, XFS_DATA_FORK))) in xfs_dir2_isleaf()
693 if ((error = xfs_bmap_last_before(tp, dp, &bno, XFS_DATA_FORK))) { in xfs_dir2_shrink_inode()
A Dxfs_dir2_sf.c345 xfs_init_local_fork(dp, XFS_DATA_FORK, sfp, size); in xfs_dir2_block_to_sf()
474 XFS_DATA_FORK); in xfs_dir2_sf_addname_easy()
558 xfs_idata_realloc(dp, -old_isize, XFS_DATA_FORK); in xfs_dir2_sf_addname_hard()
559 xfs_idata_realloc(dp, new_isize, XFS_DATA_FORK); in xfs_dir2_sf_addname_hard()
713 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xfs_dir2_sf_verify()
840 xfs_idata_realloc(dp, size, XFS_DATA_FORK); in xfs_dir2_sf_create()
1000 xfs_idata_realloc(dp, newsize - oldsize, XFS_DATA_FORK); in xfs_dir2_sf_removename()
1187 xfs_idata_realloc(dp, -oldsize, XFS_DATA_FORK); in xfs_dir2_sf_toino4()
1188 xfs_idata_realloc(dp, newsize, XFS_DATA_FORK); in xfs_dir2_sf_toino4()
1260 xfs_idata_realloc(dp, -oldsize, XFS_DATA_FORK); in xfs_dir2_sf_toino8()
[all …]
A Dxfs_trans_resv.c267 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), blksz) + in xfs_calc_write_reservation()
273 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), in xfs_calc_write_reservation()
315 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK) + 1, blksz); in xfs_calc_itruncate_reservation()
594 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), in xfs_calc_growrtalloc_reservation()
671 xfs_calc_buf_res(XFS_DAENTER_BMAP1B(mp, XFS_DATA_FORK) + 1, in xfs_calc_addafork_reservation()
761 xfs_calc_buf_res(XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK), 0)), in xfs_calc_attrrm_reservation()
A Dxfs_types.h86 #define XFS_DATA_FORK 0 macro
91 { XFS_DATA_FORK, "data" }, \
A Dxfs_inode_fork.h98 ((w) == XFS_DATA_FORK ? \
108 ((w) == XFS_DATA_FORK ? \
A Dxfs_inode_fork.c248 error = xfs_iformat_local(ip, dip, XFS_DATA_FORK, in xfs_iformat_data_fork()
254 return xfs_iformat_extents(ip, dip, XFS_DATA_FORK); in xfs_iformat_data_fork()
256 return xfs_iformat_btree(ip, dip, XFS_DATA_FORK); in xfs_iformat_data_fork()
644 ASSERT(whichfork == XFS_DATA_FORK); in xfs_iflush_fork()
A Dxfs_log_format.h349 return (w == XFS_DATA_FORK ? XFS_ILOG_DBROOT : XFS_ILOG_ABROOT); in xfs_ilog_fbroot()
354 return (w == XFS_DATA_FORK ? XFS_ILOG_DEXT : XFS_ILOG_AEXT); in xfs_ilog_fext()
359 return (w == XFS_DATA_FORK ? XFS_ILOG_DDATA : XFS_ILOG_ADATA); in xfs_ilog_fdata()
A Dxfs_bmap.c77 if (whichfork == XFS_DATA_FORK) { in xfs_bmap_compute_maxlevels()
184 level < XFS_BM_MAXLEVELS(mp, XFS_DATA_FORK); in xfs_bmap_worst_indlen()
929 XFS_DATA_FORK); in xfs_bmap_add_attrfork_extents()
964 dargs.whichfork = XFS_DATA_FORK; in xfs_bmap_add_attrfork_local()
971 XFS_DATA_FORK, in xfs_bmap_add_attrfork_local()
4033 if (whichfork == XFS_DATA_FORK && prealloc) in xfs_bmapi_reserve_delalloc()
4063 if (whichfork == XFS_DATA_FORK) { in xfs_bmap_alloc_userdata()
5166 whichfork == XFS_DATA_FORK); in xfs_bmap_del_extent_real()
5790 int whichfork = XFS_DATA_FORK; in xfs_bmap_collapse_extents()
5905 int whichfork = XFS_DATA_FORK; in xfs_bmap_insert_extents()
[all …]
A Dxfs_format.h900 ((w) == XFS_DATA_FORK ? \
915 ((w) == XFS_DATA_FORK ? XFS_DFORK_DPTR(dip) : XFS_DFORK_APTR(dip))
918 ((w) == XFS_DATA_FORK ? \
922 ((w) == XFS_DATA_FORK ? \
A Dxfs_dir2_block.c145 XFS_DATA_FORK, &xfs_dir3_block_buf_ops); in xfs_dir3_block_read()
1074 struct xfs_ifork *ifp = XFS_IFORK_PTR(dp, XFS_DATA_FORK); in xfs_dir2_sf_to_block()
1116 xfs_idata_realloc(dp, -ifp->if_bytes, XFS_DATA_FORK); in xfs_dir2_sf_to_block()
1117 xfs_bmap_local_to_extents_empty(tp, dp, XFS_DATA_FORK); in xfs_dir2_sf_to_block()
A Dxfs_symlink_remote.c207 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xfs_symlink_shortform_verify()
/linux/fs/xfs/
A Dxfs_iomap.c156 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xfs_iomap_eof_align_last_fsb()
246 error = xfs_iext_count_may_overflow(ip, XFS_DATA_FORK, nr_exts); in xfs_iomap_write_direct()
549 error = xfs_iext_count_may_overflow(ip, XFS_DATA_FORK, in xfs_iomap_write_unwritten()
874 int allocfork = XFS_DATA_FORK; in xfs_buffered_write_iomap_begin()
897 error = xfs_iread_extents(NULL, ip, XFS_DATA_FORK); in xfs_buffered_write_iomap_begin()
946 trace_xfs_iomap_found(ip, offset, count, XFS_DATA_FORK, in xfs_buffered_write_iomap_begin()
960 trace_xfs_iomap_found(ip, offset, count, XFS_DATA_FORK, in xfs_buffered_write_iomap_begin()
1025 allocfork == XFS_DATA_FORK ? &imap : &cmap, in xfs_buffered_write_iomap_begin()
1026 allocfork == XFS_DATA_FORK ? &icur : &ccur, in xfs_buffered_write_iomap_begin()
1027 allocfork == XFS_DATA_FORK ? eof : cow_eof); in xfs_buffered_write_iomap_begin()
[all …]
A Dxfs_bmap_util.c441 whichfork = XFS_DATA_FORK; in xfs_getbmap()
466 case XFS_DATA_FORK: in xfs_getbmap()
623 error = xfs_bmap_del_extent_delay(ip, XFS_DATA_FORK, &icur, in xfs_bmap_punch_delalloc_range()
747 error = xfs_itruncate_extents_flags(&tp, ip, XFS_DATA_FORK, in xfs_free_eofblocks()
862 error = xfs_iext_count_may_overflow(ip, XFS_DATA_FORK, in xfs_alloc_file_space()
917 error = xfs_iext_count_may_overflow(ip, XFS_DATA_FORK, in xfs_unmap_extent()
1199 error = xfs_iext_count_may_overflow(ip, XFS_DATA_FORK, in xfs_insert_file_space()
1299 tifp->if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)) in xfs_swap_extents_check_format()
1427 XFS_DATA_FORK, in xfs_swap_extent_rmap()
1435 XFS_DATA_FORK, in xfs_swap_extent_rmap()
[all …]
A Dxfs_symlink.c220 error = xfs_iext_count_may_overflow(dp, XFS_DATA_FORK, in xfs_symlink()
256 xfs_init_local_fork(ip, XFS_DATA_FORK, target_path, pathlen); in xfs_symlink()
455 xfs_idata_realloc(ip, -ip->i_df.if_bytes, XFS_DATA_FORK); in xfs_inactive_symlink_rmt()
A Dxfs_reflink.c604 resblks = XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK); in xfs_reflink_end_cow_extent()
618 error = xfs_iext_count_may_overflow(ip, XFS_DATA_FORK, in xfs_reflink_end_cow_extent()
1025 resblks = XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK); in xfs_reflink_remap_extent()
1117 error = xfs_iext_count_may_overflow(ip, XFS_DATA_FORK, iext_delta); in xfs_reflink_remap_extent()
1397 ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xfs_reflink_inode_has_shared_extents()
1398 error = xfs_iread_extents(tp, ip, XFS_DATA_FORK); in xfs_reflink_inode_has_shared_extents()
A Dxfs_dir2_readdir.c250 struct xfs_ifork *ifp = XFS_IFORK_PTR(dp, XFS_DATA_FORK); in xfs_dir2_leaf_readbuf()
261 error = xfs_iread_extents(args->trans, dp, XFS_DATA_FORK); in xfs_dir2_leaf_readbuf()
A Dxfs_bmap_item.c486 XFS_ATTR_FORK : XFS_DATA_FORK; in xfs_bui_item_recover()
495 XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK), 0, 0, &tp); in xfs_bui_item_recover()

Completed in 57 milliseconds

12