Lines Matching refs:targs
2236 struct xfs_alloc_arg targs; /* local allocation arguments */ in xfs_alloc_fix_freelist() local
2316 memset(&targs, 0, sizeof(targs)); in xfs_alloc_fix_freelist()
2318 xfs_rmap_skip_owner_update(&targs.oinfo); in xfs_alloc_fix_freelist()
2320 xfs_rmap_ag_owner(&targs.oinfo, XFS_RMAP_OWN_AG); in xfs_alloc_fix_freelist()
2327 xfs_defer_agfl_block(tp, args->agno, bno, &targs.oinfo); in xfs_alloc_fix_freelist()
2330 targs.tp = tp; in xfs_alloc_fix_freelist()
2331 targs.mp = mp; in xfs_alloc_fix_freelist()
2332 targs.agbp = agbp; in xfs_alloc_fix_freelist()
2333 targs.agno = args->agno; in xfs_alloc_fix_freelist()
2334 targs.alignment = targs.minlen = targs.prod = 1; in xfs_alloc_fix_freelist()
2335 targs.type = XFS_ALLOCTYPE_THIS_AG; in xfs_alloc_fix_freelist()
2336 targs.pag = pag; in xfs_alloc_fix_freelist()
2337 error = xfs_alloc_read_agfl(mp, tp, targs.agno, &agflbp); in xfs_alloc_fix_freelist()
2343 targs.agbno = 0; in xfs_alloc_fix_freelist()
2344 targs.maxlen = need - pag->pagf_flcount; in xfs_alloc_fix_freelist()
2345 targs.resv = XFS_AG_RESV_AGFL; in xfs_alloc_fix_freelist()
2348 error = xfs_alloc_ag_vextent(&targs); in xfs_alloc_fix_freelist()
2357 if (targs.agbno == NULLAGBLOCK) { in xfs_alloc_fix_freelist()
2365 for (bno = targs.agbno; bno < targs.agbno + targs.len; bno++) { in xfs_alloc_fix_freelist()