• Home
  • Raw
  • Download

Lines Matching refs:got

93 	error = xfs_bmap_extsize_align(mp, &ap->got, &ap->prev,  in xfs_bmap_rtalloc()
233 struct xfs_bmbt_irec got; in xfs_bmap_count_leaves() local
236 for_each_xfs_iext(ifp, &icur, &got) { in xfs_bmap_count_leaves()
237 if (!isnullstartblock(got.br_startblock)) { in xfs_bmap_count_leaves()
238 *count += got.br_blockcount; in xfs_bmap_count_leaves()
304 struct xfs_bmbt_irec *got) in xfs_getbmap_report_one() argument
310 error = xfs_reflink_trim_around_shared(ip, got, &shared); in xfs_getbmap_report_one()
314 if (isnullstartblock(got->br_startblock) || in xfs_getbmap_report_one()
315 got->br_startblock == DELAYSTARTBLOCK) { in xfs_getbmap_report_one()
324 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one()
330 p->bmv_block = xfs_fsb_to_db(ip, got->br_startblock); in xfs_getbmap_report_one()
333 if (got->br_state == XFS_EXT_UNWRITTEN && in xfs_getbmap_report_one()
340 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one()
341 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
416 struct xfs_bmbt_irec got, rec; in xfs_getbmap() local
520 if (!xfs_iext_lookup_extent(ip, ifp, bno, &icur, &got)) { in xfs_getbmap()
532 xfs_trim_extent(&got, first_bno, len); in xfs_getbmap()
538 if (got.br_startoff > bno) { in xfs_getbmap()
540 got.br_startoff); in xfs_getbmap()
550 bno = got.br_startoff + got.br_blockcount; in xfs_getbmap()
551 rec = got; in xfs_getbmap()
559 if (!xfs_iext_next_extent(ifp, &icur, &got)) { in xfs_getbmap()
597 struct xfs_bmbt_irec got, del; in xfs_bmap_punch_delalloc_range() local
604 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) in xfs_bmap_punch_delalloc_range()
607 while (got.br_startoff + got.br_blockcount > start_fsb) { in xfs_bmap_punch_delalloc_range()
608 del = got; in xfs_bmap_punch_delalloc_range()
618 if (!xfs_iext_prev_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()
624 &got, &del); in xfs_bmap_punch_delalloc_range()
625 if (error || !xfs_iext_get_extent(ifp, &icur, &got)) in xfs_bmap_punch_delalloc_range()