Lines Matching refs:got
91 error = xfs_bmap_extsize_align(mp, &ap->got, &ap->prev, in xfs_bmap_rtalloc()
223 struct xfs_bmbt_irec got; in xfs_bmap_count_leaves() local
226 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves()
227 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves()
228 *count += got.br_blockcount; in xfs_bmap_count_leaves()
406 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument
412 error = xfs_reflink_trim_around_shared(ip, got, &shared, &trimmed); in xfs_getbmap_report_one()
416 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one()
417 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one()
426 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one()
432 p->bmv_block = xfs_fsb_to_db(ip, got->br_startblock); in xfs_getbmap_report_one()
435 if (got->br_state == XFS_EXT_UNWRITTEN && in xfs_getbmap_report_one()
442 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one()
443 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
518 struct xfs_bmbt_irec got, rec; in xfs_getbmap() local
624 if (!xfs_iext_lookup_extent(ip, ifp, bno, &icur, &got)) { in xfs_getbmap()
636 xfs_trim_extent(&got, first_bno, len); in xfs_getbmap()
642 if (got.br_startoff > bno) { in xfs_getbmap()
644 got.br_startoff); in xfs_getbmap()
654 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap()
655 rec = got; in xfs_getbmap()
663 if (!xfs_iext_next_extent(ifp, &icur, &got)) { in xfs_getbmap()
701 struct xfs_bmbt_irec got, del; in xfs_bmap_punch_delalloc_range() local
708 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_bmap_punch_delalloc_range()
711 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range()
712 del = got; in xfs_bmap_punch_delalloc_range()
722 if (!xfs_iext_prev_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()
728 &got, &del); in xfs_bmap_punch_delalloc_range()
729 if (error || !xfs_iext_get_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()