Lines Matching refs:targs
2531 struct xfs_alloc_arg targs; /* local allocation arguments */ in xfs_alloc_fix_freelist() local
2621 memset(&targs, 0, sizeof(targs)); in xfs_alloc_fix_freelist()
2624 targs.oinfo = XFS_RMAP_OINFO_SKIP_UPDATE; in xfs_alloc_fix_freelist()
2626 targs.oinfo = XFS_RMAP_OINFO_AG; in xfs_alloc_fix_freelist()
2633 xfs_defer_agfl_block(tp, args->agno, bno, &targs.oinfo); in xfs_alloc_fix_freelist()
2636 targs.tp = tp; in xfs_alloc_fix_freelist()
2637 targs.mp = mp; in xfs_alloc_fix_freelist()
2638 targs.agbp = agbp; in xfs_alloc_fix_freelist()
2639 targs.agno = args->agno; in xfs_alloc_fix_freelist()
2640 targs.alignment = targs.minlen = targs.prod = 1; in xfs_alloc_fix_freelist()
2641 targs.type = XFS_ALLOCTYPE_THIS_AG; in xfs_alloc_fix_freelist()
2642 targs.pag = pag; in xfs_alloc_fix_freelist()
2643 error = xfs_alloc_read_agfl(mp, tp, targs.agno, &agflbp); in xfs_alloc_fix_freelist()
2649 targs.agbno = 0; in xfs_alloc_fix_freelist()
2650 targs.maxlen = need - pag->pagf_flcount; in xfs_alloc_fix_freelist()
2651 targs.resv = XFS_AG_RESV_AGFL; in xfs_alloc_fix_freelist()
2654 error = xfs_alloc_ag_vextent(&targs); 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()