Lines Matching defs:args
61 struct xfs_alloc_arg args; /* block allocation args */
64 memset(&args, 0, sizeof(args));
65 args.tp = cur->bc_tp;
66 args.mp = cur->bc_mp;
67 args.type = XFS_ALLOCTYPE_NEAR_BNO;
68 args.fsbno = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_ag.agno,
69 xfs_refc_block(args.mp));
70 args.oinfo = XFS_RMAP_OINFO_REFC;
71 args.minlen = args.maxlen = args.prod = 1;
72 args.resv = XFS_AG_RESV_METADATA;
74 error = xfs_alloc_vextent(&args);
78 args.agbno, 1);
79 if (args.fsbno == NULLFSBLOCK) {
83 ASSERT(args.agno == cur->bc_ag.agno);
84 ASSERT(args.len == 1);
86 new->s = cpu_to_be32(args.agbno);