• Home
  • Raw
  • Download

Lines Matching refs:mp

75 	xfs_mount_t	*mp,		/* file system mount structure */  in xfs_rtbuf_get()  argument
87 ip = issum ? mp->m_rsumip : mp->m_rbmip; in xfs_rtbuf_get()
94 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_rtbuf_get()
95 XFS_FSB_TO_DADDR(mp, map.br_startblock), in xfs_rtbuf_get()
96 mp->m_bsize, 0, &bp, &xfs_rtbuf_ops); in xfs_rtbuf_get()
112 xfs_mount_t *mp, /* file system mount point */ in xfs_rtfind_back() argument
135 block = XFS_BITTOBLOCK(mp, start); in xfs_rtfind_back()
136 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtfind_back()
144 word = XFS_BITTOWORD(mp, start); in xfs_rtfind_back()
188 error = xfs_rtbuf_get(mp, tp, --block, 0, &bp); in xfs_rtfind_back()
193 word = XFS_BLOCKWMASK(mp); in xfs_rtfind_back()
234 error = xfs_rtbuf_get(mp, tp, --block, 0, &bp); in xfs_rtfind_back()
239 word = XFS_BLOCKWMASK(mp); in xfs_rtfind_back()
287 xfs_mount_t *mp, /* file system mount point */ in xfs_rtfind_forw() argument
310 block = XFS_BITTOBLOCK(mp, start); in xfs_rtfind_forw()
311 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtfind_forw()
319 word = XFS_BITTOWORD(mp, start); in xfs_rtfind_forw()
357 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { in xfs_rtfind_forw()
362 error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); in xfs_rtfind_forw()
402 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { in xfs_rtfind_forw()
407 error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); in xfs_rtfind_forw()
462 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtmodify_summary_int() argument
480 so = XFS_SUMOFFS(mp, log, bbno); in xfs_rtmodify_summary_int()
484 sb = XFS_SUMOFFSTOBLOCK(mp, so); in xfs_rtmodify_summary_int()
499 error = xfs_rtbuf_get(mp, tp, sb, 1, &bp); in xfs_rtmodify_summary_int()
512 sp = XFS_SUMPTR(mp, bp, so); in xfs_rtmodify_summary_int()
526 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtmodify_summary() argument
534 return xfs_rtmodify_summary_int(mp, tp, log, bbno, in xfs_rtmodify_summary()
544 xfs_mount_t *mp, /* file system mount point */ in xfs_rtmodify_range() argument
565 block = XFS_BITTOBLOCK(mp, start); in xfs_rtmodify_range()
569 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtmodify_range()
577 word = XFS_BITTOWORD(mp, start); in xfs_rtmodify_range()
606 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { in xfs_rtmodify_range()
614 error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); in xfs_rtmodify_range()
646 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { in xfs_rtmodify_range()
654 error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); in xfs_rtmodify_range()
701 xfs_mount_t *mp, /* file system mount point */ in xfs_rtfree_range() argument
717 error = xfs_rtmodify_range(mp, tp, start, len, 1); in xfs_rtfree_range()
726 error = xfs_rtfind_back(mp, tp, start, 0, &preblock); in xfs_rtfree_range()
733 error = xfs_rtfind_forw(mp, tp, end, mp->m_sb.sb_rextents - 1, in xfs_rtfree_range()
742 error = xfs_rtmodify_summary(mp, tp, in xfs_rtfree_range()
744 XFS_BITTOBLOCK(mp, preblock), -1, rbpp, rsb); in xfs_rtfree_range()
754 error = xfs_rtmodify_summary(mp, tp, in xfs_rtfree_range()
756 XFS_BITTOBLOCK(mp, end + 1), -1, rbpp, rsb); in xfs_rtfree_range()
765 error = xfs_rtmodify_summary(mp, tp, in xfs_rtfree_range()
767 XFS_BITTOBLOCK(mp, preblock), 1, rbpp, rsb); in xfs_rtfree_range()
777 xfs_mount_t *mp, /* file system mount point */ in xfs_rtcheck_range() argument
800 block = XFS_BITTOBLOCK(mp, start); in xfs_rtcheck_range()
804 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtcheck_range()
812 word = XFS_BITTOWORD(mp, start); in xfs_rtcheck_range()
850 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { in xfs_rtcheck_range()
855 error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); in xfs_rtcheck_range()
896 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { in xfs_rtcheck_range()
901 error = xfs_rtbuf_get(mp, tp, ++block, 0, &bp); in xfs_rtcheck_range()
953 xfs_mount_t *mp, /* file system mount point */ in xfs_rtcheck_alloc_range() argument
962 error = xfs_rtcheck_range(mp, tp, bno, len, 0, &new, &stat); in xfs_rtcheck_alloc_range()
982 xfs_mount_t *mp; /* file system mount structure */ in xfs_rtfree_extent() local
986 mp = tp->t_mountp; in xfs_rtfree_extent()
988 ASSERT(mp->m_rbmip->i_itemp != NULL); in xfs_rtfree_extent()
989 ASSERT(xfs_isilocked(mp->m_rbmip, XFS_ILOCK_EXCL)); in xfs_rtfree_extent()
991 error = xfs_rtcheck_alloc_range(mp, tp, bno, len); in xfs_rtfree_extent()
998 error = xfs_rtfree_range(mp, tp, bno, len, &sumbp, &sb); in xfs_rtfree_extent()
1010 if (tp->t_frextents_delta + mp->m_sb.sb_frextents == in xfs_rtfree_extent()
1011 mp->m_sb.sb_rextents) { in xfs_rtfree_extent()
1012 if (!(mp->m_rbmip->i_d.di_flags & XFS_DIFLAG_NEWRTBM)) in xfs_rtfree_extent()
1013 mp->m_rbmip->i_d.di_flags |= XFS_DIFLAG_NEWRTBM; in xfs_rtfree_extent()
1014 *(uint64_t *)&VFS_I(mp->m_rbmip)->i_atime = 0; in xfs_rtfree_extent()
1015 xfs_trans_log_inode(tp, mp->m_rbmip, XFS_ILOG_CORE); in xfs_rtfree_extent()
1030 struct xfs_mount *mp = tp->t_mountp; in xfs_rtalloc_query_range() local
1047 error = xfs_rtcheck_range(mp, tp, rtstart, 1, 1, &rtend, in xfs_rtalloc_query_range()
1053 error = xfs_rtfind_forw(mp, tp, rtstart, in xfs_rtalloc_query_range()