Home
last modified time | relevance | path

Searched refs:arg_type (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/qemu/scripts/qapi/
H A Devents.py31 arg_type: Optional[QAPISchemaObjectType],
35 'param': build_params(arg_type, boxed)}
39 arg_type: Optional[QAPISchemaObjectType],
45 proto=build_event_send_proto(name, arg_type, boxed))
82 arg_type: Optional[QAPISchemaObjectType],
93 have_args = boxed or (arg_type and not arg_type.is_empty())
101 proto=build_event_send_proto(name, arg_type, boxed))
104 assert arg_type is not None
110 ret += gen_param_var(arg_type)
130 assert arg_type is not None
[all …]
H A Dcommands.py42 arg_type: Optional[QAPISchemaObjectType],
52 params=build_params(arg_type, boxed, 'Error **errp'))
56 arg_type: Optional[QAPISchemaObjectType],
64 assert arg_type
66 elif arg_type:
67 assert not arg_type.branches
68 for memb in arg_type.members:
189 arg_type: Optional[QAPISchemaObjectType],
194 have_args = boxed or (arg_type and not arg_type.is_empty())
196 assert arg_type is not None
[all …]
H A Dschema.py249 arg_type: Optional[QAPISchemaObjectType],
266 arg_type: Optional[QAPISchemaObjectType],
999 arg_type: Optional[str],
1009 self._arg_type_name = arg_type
1010 self.arg_type: Optional[QAPISchemaObjectType] = None
1024 arg_type = schema.resolve_type(
1026 if not isinstance(arg_type, QAPISchemaObjectType):
1030 % arg_type.describe())
1031 self.arg_type = arg_type
1032 if self.arg_type.branches and not self.boxed:
[all …]
H A Dintrospect.py363 arg_type: Optional[QAPISchemaObjectType],
369 arg_type = arg_type or self._schema.the_empty_object_type
372 'arg-type': self._use_type(arg_type),
382 arg_type: Optional[QAPISchemaObjectType],
386 arg_type = arg_type or self._schema.the_empty_object_type
387 self._gen_tree(name, 'event', {'arg-type': self._use_type(arg_type)},
H A Dgen.py111 def build_params(arg_type: Optional[QAPISchemaObjectType],
117 assert arg_type
118 ret += '%s arg' % arg_type.c_param_type()
120 elif arg_type:
121 assert not arg_type.branches
122 for memb in arg_type.members:
/openbmc/linux/drivers/acpi/acpica/
H A Dpsargs.c365 u32 arg_type, union acpi_parse_object *arg) in acpi_ps_get_next_simple_arg() argument
371 ACPI_FUNCTION_TRACE_U32(ps_get_next_simple_arg, arg_type); in acpi_ps_get_next_simple_arg()
373 switch (arg_type) { in acpi_ps_get_next_simple_arg()
436 ACPI_ERROR((AE_INFO, "Invalid ArgType 0x%X", arg_type)); in acpi_ps_get_next_simple_arg()
740 u32 arg_type, union acpi_parse_object **return_arg) in acpi_ps_get_next_arg() argument
752 acpi_ut_get_argument_type_name(arg_type), arg_type)); in acpi_ps_get_next_arg()
754 switch (arg_type) { in acpi_ps_get_next_arg()
769 acpi_ps_get_next_simple_arg(parser_state, arg_type, arg); in acpi_ps_get_next_arg()
840 acpi_ut_get_argument_type_name(arg_type), in acpi_ps_get_next_arg()
841 arg_type)); in acpi_ps_get_next_arg()
[all …]
H A Dnsarguments.c34 u8 arg_type; in acpi_ns_check_argument_types() local
55 arg_type = METHOD_GET_NEXT_TYPE(arg_type_list); in acpi_ns_check_argument_types()
60 if ((user_arg_type != arg_type) && (arg_type != ACPI_TYPE_ANY)) { in acpi_ns_check_argument_types()
68 acpi_ut_get_type_name(arg_type))); in acpi_ns_check_argument_types()
H A Dutdecode.c546 const char *acpi_ut_get_argument_type_name(u32 arg_type) in acpi_ut_get_argument_type_name() argument
549 if (arg_type > ARGP_MAX) { in acpi_ut_get_argument_type_name()
553 return (acpi_gbl_argument_type[arg_type]); in acpi_ut_get_argument_type_name()
H A Ddbtest.c989 u8 arg_type; in acpi_db_evaluate_one_predefined_name() local
1033 arg_type = METHOD_GET_NEXT_TYPE(arg_type_list); in acpi_db_evaluate_one_predefined_name()
1034 this_param->type = arg_type; in acpi_db_evaluate_one_predefined_name()
1036 switch (arg_type) { in acpi_db_evaluate_one_predefined_name()
1066 pathname, arg_type); in acpi_db_evaluate_one_predefined_name()
H A Dacparser.h58 u32 arg_type, union acpi_parse_object *arg);
74 u32 arg_type, union acpi_parse_object **return_arg);
/openbmc/linux/tools/mm/
H A Dpage_owner_sort.c547 int arg_type = get_arg_type(args[i]); in parse_cull_args() local
549 if (arg_type == ARG_PID) in parse_cull_args()
551 else if (arg_type == ARG_TGID) in parse_cull_args()
553 else if (arg_type == ARG_COMM) in parse_cull_args()
555 else if (arg_type == ARG_STACKTRACE) in parse_cull_args()
557 else if (arg_type == ARG_FREE) in parse_cull_args()
559 else if (arg_type == ARG_ALLOCATOR) in parse_cull_args()
607 int arg_type = get_arg_type(args[i]+offset); in parse_sort_args() local
609 if (arg_type == ARG_PID) in parse_sort_args()
611 else if (arg_type == ARG_TGID) in parse_sort_args()
[all …]
/openbmc/qemu/tests/qapi-schema/
H A Dtest-qapi.py72 arg_type, ret_type, gen, success_response, boxed, argument
75 % (name, arg_type and arg_type.name,
83 def visit_event(self, name, info, ifcond, features, arg_type, boxed): argument
84 print('event %s %s' % (name, arg_type and arg_type.name))
/openbmc/linux/tools/lib/bpf/
H A Dusdt.c207 enum usdt_arg_type arg_type; member
1290 arg->arg_type = USDT_ARG_REG_DEREF; in parse_usdt_arg()
1298 arg->arg_type = USDT_ARG_REG_DEREF; in parse_usdt_arg()
1306 arg->arg_type = USDT_ARG_REG; in parse_usdt_arg()
1315 arg->arg_type = USDT_ARG_CONST; in parse_usdt_arg()
1338 arg->arg_type = USDT_ARG_REG_DEREF; in parse_usdt_arg()
1347 arg->arg_type = USDT_ARG_REG; in parse_usdt_arg()
1356 arg->arg_type = USDT_ARG_CONST; in parse_usdt_arg()
1391 arg->arg_type = USDT_ARG_REG_DEREF; in parse_usdt_arg()
1399 arg->arg_type = USDT_ARG_REG_DEREF; in parse_usdt_arg()
[all …]
H A Dusdt.bpf.h43 enum __bpf_usdt_arg_type arg_type; member
140 switch (arg_spec->arg_type) { in bpf_usdt_arg()
/openbmc/qemu/scripts/tracetool/
H A D__init__.py145 arg_type, identifier = arg.rsplit('*', 1)
146 arg_type += '*'
149 arg_type, identifier = arg.rsplit(None, 1)
151 validate_type(arg_type)
152 res.append((arg_type, identifier))
/openbmc/openbmc/poky/meta/recipes-extended/blktool/blktool/
H A D0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch7 So add bc_arg_type enum, build it into bool_comand and install arg_type
44 + if (bcm->arg_type == bc_arg_int_ptr) {
72 + enum bc_arg_type arg_type;
/openbmc/qemu/docs/sphinx/
H A Dqapidoc.py226 def _nodes_for_arguments(self, doc, arg_type): argument
228 if arg_type and not arg_type.is_implicit():
234 nodes.literal('', arg_type.name)],
343 def visit_command(self, name, info, ifcond, features, arg_type, argument
348 self._nodes_for_arguments(doc, arg_type)
353 def visit_event(self, name, info, ifcond, features, arg_type, boxed): argument
356 self._nodes_for_arguments(doc, arg_type)
/openbmc/qemu/tests/qtest/
H A Dqmp-cmd-test.c187 SchemaInfo *si, *arg_type, *ret_type; in add_query_tests() local
201 arg_type = qmp_schema_lookup(schema, si->u.command.arg_type); in add_query_tests()
202 if (object_type_has_mandatory_members(arg_type)) { in add_query_tests()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/
H A D0001-Bug-fix-for-data-type-length-judgment.patch31 @@ -190,7 +190,7 @@ static bool get_integer_base_type(enum arg_type *type, int byte_size,
/openbmc/qemu/linux-user/
H A Dsyscall.c4657 const argtype *arg_type = ie->arg_type; in do_ioctl_fs_ioc_fiemap() local
4665 assert(arg_type[0] == TYPE_PTR); in do_ioctl_fs_ioc_fiemap()
4667 arg_type++; in do_ioctl_fs_ioc_fiemap()
4668 target_size_in = thunk_type_size(arg_type, 0); in do_ioctl_fs_ioc_fiemap()
4673 thunk_convert(buf_temp, argptr, arg_type, THUNK_HOST); in do_ioctl_fs_ioc_fiemap()
4708 thunk_convert(argptr, fm, arg_type, THUNK_TARGET); in do_ioctl_fs_ioc_fiemap()
4731 const argtype *arg_type = ie->arg_type; in do_ioctl_ifconf() local
4748 assert(arg_type[0] == TYPE_PTR); in do_ioctl_ifconf()
4751 arg_type++; in do_ioctl_ifconf()
4752 target_size = thunk_type_size(arg_type, 0); in do_ioctl_ifconf()
[all …]
H A Duser-internals.h44 const argtype arg_type[5]; member
H A Dstrace.c1009 const argtype *arg_type; in print_syscall_ret_ioctl() local
1021 arg_type = ie->arg_type; in print_syscall_ret_ioctl()
1023 arg_type++; in print_syscall_ret_ioctl()
1024 target_size = thunk_type_size(arg_type, 0); in print_syscall_ret_ioctl()
1027 thunk_print(argptr, arg_type); in print_syscall_ret_ioctl()
4256 const argtype *arg_type; in print_ioctl() local
4271 arg_type = ie->arg_type; in print_ioctl()
4273 if (arg_type[0] != TYPE_NULL) { in print_ioctl()
4276 switch (arg_type[0]) { in print_ioctl()
4298 arg_type++; in print_ioctl()
[all …]
/openbmc/linux/kernel/bpf/
H A Dverifier.c829 static enum bpf_dynptr_type arg_to_dynptr_type(enum bpf_arg_type arg_type) in arg_to_dynptr_type() argument
831 switch (arg_type & DYNPTR_TYPE_FLAG_MASK) { in arg_to_dynptr_type()
895 enum bpf_arg_type arg_type, int insn_idx, int clone_ref_obj_id) in mark_stack_slots_dynptr() argument
926 type = arg_to_dynptr_type(arg_type); in mark_stack_slots_dynptr()
1163 enum bpf_arg_type arg_type) in is_dynptr_type_expected() argument
1170 if (arg_type == ARG_PTR_TO_DYNPTR) in is_dynptr_type_expected()
1173 dynptr_type = arg_to_dynptr_type(arg_type); in is_dynptr_type_expected()
7598 enum bpf_arg_type arg_type, int clone_ref_obj_id) in process_dynptr_func() argument
7606 if ((arg_type & (MEM_UNINIT | MEM_RDONLY)) == (MEM_UNINIT | MEM_RDONLY)) { in process_dynptr_func()
7626 if (arg_type & MEM_UNINIT) { in process_dynptr_func()
[all …]
/openbmc/boost-dbus/include/dbus/
H A Dmessage.hpp320 char arg_type = sub.iter_.get_arg_type(); in unpack() local
323 if (arg_type == element<decltype(t)>::code) { in unpack()
/openbmc/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_ioc.h685 __le16 arg_type; member
706 u8 arg_type; member

12