Lines Matching refs:got
86 error = xfs_bmap_extsize_align(mp, &ap->got, &ap->prev, in xfs_bmap_rtalloc()
218 struct xfs_bmbt_irec got; in xfs_bmap_count_leaves() local
221 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves()
222 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves()
223 *count += got.br_blockcount; in xfs_bmap_count_leaves()
401 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument
407 error = xfs_reflink_trim_around_shared(ip, got, &shared); in xfs_getbmap_report_one()
411 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one()
412 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one()
421 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one()
427 p->bmv_block = xfs_fsb_to_db(ip, got->br_startblock); in xfs_getbmap_report_one()
430 if (got->br_state == XFS_EXT_UNWRITTEN && in xfs_getbmap_report_one()
437 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one()
438 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
513 struct xfs_bmbt_irec got, rec; in xfs_getbmap() local
619 if (!xfs_iext_lookup_extent(ip, ifp, bno, &icur, &got)) { in xfs_getbmap()
631 xfs_trim_extent(&got, first_bno, len); in xfs_getbmap()
637 if (got.br_startoff > bno) { in xfs_getbmap()
639 got.br_startoff); in xfs_getbmap()
649 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap()
650 rec = got; in xfs_getbmap()
658 if (!xfs_iext_next_extent(ifp, &icur, &got)) { in xfs_getbmap()
696 struct xfs_bmbt_irec got, del; in xfs_bmap_punch_delalloc_range() local
703 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_bmap_punch_delalloc_range()
706 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range()
707 del = got; in xfs_bmap_punch_delalloc_range()
717 if (!xfs_iext_prev_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()
723 &got, &del); in xfs_bmap_punch_delalloc_range()
724 if (error || !xfs_iext_get_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()