Home
last modified time | relevance | path

Searched refs:va_arg (Results 1 – 25 of 130) sorted by relevance

123456

/openbmc/linux/net/9p/
H A Dprotocol.c70 va_arg(ap, int32_t); in p9_msg_buf_size()
71 va_arg(ap, int32_t); in p9_msg_buf_size()
73 const char *uname = va_arg(ap, const char *); in p9_msg_buf_size()
74 const char *aname = va_arg(ap, const char *); in p9_msg_buf_size()
80 va_arg(ap, int32_t); in p9_msg_buf_size()
81 va_arg(ap, int32_t); in p9_msg_buf_size()
83 uint i, nwname = va_arg(ap, int); in p9_msg_buf_size()
85 const char **wnames = va_arg(ap, const char **); in p9_msg_buf_size()
94 va_arg(ap, int32_t); in p9_msg_buf_size()
95 va_arg(ap, int32_t); in p9_msg_buf_size()
[all …]
/openbmc/u-boot/lib/
H A Dtpm-common.c33 offset = va_arg(args, size_t); in pack_byte_string()
34 value = va_arg(args, int); in pack_byte_string()
38 offset = va_arg(args, size_t); in pack_byte_string()
39 value = va_arg(args, int); in pack_byte_string()
43 offset = va_arg(args, size_t); in pack_byte_string()
44 value = va_arg(args, u32); in pack_byte_string()
48 offset = va_arg(args, size_t); in pack_byte_string()
49 data = va_arg(args, u8 *); in pack_byte_string()
50 length = va_arg(args, u32); in pack_byte_string()
95 offset = va_arg(args, size_t); in unpack_byte_string()
[all …]
H A Dvsprintf.c567 field_width = va_arg(args, int); in vsnprintf_internal()
583 precision = va_arg(args, int); in vsnprintf_internal()
610 ADDCH(str, (unsigned char) va_arg(args, int)); in vsnprintf_internal()
619 str = string16(str, end, va_arg(args, u16 *), in vsnprintf_internal()
624 str = string(str, end, va_arg(args, char *), in vsnprintf_internal()
631 va_arg(args, void *), in vsnprintf_internal()
642 long *ip = va_arg(args, long *); in vsnprintf_internal()
645 int *ip = va_arg(args, int *); in vsnprintf_internal()
680 num = va_arg(args, unsigned long long); in vsnprintf_internal()
682 num = va_arg(args, unsigned long); in vsnprintf_internal()
[all …]
H A Dtiny-printf.c246 num = va_arg(va, unsigned long); in _vprintf()
250 num = va_arg(va, unsigned int); in _vprintf()
271 num = va_arg(va, unsigned long); in _vprintf()
274 num = va_arg(va, unsigned int); in _vprintf()
285 out(info, (char)(va_arg(va, int))); in _vprintf()
288 p = va_arg(va, char*); in _vprintf()
291 pointer(info, fmt, va_arg(va, void *)); in _vprintf()
/openbmc/u-boot/api/
H A Dapi.c54 if ((c = (int *)va_arg(ap, uintptr_t)) == NULL) in API_getc()
70 if ((t = (int *)va_arg(ap, uintptr_t)) == NULL) in API_tstc()
86 if ((c = (char *)va_arg(ap, uintptr_t)) == NULL) in API_putc()
102 if ((s = (char *)va_arg(ap, uintptr_t)) == NULL) in API_puts()
134 si = (struct sys_info *)va_arg(ap, uintptr_t); in API_get_sys_info()
150 if ((d = (unsigned long *)va_arg(ap, unsigned long)) == NULL) in API_udelay()
166 cur = (unsigned long *)va_arg(ap, unsigned long); in API_get_timer()
170 base = (unsigned long *)va_arg(ap, unsigned long); in API_get_timer()
201 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_enum()
235 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_open()
[all …]
/openbmc/linux/arch/alpha/boot/
H A Dstdio.c153 field_width = va_arg(args, int); in vsprintf()
169 precision = va_arg(args, int); in vsprintf()
194 *str++ = (unsigned char) va_arg(args, int); in vsprintf()
200 s = va_arg(args, char *); in vsprintf()
221 (unsigned long) va_arg(args, void *), 16, in vsprintf()
228 long * ip = va_arg(args, long *); in vsprintf()
231 size_t * ip = va_arg(args, size_t *); in vsprintf()
234 int * ip = va_arg(args, int *); in vsprintf()
269 num = va_arg(args, unsigned long); in vsprintf()
273 num = va_arg(args, unsigned long long); in vsprintf()
[all …]
/openbmc/linux/arch/powerpc/boot/
H A Dstdio.c189 field_width = va_arg(args, int); in vsprintf()
205 precision = va_arg(args, int); in vsprintf()
230 *str++ = (unsigned char) va_arg(args, int); in vsprintf()
236 s = va_arg(args, char *); in vsprintf()
257 (unsigned long) va_arg(args, void *), 16, in vsprintf()
264 long * ip = va_arg(args, long *); in vsprintf()
267 size_t * ip = va_arg(args, size_t *); in vsprintf()
270 int * ip = va_arg(args, int *); in vsprintf()
305 num = va_arg(args, unsigned long); in vsprintf()
309 num = va_arg(args, unsigned long long); in vsprintf()
[all …]
/openbmc/linux/arch/x86/boot/
H A Dprintf.c163 field_width = va_arg(args, int); in vsprintf()
179 precision = va_arg(args, int); in vsprintf()
200 *str++ = (unsigned char)va_arg(args, int); in vsprintf()
206 s = va_arg(args, char *); in vsprintf()
224 (unsigned long)va_arg(args, void *), 16, in vsprintf()
230 long *ip = va_arg(args, long *); in vsprintf()
233 int *ip = va_arg(args, int *); in vsprintf()
268 num = va_arg(args, unsigned long); in vsprintf()
270 num = (unsigned short)va_arg(args, int); in vsprintf()
274 num = va_arg(args, int); in vsprintf()
[all …]
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dvsprintf.c189 return va_arg(*ap, int); in get_int()
200 return va_arg(*ap, long long); in get_number()
202 return va_arg(*ap, long); in get_number()
204 return (short)va_arg(*ap, int); in get_number()
206 return (signed char)va_arg(*ap, int); in get_number()
208 return va_arg(*ap, int); in get_number()
213 return va_arg(*ap, unsigned long long); in get_number()
215 return va_arg(*ap, unsigned long); in get_number()
217 return (unsigned short)va_arg(*ap, int); in get_number()
219 return (unsigned char)va_arg(*ap, int); in get_number()
[all …]
/openbmc/qemu/fsdev/
H A D9p-iov-marshal.c82 uint8_t *valp = va_arg(ap, uint8_t *); in v9fs_iov_vunmarshal()
88 valp = va_arg(ap, uint16_t *); in v9fs_iov_vunmarshal()
102 valp = va_arg(ap, uint32_t *); in v9fs_iov_vunmarshal()
116 valp = va_arg(ap, uint64_t *); in v9fs_iov_vunmarshal()
129 V9fsString *str = va_arg(ap, V9fsString *); in v9fs_iov_vunmarshal()
146 V9fsQID *qidp = va_arg(ap, V9fsQID *); in v9fs_iov_vunmarshal()
153 V9fsStat *statp = va_arg(ap, V9fsStat *); in v9fs_iov_vunmarshal()
168 V9fsIattr *iattr = va_arg(ap, V9fsIattr *); in v9fs_iov_vunmarshal()
214 uint8_t val = va_arg(ap, int); in v9fs_iov_vmarshal()
219 uint16_t val = va_arg(ap, int); in v9fs_iov_vmarshal()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dguest_sprintf.c174 field_width = va_arg(args, int); in guest_vsnprintf()
190 precision = va_arg(args, int); in guest_vsnprintf()
219 (uint8_t)va_arg(args, int)); in guest_vsnprintf()
225 s = va_arg(args, char *); in guest_vsnprintf()
243 (uint64_t)va_arg(args, void *), 16, in guest_vsnprintf()
249 long *ip = va_arg(args, long *); in guest_vsnprintf()
252 int *ip = va_arg(args, int *); in guest_vsnprintf()
287 num = va_arg(args, uint64_t); in guest_vsnprintf()
289 num = (uint16_t)va_arg(args, int); in guest_vsnprintf()
293 num = va_arg(args, int); in guest_vsnprintf()
[all …]
/openbmc/qemu/tests/tcg/minilib/
H A Dprintf.c18 #define va_arg(ap, type) __builtin_va_arg(ap, type) macro
101 val = va_arg(ap, unsigned int); in ml_printf()
104 val = va_arg(ap, unsigned long); in ml_printf()
107 val = va_arg(ap, unsigned long long); in ml_printf()
119 str = va_arg(ap, char*); in ml_printf()
123 __sys_outc(va_arg(ap, int)); in ml_printf()
/openbmc/linux/arch/mips/mm/
H A Duasm-micromips.c174 op |= build_rt(va_arg(ap, u32)); in build_insn()
176 op |= build_rs(va_arg(ap, u32)); in build_insn()
181 op |= build_rs(va_arg(ap, u32)); in build_insn()
183 op |= build_rt(va_arg(ap, u32)); in build_insn()
186 op |= build_rd(va_arg(ap, u32)); in build_insn()
188 op |= build_re(va_arg(ap, u32)); in build_insn()
190 op |= build_simm(va_arg(ap, s32)); in build_insn()
192 op |= build_uimm(va_arg(ap, u32)); in build_insn()
194 op |= build_bimm(va_arg(ap, s32)); in build_insn()
196 op |= build_jimm(va_arg(ap, u32)); in build_insn()
[all …]
H A Duasm-mips.c248 op |= build_rs(va_arg(ap, u32)); in build_insn()
250 op |= build_rt(va_arg(ap, u32)); in build_insn()
252 op |= build_rd(va_arg(ap, u32)); in build_insn()
254 op |= build_re(va_arg(ap, u32)); in build_insn()
256 op |= build_simm(va_arg(ap, s32)); in build_insn()
258 op |= build_uimm(va_arg(ap, u32)); in build_insn()
260 op |= build_bimm(va_arg(ap, s32)); in build_insn()
262 op |= build_jimm(va_arg(ap, u32)); in build_insn()
264 op |= build_func(va_arg(ap, u32)); in build_insn()
266 op |= build_set(va_arg(ap, u32)); in build_insn()
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_console.c191 int2dec(va_arg(args, s32), prec, &pos); in efi_st_printc()
198 mac(va_arg(args, void*), &pos); in efi_st_printc()
203 u = va_arg(args, u16*); in efi_st_printc()
214 pointer(va_arg(args, void*), &pos); in efi_st_printc()
218 s = va_arg(args, const char *); in efi_st_printc()
223 uint2dec(va_arg(args, u32), prec, &pos); in efi_st_printc()
/openbmc/linux/arch/parisc/kernel/
H A Dfirmware.c1861 real_stack.arg0 = va_arg(args, unsigned int); in real32_call()
1862 real_stack.arg1 = va_arg(args, unsigned int); in real32_call()
1863 real_stack.arg2 = va_arg(args, unsigned int); in real32_call()
1864 real_stack.arg3 = va_arg(args, unsigned int); in real32_call()
1865 real_stack.arg4 = va_arg(args, unsigned int); in real32_call()
1866 real_stack.arg5 = va_arg(args, unsigned int); in real32_call()
1867 real_stack.arg6 = va_arg(args, unsigned int); in real32_call()
1868 real_stack.arg7 = va_arg(args, unsigned int); in real32_call()
1869 real_stack.arg8 = va_arg(args, unsigned int); in real32_call()
1870 real_stack.arg9 = va_arg(args, unsigned int); in real32_call()
[all …]
/openbmc/qemu/tests/multiboot/
H A Dlibc.c117 val = va_arg(ap, unsigned int); in printf()
120 val = va_arg(ap, unsigned long); in printf()
123 val = va_arg(ap, unsigned long long); in printf()
135 str = va_arg(ap, char*); in printf()
/openbmc/qemu/qobject/
H A Djson-parser.c453 return va_arg(*ctxt->ap, QObject *); in parse_interpolation()
455 return QOBJECT(qbool_from_bool(va_arg(*ctxt->ap, int))); in parse_interpolation()
457 return QOBJECT(qnum_from_int(va_arg(*ctxt->ap, int))); in parse_interpolation()
459 return QOBJECT(qnum_from_int(va_arg(*ctxt->ap, long))); in parse_interpolation()
461 return QOBJECT(qnum_from_int(va_arg(*ctxt->ap, long long))); in parse_interpolation()
463 return QOBJECT(qnum_from_int(va_arg(*ctxt->ap, int64_t))); in parse_interpolation()
465 return QOBJECT(qnum_from_uint(va_arg(*ctxt->ap, unsigned int))); in parse_interpolation()
467 return QOBJECT(qnum_from_uint(va_arg(*ctxt->ap, unsigned long))); in parse_interpolation()
469 return QOBJECT(qnum_from_uint(va_arg(*ctxt->ap, unsigned long long))); in parse_interpolation()
471 return QOBJECT(qnum_from_uint(va_arg(*ctxt->ap, uint64_t))); in parse_interpolation()
[all …]
/openbmc/linux/drivers/acpi/acpica/
H A Dutprint.c379 width = va_arg(args, int); in vsnprintf()
396 precision = va_arg(args, int); in vsnprintf()
434 c = (char)va_arg(args, int); in vsnprintf()
445 s = va_arg(args, char *); in vsnprintf()
501 p = va_arg(args, void *); in vsnprintf()
521 number = va_arg(args, u64); in vsnprintf()
526 number = va_arg(args, unsigned long); in vsnprintf()
531 number = (u16)va_arg(args, int); in vsnprintf()
536 number = va_arg(args, unsigned int); in vsnprintf()
/openbmc/phosphor-logging/lib/
H A Dlg2_logger.cpp239 auto h_ptr = va_arg(args, const char*); in do_log()
247 auto f = va_arg(args, uint64_t); in do_log()
255 auto v = va_arg(args, int64_t); in do_log()
262 auto v = va_arg(args, uint64_t); in do_log()
269 value = va_arg(args, const char*); in do_log()
275 auto v = va_arg(args, double); in do_log()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_helper.c121 shift = va_arg(ap, uint32_t); in set_reg_field_values()
122 mask = va_arg(ap, uint32_t); in set_reg_field_values()
123 field_value = va_arg(ap, uint32_t); in set_reg_field_values()
526 shift = va_arg(ap, uint32_t); in generic_indirect_reg_get()
527 mask = va_arg(ap, uint32_t); in generic_indirect_reg_get()
528 field_value = va_arg(ap, uint32_t *); in generic_indirect_reg_get()
555 shift = va_arg(ap, uint32_t); in generic_indirect_reg_update_ex()
556 mask = va_arg(ap, uint32_t); in generic_indirect_reg_update_ex()
557 field_value = va_arg(ap, uint32_t); in generic_indirect_reg_update_ex()
585 shift = va_arg(ap, uint32_t); in generic_indirect_reg_update_ex_sync()
[all …]
/openbmc/linux/drivers/staging/fbtft/
H A Dfbtft-bus.c25 buf[i] = modifier((data_type)va_arg(args, \
42 *buf = modifier((data_type)va_arg(args, unsigned int)); \
55 *buf++ = modifier((data_type)va_arg(args, \
79 *(((u8 *)buf) + i) = (u8)va_arg(args, unsigned int); in define_fbtft_write_reg()
98 *buf++ = (u8)va_arg(args, unsigned int); in define_fbtft_write_reg()
101 *buf = (u8)va_arg(args, unsigned int); in define_fbtft_write_reg()
/openbmc/qemu/gdbstub/
H A Dsyscalls.c117 i32 = va_arg(va, uint32_t); in gdb_do_syscall()
124 i64 = va_arg(va, uint64_t); in gdb_do_syscall()
128 i64 = va_arg(va, uint64_t); in gdb_do_syscall()
129 i32 = va_arg(va, uint32_t); in gdb_do_syscall()
/openbmc/phosphor-mboxd/test/
H A Dsystem.c45 info = va_arg(ap, struct mtd_info_user *); in ioctl()
56 info = va_arg(ap, struct erase_info_user *); in ioctl()
76 info = va_arg(ap, struct aspeed_lpc_ctrl_mapping *); in ioctl()
/openbmc/hiomapd/test/
H A Dsystem.c44 info = va_arg(ap, struct mtd_info_user *); in ioctl()
55 info = va_arg(ap, struct erase_info_user *); in ioctl()
75 info = va_arg(ap, struct aspeed_lpc_ctrl_mapping *); in ioctl()

123456