Lines Matching full:ifp

486 	struct xfs_ifork	*ifp = xfs_ifork_ptr(ip, info->whichfork);  in xchk_bmapbt_rec()  local
522 if (!xfs_iext_lookup_extent(ip, ifp, irec.br_startoff, &icur, in xchk_bmapbt_rec()
541 struct xfs_ifork *ifp = xfs_ifork_ptr(sc->ip, whichfork); in xchk_bmap_btree() local
548 info->was_loaded = !xfs_need_iread_extents(ifp); in xchk_bmap_btree()
579 struct xfs_ifork *ifp; in xchk_bmap_check_rmap() local
593 ifp = xfs_ifork_ptr(sc->ip, sbcri->whichfork); in xchk_bmap_check_rmap()
594 if (!ifp) { in xchk_bmap_check_rmap()
599 have_map = xfs_iext_lookup_extent(sc->ip, ifp, rec->rm_offset, in xchk_bmap_check_rmap()
631 have_map = xfs_iext_next_extent(ifp, &sbcri->icur, &irec); in xchk_bmap_check_rmap()
680 struct xfs_ifork *ifp = &ip->i_af; in xchk_bmap_check_empty_attrfork() local
688 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS || ifp->if_nextents != 0) in xchk_bmap_check_empty_attrfork()
724 struct xfs_ifork *ifp = &ip->i_df; in xchk_bmap_check_empty_datafork() local
736 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS || ifp->if_nextents != 0) in xchk_bmap_check_empty_datafork()
882 struct xfs_ifork *ifp; in xchk_bmap_iext_iter() local
885 ifp = xfs_ifork_ptr(info->sc->ip, info->whichfork); in xchk_bmap_iext_iter()
888 xfs_iext_next(ifp, &info->icur); in xchk_bmap_iext_iter()
889 if (!xfs_iext_get_extent(ifp, &info->icur, irec)) in xchk_bmap_iext_iter()
903 while (xfs_iext_peek_next_extent(ifp, &info->icur, &got)) { in xchk_bmap_iext_iter()
915 xfs_iext_next(ifp, &info->icur); in xchk_bmap_iext_iter()
945 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xchk_bmap() local
950 if (!ifp) in xchk_bmap()
982 switch (ifp->if_format) { in xchk_bmap()
1081 * NULL ifp check in xchk_bmap to conclude that the attr fork is ok, in xchk_bmap_attr()