Home
last modified time | relevance | path

Searched refs:nb_args (Results 1 – 18 of 18) sorted by relevance

/openbmc/qemu/include/monitor/
H A Dhmp.h116 void object_add_completion(ReadLineState *rs, int nb_args, const char *str);
117 void object_del_completion(ReadLineState *rs, int nb_args, const char *str);
118 void device_add_completion(ReadLineState *rs, int nb_args, const char *str);
119 void device_del_completion(ReadLineState *rs, int nb_args, const char *str);
120 void sendkey_completion(ReadLineState *rs, int nb_args, const char *str);
121 void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str);
122 void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str);
123 void set_link_completion(ReadLineState *rs, int nb_args, const char *str);
124 void netdev_add_completion(ReadLineState *rs, int nb_args, const char *str);
125 void netdev_del_completion(ReadLineState *rs, int nb_args, const char *str);
[all …]
/openbmc/qemu/monitor/
H A Dhmp.c145 static void free_cmdline_args(char **args, int nb_args) in free_cmdline_args() argument
149 assert(nb_args <= MAX_ARGS); in free_cmdline_args()
151 for (i = 0; i < nb_args; i++) { in free_cmdline_args()
174 int nb_args, ret; in parse_cmdline() local
178 nb_args = 0; in parse_cmdline()
186 if (nb_args >= MAX_ARGS) { in parse_cmdline()
193 args[nb_args] = g_strdup(buf); in parse_cmdline()
194 nb_args++; in parse_cmdline()
196 *pnb_args = nb_args; in parse_cmdline()
200 free_cmdline_args(args, nb_args); in parse_cmdline()
[all …]
H A Dmonitor-internal.h92 void (*command_completion)(ReadLineState *rs, int nb_args, const char *str);
/openbmc/qemu/net/
H A Dnet-hmp-cmds.c116 void netdev_add_completion(ReadLineState *rs, int nb_args, const char *str) in netdev_add_completion() argument
121 if (nb_args != 2) { in netdev_add_completion()
131 void set_link_completion(ReadLineState *rs, int nb_args, const char *str) in set_link_completion() argument
137 if (nb_args == 2) { in set_link_completion()
146 } else if (nb_args == 3) { in set_link_completion()
152 void netdev_del_completion(ReadLineState *rs, int nb_args, const char *str) in netdev_del_completion() argument
157 if (nb_args != 2) { in netdev_del_completion()
/openbmc/qemu/trace/
H A Dtrace-hmp-cmds.c99 void info_trace_events_completion(ReadLineState *rs, int nb_args, const char *str) in info_trace_events_completion() argument
105 if (nb_args == 2) { in info_trace_events_completion()
117 void trace_event_completion(ReadLineState *rs, int nb_args, const char *str) in trace_event_completion() argument
123 if (nb_args == 2) { in trace_event_completion()
132 } else if (nb_args == 3) { in trace_event_completion()
/openbmc/qemu/chardev/
H A Dchar-hmp-cmds.c145 void chardev_add_completion(ReadLineState *rs, int nb_args, const char *str) in chardev_add_completion() argument
150 if (nb_args != 2) { in chardev_add_completion()
168 void chardev_remove_completion(ReadLineState *rs, int nb_args, const char *str) in chardev_remove_completion() argument
173 if (nb_args != 2) { in chardev_remove_completion()
214 void ringbuf_write_completion(ReadLineState *rs, int nb_args, const char *str) in ringbuf_write_completion() argument
216 if (nb_args != 2) { in ringbuf_write_completion()
/openbmc/linux/kernel/trace/
H A Dtrace_syscalls.c151 for (i = 0; i < entry->nb_args; i++) { in print_syscall_enter()
163 i == entry->nb_args - 1 ? "" : ", "); in print_syscall_enter()
219 for (i = 0; i < entry->nb_args; i++) { in __set_enter_print_fmt()
222 i == entry->nb_args - 1 ? "" : ", "); in __set_enter_print_fmt()
226 for (i = 0; i < entry->nb_args; i++) { in __set_enter_print_fmt()
278 for (i = 0; i < meta->nb_args; i++) { in syscall_enter_define_fields()
324 size = sizeof(*entry) + sizeof(unsigned long) * sys_data->nb_args; in ftrace_syscall_enter()
333 memcpy(entry->args, args, sizeof(unsigned long) * sys_data->nb_args); in ftrace_syscall_enter()
581 for (i = 0; i < sys_data->nb_args; i++) in perf_call_bpf_enter()
613 size = sizeof(unsigned long) * sys_data->nb_args + sizeof(*rec); in perf_syscall_enter()
[all …]
/openbmc/qemu/qom/
H A Dqom-hmp-cmds.c174 void object_add_completion(ReadLineState *rs, int nb_args, const char *str) in object_add_completion() argument
179 if (nb_args != 2) { in object_add_completion()
198 void object_del_completion(ReadLineState *rs, int nb_args, const char *str) in object_del_completion() argument
203 if (nb_args != 2) { in object_del_completion()
/openbmc/qemu/system/
H A Drunstate-hmp-cmds.c84 void watchdog_action_completion(ReadLineState *rs, int nb_args, const char *str) in watchdog_action_completion() argument
88 if (nb_args != 2) { in watchdog_action_completion()
H A Dqdev-monitor.c1049 void device_add_completion(ReadLineState *rs, int nb_args, const char *str) in device_add_completion() argument
1054 if (nb_args != 2) { in device_add_completion()
1121 void device_del_completion(ReadLineState *rs, int nb_args, const char *str) in device_del_completion() argument
1123 if (nb_args != 2) { in device_del_completion()
/openbmc/qemu/migration/
H A Dmigration-hmp-cmds.c738 void migrate_set_capability_completion(ReadLineState *rs, int nb_args, in migrate_set_capability_completion() argument
745 if (nb_args == 2) { in migrate_set_capability_completion()
750 } else if (nb_args == 3) { in migrate_set_capability_completion()
756 void migrate_set_parameter_completion(ReadLineState *rs, int nb_args, in migrate_set_parameter_completion() argument
763 if (nb_args == 2) { in migrate_set_parameter_completion()
804 void delvm_completion(ReadLineState *rs, int nb_args, const char *str) in delvm_completion() argument
806 if (nb_args == 2) { in delvm_completion()
811 void loadvm_completion(ReadLineState *rs, int nb_args, const char *str) in loadvm_completion() argument
813 if (nb_args == 2) { in loadvm_completion()
/openbmc/qemu/linux-user/mips/
H A Dcpu_loop.c93 int nb_args; in cpu_loop() local
97 nb_args = mips_syscall_args[syscall_num]; in cpu_loop()
99 switch (nb_args) { in cpu_loop()
/openbmc/linux/include/trace/
H A Dsyscall.h28 int nb_args; member
/openbmc/qemu/ui/
H A Dui-hmp-cmds.c418 void sendkey_completion(ReadLineState *rs, int nb_args, const char *str) in sendkey_completion() argument
424 if (nb_args != 2) { in sendkey_completion()
/openbmc/qemu/include/tcg/
H A Dtcg.h823 uint8_t nb_oargs, nb_iargs, nb_cargs, nb_args; member
/openbmc/qemu/tcg/
H A Dtcg.c2956 int i, o, i2, o2, nb_args; in process_op_defs() local
2962 nb_args = def->nb_iargs + def->nb_oargs; in process_op_defs()
2963 if (nb_args == 0) { in process_op_defs()
2976 for (i = 0; i < nb_args; i++) { in process_op_defs()
3096 for (i = def->nb_oargs; i < nb_args; i++) { in process_op_defs()
H A Doptimize.c948 static void init_arguments(OptContext *ctx, TCGOp *op, int nb_args) in init_arguments() argument
950 for (int i = 0; i < nb_args; i++) { in init_arguments()
/openbmc/linux/include/linux/
H A Dsyscalls.h186 .nb_args = nb, \