Home
last modified time | relevance | path

Searched refs:compat_policy (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-qmp-event.c109 memset(&compat_policy, 0, sizeof(compat_policy)); in test_event_deprecated()
114 compat_policy.has_deprecated_output = true; in test_event_deprecated()
115 compat_policy.deprecated_output = COMPAT_POLICY_OUTPUT_HIDE; in test_event_deprecated()
121 memset(&compat_policy, 0, sizeof(compat_policy)); in test_event_deprecated_data()
129 compat_policy.has_deprecated_output = true; in test_event_deprecated_data()
130 compat_policy.deprecated_output = COMPAT_POLICY_OUTPUT_HIDE; in test_event_deprecated_data()
H A Dtest-qmp-cmds.c277 memset(&compat_policy, 0, sizeof(compat_policy)); in test_dispatch_cmd_deprecated()
284 compat_policy.has_deprecated_input = true; in test_dispatch_cmd_deprecated()
285 compat_policy.deprecated_input = COMPAT_POLICY_INPUT_ACCEPT; in test_dispatch_cmd_deprecated()
290 compat_policy.deprecated_input = COMPAT_POLICY_INPUT_REJECT; in test_dispatch_cmd_deprecated()
301 memset(&compat_policy, 0, sizeof(compat_policy)); in test_dispatch_cmd_arg_deprecated()
308 compat_policy.has_deprecated_input = true; in test_dispatch_cmd_arg_deprecated()
309 compat_policy.deprecated_input = COMPAT_POLICY_INPUT_ACCEPT; in test_dispatch_cmd_arg_deprecated()
314 compat_policy.deprecated_input = COMPAT_POLICY_INPUT_REJECT; in test_dispatch_cmd_arg_deprecated()
324 memset(&compat_policy, 0, sizeof(compat_policy)); in test_dispatch_cmd_ret_deprecated()
331 compat_policy.has_deprecated_output = true; in test_dispatch_cmd_ret_deprecated()
[all …]
/openbmc/qemu/qapi/
H A Dqmp-dispatch.c32 visit_set_policy(v, &compat_policy); in qobject_input_visitor_new_qmp()
40 visit_set_policy(v, &compat_policy); in qobject_output_visitor_new_qmp()
176 if (!compat_policy_input_ok(cmd->special_features, &compat_policy, in qmp_dispatch()
H A Dqapi-util.c19 CompatPolicy compat_policy; variable
H A Dqapi-visit-core.c165 v->compat_policy = *policy; in visit_set_policy()
414 &v->compat_policy, in input_type_enum()
H A Dqobject-output-visitor.c215 CompatPolicy *pol = &v->compat_policy; in qobject_output_policy_skip()
H A Dqobject-input-visitor.c670 return !compat_policy_input_ok(special_features, &v->compat_policy, in qobject_input_policy_reject()
/openbmc/qemu/include/qapi/
H A Dcompat-policy.h19 extern CompatPolicy compat_policy;
H A Dvisitor-impl.h128 struct CompatPolicy compat_policy; member
/openbmc/linux/net/xfrm/
H A Dxfrm_compat.c100 static const struct nla_policy compat_policy[XFRMA_MAX+1] = { variable
442 if (nla_len(nla) < compat_policy[type].len) { in xfrm_xlate32_attr()
447 pol_len32 = compat_policy[type].len; in xfrm_xlate32_attr()
452 if (nla_len(nla) != compat_policy[type].len) { in xfrm_xlate32_attr()
606 maxtype ? : XFRMA_MAX, policy ? : compat_policy, extack); in xfrm_user_rcv_msg_compat()
/openbmc/qemu/monitor/
H A Dqmp-cmds-control.c217 if (compat_policy.deprecated_output == COMPAT_POLICY_OUTPUT_HIDE) { in qmp_query_qmp_schema()
/openbmc/qemu/system/
H A Dvl.c3555 QAPI_CLONE_MEMBERS(CompatPolicy, &compat_policy, opts_policy); in qemu_init()