• Home
  • Raw
  • Download

Lines Matching refs:whichfork

97 	int			whichfork;  member
114 if (info->whichfork == XFS_ATTR_FORK) in xchk_bmap_get_rmap()
123 if (info->whichfork == XFS_COW_FORK) in xchk_bmap_get_rmap()
160 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, in xchk_bmap_get_rmap()
179 if (info->whichfork == XFS_COW_FORK) in xchk_bmap_xref_rmap()
192 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, in xchk_bmap_xref_rmap()
200 if (info->whichfork != XFS_COW_FORK) { in xchk_bmap_xref_rmap()
206 info->whichfork, irec->br_startoff); in xchk_bmap_xref_rmap()
210 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, in xchk_bmap_xref_rmap()
223 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, in xchk_bmap_xref_rmap()
226 if (!!(info->whichfork == XFS_ATTR_FORK) != in xchk_bmap_xref_rmap()
228 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, in xchk_bmap_xref_rmap()
231 xchk_fblock_xref_set_corrupt(info->sc, info->whichfork, in xchk_bmap_xref_rmap()
264 if (!xchk_fblock_process_error(info->sc, info->whichfork, in xchk_bmap_iextent_xref()
271 switch (info->whichfork) { in xchk_bmap_iextent_xref()
302 if (!S_ISDIR(VFS_I(ip)->i_mode) && info->whichfork != XFS_ATTR_FORK) in xchk_bmap_dirattr_extent()
306 xchk_fblock_set_corrupt(info->sc, info->whichfork, in xchk_bmap_dirattr_extent()
311 xchk_fblock_set_corrupt(info->sc, info->whichfork, off); in xchk_bmap_dirattr_extent()
330 xchk_fblock_set_corrupt(info->sc, info->whichfork, in xchk_bmap_iextent()
337 xchk_fblock_set_corrupt(info->sc, info->whichfork, in xchk_bmap_iextent()
345 xchk_fblock_set_corrupt(info->sc, info->whichfork, in xchk_bmap_iextent()
350 xchk_fblock_set_corrupt(info->sc, info->whichfork, in xchk_bmap_iextent()
353 xchk_fblock_set_corrupt(info->sc, info->whichfork, in xchk_bmap_iextent()
359 xchk_fblock_set_corrupt(info->sc, info->whichfork, in xchk_bmap_iextent()
366 xchk_fblock_set_corrupt(info->sc, info->whichfork, in xchk_bmap_iextent()
371 info->whichfork == XFS_ATTR_FORK) in xchk_bmap_iextent()
372 xchk_fblock_set_corrupt(info->sc, info->whichfork, in xchk_bmap_iextent()
400 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, info->whichfork); in xchk_bmapbt_rec()
415 info->whichfork, 0); in xchk_bmapbt_rec()
436 xchk_fblock_set_corrupt(bs->sc, info->whichfork, in xchk_bmapbt_rec()
445 int whichfork, in xchk_bmap_btree() argument
449 struct xfs_ifork *ifp = XFS_IFORK_PTR(sc->ip, whichfork); in xchk_bmap_btree()
458 error = xfs_iread_extents(sc->tp, ip, whichfork); in xchk_bmap_btree()
459 if (!xchk_fblock_process_error(sc, whichfork, 0, &error)) in xchk_bmap_btree()
464 cur = xfs_bmbt_init_cursor(mp, sc->tp, ip, whichfork); in xchk_bmap_btree()
465 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork); in xchk_bmap_btree()
474 int whichfork; member
494 if ((sbcri->whichfork == XFS_ATTR_FORK) ^ in xchk_bmap_check_rmap()
501 ifp = XFS_IFORK_PTR(sc->ip, sbcri->whichfork); in xchk_bmap_check_rmap()
503 xchk_fblock_set_corrupt(sc, sbcri->whichfork, in xchk_bmap_check_rmap()
510 xchk_fblock_set_corrupt(sc, sbcri->whichfork, in xchk_bmap_check_rmap()
521 xchk_fblock_set_corrupt(sc, sbcri->whichfork, in xchk_bmap_check_rmap()
525 xchk_fblock_set_corrupt(sc, sbcri->whichfork, in xchk_bmap_check_rmap()
528 xchk_fblock_set_corrupt(sc, sbcri->whichfork, in xchk_bmap_check_rmap()
539 xchk_fblock_set_corrupt(sc, sbcri->whichfork, in xchk_bmap_check_rmap()
553 int whichfork, in xchk_bmap_check_ag_rmaps() argument
572 sbcri.whichfork = whichfork; in xchk_bmap_check_ag_rmaps()
587 int whichfork) in xchk_bmap_check_rmaps() argument
589 struct xfs_ifork *ifp = XFS_IFORK_PTR(sc->ip, whichfork); in xchk_bmap_check_rmaps()
595 whichfork == XFS_COW_FORK || in xchk_bmap_check_rmaps()
600 if (XFS_IS_REALTIME_INODE(sc->ip) && whichfork == XFS_DATA_FORK) in xchk_bmap_check_rmaps()
603 ASSERT(XFS_IFORK_PTR(sc->ip, whichfork) != NULL); in xchk_bmap_check_rmaps()
613 if (whichfork == XFS_DATA_FORK) in xchk_bmap_check_rmaps()
623 error = xchk_bmap_check_ag_rmaps(sc, whichfork, agno); in xchk_bmap_check_rmaps()
642 int whichfork) in xchk_bmap() argument
648 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xchk_bmap()
657 info.is_rt = whichfork == XFS_DATA_FORK && XFS_IS_REALTIME_INODE(ip); in xchk_bmap()
658 info.whichfork = whichfork; in xchk_bmap()
659 info.is_shared = whichfork == XFS_DATA_FORK && xfs_is_reflink_inode(ip); in xchk_bmap()
662 switch (whichfork) { in xchk_bmap()
676 ASSERT(whichfork == XFS_DATA_FORK); in xchk_bmap()
689 xchk_fblock_set_corrupt(sc, whichfork, 0); in xchk_bmap()
694 if (whichfork == XFS_COW_FORK) { in xchk_bmap()
695 xchk_fblock_set_corrupt(sc, whichfork, 0); in xchk_bmap()
699 error = xchk_bmap_btree(sc, whichfork, &info); in xchk_bmap()
704 xchk_fblock_set_corrupt(sc, whichfork, 0); in xchk_bmap()
712 error = xfs_bmap_last_offset(ip, &endoff, whichfork); in xchk_bmap()
713 if (!xchk_fblock_process_error(sc, whichfork, 0, &error)) in xchk_bmap()
718 ifp = XFS_IFORK_PTR(ip, whichfork); in xchk_bmap()
726 xchk_fblock_set_corrupt(sc, whichfork, in xchk_bmap()
735 error = xchk_bmap_check_rmaps(sc, whichfork); in xchk_bmap()
736 if (!xchk_fblock_xref_process_error(sc, whichfork, 0, &error)) in xchk_bmap()