Lines Matching refs:got
87 error = xfs_bmap_extsize_align(mp, &ap->got, &ap->prev, in xfs_bmap_rtalloc()
189 struct xfs_bmbt_irec got; in xfs_bmap_count_leaves() local
192 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves()
193 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves()
194 *count += got.br_blockcount; in xfs_bmap_count_leaves()
262 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument
268 error = xfs_reflink_trim_around_shared(ip, got, &shared); in xfs_getbmap_report_one()
272 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one()
273 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one()
282 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one()
288 p->bmv_block = xfs_fsb_to_db(ip, got->br_startblock); in xfs_getbmap_report_one()
291 if (got->br_state == XFS_EXT_UNWRITTEN && in xfs_getbmap_report_one()
298 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one()
299 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
374 struct xfs_bmbt_irec got, rec; in xfs_getbmap() local
480 if (!xfs_iext_lookup_extent(ip, ifp, bno, &icur, &got)) { in xfs_getbmap()
492 xfs_trim_extent(&got, first_bno, len); in xfs_getbmap()
498 if (got.br_startoff > bno) { in xfs_getbmap()
500 got.br_startoff); in xfs_getbmap()
510 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap()
511 rec = got; in xfs_getbmap()
519 if (!xfs_iext_next_extent(ifp, &icur, &got)) { in xfs_getbmap()
557 struct xfs_bmbt_irec got, del; in xfs_bmap_punch_delalloc_range() local
564 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_bmap_punch_delalloc_range()
567 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range()
568 del = got; in xfs_bmap_punch_delalloc_range()
578 if (!xfs_iext_prev_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()
584 &got, &del); in xfs_bmap_punch_delalloc_range()
585 if (error || !xfs_iext_get_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()