Lines Matching refs:targs
1940 struct xfs_alloc_arg targs; /* local allocation arguments */ in xfs_alloc_fix_freelist() local
2020 memset(&targs, 0, sizeof(targs)); in xfs_alloc_fix_freelist()
2021 targs.tp = tp; in xfs_alloc_fix_freelist()
2022 targs.mp = mp; in xfs_alloc_fix_freelist()
2023 targs.agbp = agbp; in xfs_alloc_fix_freelist()
2024 targs.agno = args->agno; in xfs_alloc_fix_freelist()
2025 targs.alignment = targs.minlen = targs.prod = targs.isfl = 1; in xfs_alloc_fix_freelist()
2026 targs.type = XFS_ALLOCTYPE_THIS_AG; in xfs_alloc_fix_freelist()
2027 targs.pag = pag; in xfs_alloc_fix_freelist()
2028 error = xfs_alloc_read_agfl(mp, tp, targs.agno, &agflbp); in xfs_alloc_fix_freelist()
2034 targs.agbno = 0; in xfs_alloc_fix_freelist()
2035 targs.maxlen = need - pag->pagf_flcount; in xfs_alloc_fix_freelist()
2038 error = xfs_alloc_ag_vextent(&targs); in xfs_alloc_fix_freelist()
2047 if (targs.agbno == NULLAGBLOCK) { in xfs_alloc_fix_freelist()
2055 for (bno = targs.agbno; bno < targs.agbno + targs.len; bno++) { in xfs_alloc_fix_freelist()