Lines Matching refs:sz
128 size_t sz) in allocate_stack_slot() argument
136 assert(sz <= 8); in allocate_stack_slot()
140 assert(sz <= 8); in allocate_stack_slot()
144 size_t off = sz < a ? a - sz : 0; in allocate_stack_slot()
147 ctx->stack_pointer += sz > a ? sz : a; in allocate_stack_slot()
160 size_t sz) in allocate_gpr() argument
163 return allocate_stack_slot(ctx, proc, info, valuep, sz); in allocate_gpr()
172 size_t sz) in allocate_gpr_pair() argument
175 assert(sz <= 8); in allocate_gpr_pair()
179 return allocate_stack_slot(ctx, proc, info, valuep, sz); in allocate_gpr_pair()
182 if (value_reserve(valuep, sz) == NULL) in allocate_gpr_pair()
195 memcpy(ptr, u.buf, sz); in allocate_gpr_pair()
203 size_t sz) in allocate_fpr() argument
208 return allocate_stack_slot(ctx, proc, info, valuep, sz); in allocate_fpr()
210 if (value_reserve(valuep, sz) == NULL) in allocate_fpr()
214 &ctx->regs.fp_regs.fprs[ctx->freg], sz); in allocate_fpr()
225 size_t sz = type_sizeof(proc, info); in arch_fetch_arg_next() local
226 if (sz == (size_t)-1) in arch_fetch_arg_next()
239 return allocate_fpr(ctx, proc, info, valuep, sz); in arch_fetch_arg_next()
246 if (sz <= (s390x(ctx) ? 8 : 4)) in arch_fetch_arg_next()
247 return allocate_gpr(ctx, proc, info, valuep, sz); in arch_fetch_arg_next()
248 else if (sz <= 8) in arch_fetch_arg_next()
249 return allocate_gpr_pair(ctx, proc, info, valuep, sz); in arch_fetch_arg_next()
266 return allocate_gpr(ctx, proc, info, valuep, sz); in arch_fetch_arg_next()