Lines Matching refs:got

79 	struct xfs_bmbt_irec	got;  in xfs_bmap_count_leaves()  local
82 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves()
83 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves()
84 *count += got.br_blockcount; in xfs_bmap_count_leaves()
150 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument
156 error = xfs_reflink_trim_around_shared(ip, got, &shared); in xfs_getbmap_report_one()
160 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one()
161 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one()
174 p->bmv_block = xfs_fsb_to_db(ip, got->br_startblock); in xfs_getbmap_report_one()
177 if (got->br_state == XFS_EXT_UNWRITTEN && in xfs_getbmap_report_one()
184 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one()
185 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
260 struct xfs_bmbt_irec got, rec; in xfs_getbmap() local
364 if (!xfs_iext_lookup_extent(ip, ifp, bno, &icur, &got)) { in xfs_getbmap()
376 xfs_trim_extent(&got, first_bno, len); in xfs_getbmap()
382 if (got.br_startoff > bno) { in xfs_getbmap()
384 got.br_startoff); in xfs_getbmap()
394 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap()
395 rec = got; in xfs_getbmap()
403 if (!xfs_iext_next_extent(ifp, &icur, &got)) { in xfs_getbmap()
447 struct xfs_bmbt_irec got, del; in xfs_bmap_punch_delalloc_range() local
453 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_bmap_punch_delalloc_range()
456 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range()
457 del = got; in xfs_bmap_punch_delalloc_range()
467 if (!xfs_iext_prev_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()
479 xfs_bmap_del_extent_delay(ip, whichfork, &icur, &got, in xfs_bmap_punch_delalloc_range()
483 xfs_bmap_del_extent_delay(ip, whichfork, &icur, &got, in xfs_bmap_punch_delalloc_range()
487 if (!xfs_iext_get_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()