Lines Matching refs:targs
2491 struct xfs_alloc_arg targs; /* local allocation arguments */ in xfs_alloc_fix_freelist() local
2572 memset(&targs, 0, sizeof(targs)); in xfs_alloc_fix_freelist()
2575 targs.oinfo = XFS_RMAP_OINFO_SKIP_UPDATE; in xfs_alloc_fix_freelist()
2577 targs.oinfo = XFS_RMAP_OINFO_AG; in xfs_alloc_fix_freelist()
2584 xfs_defer_agfl_block(tp, args->agno, bno, &targs.oinfo); in xfs_alloc_fix_freelist()
2587 targs.tp = tp; in xfs_alloc_fix_freelist()
2588 targs.mp = mp; in xfs_alloc_fix_freelist()
2589 targs.agbp = agbp; in xfs_alloc_fix_freelist()
2590 targs.agno = args->agno; in xfs_alloc_fix_freelist()
2591 targs.alignment = targs.minlen = targs.prod = 1; in xfs_alloc_fix_freelist()
2592 targs.type = XFS_ALLOCTYPE_THIS_AG; in xfs_alloc_fix_freelist()
2593 targs.pag = pag; in xfs_alloc_fix_freelist()
2594 error = xfs_alloc_read_agfl(mp, tp, targs.agno, &agflbp); in xfs_alloc_fix_freelist()
2600 targs.agbno = 0; in xfs_alloc_fix_freelist()
2601 targs.maxlen = need - pag->pagf_flcount; in xfs_alloc_fix_freelist()
2602 targs.resv = XFS_AG_RESV_AGFL; in xfs_alloc_fix_freelist()
2605 error = xfs_alloc_ag_vextent(&targs); in xfs_alloc_fix_freelist()
2614 if (targs.agbno == NULLAGBLOCK) { in xfs_alloc_fix_freelist()
2622 for (bno = targs.agbno; bno < targs.agbno + targs.len; bno++) { in xfs_alloc_fix_freelist()