• Home
  • Raw
  • Download

Lines Matching refs:agbno

877 	diff = xfs_alloc_compute_diff(args->agbno, args->len,  in xfs_alloc_cur_check()
937 args->agbno = acur->bno; in xfs_alloc_cur_finish()
965 error = xfs_alloc_lookup_ge(cur, args->agbno, cur_len, &i); in xfs_alloc_cntbt_iter()
988 if (bno > args->agbno) { in xfs_alloc_cntbt_iter()
1079 *fbnop = args->agbno = fbno; in xfs_alloc_ag_vextent_small()
1105 args->agbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_small()
1159 if (error || args->agbno == NULLAGBLOCK) in xfs_alloc_ag_vextent()
1165 ASSERT(args->agbno % args->alignment == 0); in xfs_alloc_ag_vextent()
1170 args->agbno, args->len, &args->oinfo); in xfs_alloc_ag_vextent()
1182 args->agbno, args->len)); in xfs_alloc_ag_vextent()
1227 error = xfs_alloc_lookup_le(bno_cur, args->agbno, args->minlen, &i); in xfs_alloc_ag_vextent_exact()
1243 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact()
1256 if (tbno > args->agbno) in xfs_alloc_ag_vextent_exact()
1261 if (tend < args->agbno + args->minlen) in xfs_alloc_ag_vextent_exact()
1270 args->len = XFS_AGBLOCK_MIN(tend, args->agbno + args->maxlen) in xfs_alloc_ag_vextent_exact()
1271 - args->agbno; in xfs_alloc_ag_vextent_exact()
1273 ASSERT(args->agbno + args->len <= tend); in xfs_alloc_ag_vextent_exact()
1281 ASSERT(args->agbno + args->len <= be32_to_cpu(agf->agf_length)); in xfs_alloc_ag_vextent_exact()
1282 error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno, in xfs_alloc_ag_vextent_exact()
1299 args->agbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_exact()
1381 error = xfs_alloc_lookup_ge(acur->cnt, args->agbno, acur->cur_len, &i); in xfs_alloc_ag_vextent_locality()
1384 error = xfs_alloc_lookup_le(acur->bnolt, args->agbno, 0, &i); in xfs_alloc_ag_vextent_locality()
1387 error = xfs_alloc_lookup_ge(acur->bnogt, args->agbno, 0, &i); in xfs_alloc_ag_vextent_locality()
1571 if (args->agbno < args->min_agbno) in xfs_alloc_ag_vextent_near()
1572 args->agbno = args->min_agbno; in xfs_alloc_ag_vextent_near()
1573 if (args->agbno > args->max_agbno) in xfs_alloc_ag_vextent_near()
1574 args->agbno = args->max_agbno; in xfs_alloc_ag_vextent_near()
1637 args->agbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_near()
1847 args->agbno = rbno; in xfs_alloc_ag_vextent_size()
1849 args->agbno + args->len > in xfs_alloc_ag_vextent_size()
1868 args->agbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_size()
2331 xfs_agblock_t agbno, in xfs_free_agfl_block() argument
2338 error = xfs_free_ag_extent(tp, agbp, agno, agbno, 1, oinfo, in xfs_free_agfl_block()
2344 XFS_AGB_TO_DADDR(tp->t_mountp, agno, agbno), in xfs_free_agfl_block()
2455 xfs_fsblock_t agbno, in xfs_defer_agfl_block() argument
2466 new->xefi_startblock = XFS_AGB_TO_FSB(mp, agno, agbno); in xfs_defer_agfl_block()
2471 trace_xfs_agfl_free_defer(mp, agno, 0, agbno, 1); in xfs_defer_agfl_block()
2649 targs.agbno = 0; in xfs_alloc_fix_freelist()
2663 if (targs.agbno == NULLAGBLOCK) { in xfs_alloc_fix_freelist()
2671 for (bno = targs.agbno; bno < targs.agbno + targs.len; bno++) { in xfs_alloc_fix_freelist()
3116 args->agbno = NULLAGBLOCK; in xfs_alloc_vextent()
3159 args->agbno = XFS_FSB_TO_AGBNO(mp, args->fsbno); in xfs_alloc_vextent()
3175 args->agbno = XFS_FSB_TO_AGBNO(mp, args->fsbno); in xfs_alloc_vextent()
3244 args->agbno = NULLAGBLOCK; in xfs_alloc_vextent()
3251 args->agbno = XFS_FSB_TO_AGBNO(mp, in xfs_alloc_vextent()
3271 if (args->agbno == NULLAGBLOCK) in xfs_alloc_vextent()
3274 args->fsbno = XFS_AGB_TO_FSB(mp, args->agno, args->agbno); in xfs_alloc_vextent()
3278 ASSERT(args->agbno % args->alignment == 0); in xfs_alloc_vextent()
3339 xfs_agblock_t agbno = XFS_FSB_TO_AGBNO(mp, bno); in __xfs_free_extent() local
3358 if (XFS_IS_CORRUPT(mp, agbno >= mp->m_sb.sb_agblocks)) { in __xfs_free_extent()
3364 if (XFS_IS_CORRUPT(mp, agbno + len > be32_to_cpu(agf->agf_length))) { in __xfs_free_extent()
3369 error = xfs_free_ag_extent(tp, agbp, agno, agbno, len, oinfo, type); in __xfs_free_extent()
3375 xfs_extent_busy_insert(tp, pag, agbno, len, busy_flags); in __xfs_free_extent()