Searched refs:compat_policy (Results 1 – 12 of 12) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | test-qmp-event.c | 109 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 D | test-qmp-cmds.c | 277 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 D | qmp-dispatch.c | 32 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 D | qapi-util.c | 19 CompatPolicy compat_policy; variable
|
H A D | qapi-visit-core.c | 165 v->compat_policy = *policy; in visit_set_policy() 414 &v->compat_policy, in input_type_enum()
|
H A D | qobject-output-visitor.c | 215 CompatPolicy *pol = &v->compat_policy; in qobject_output_policy_skip()
|
H A D | qobject-input-visitor.c | 670 return !compat_policy_input_ok(special_features, &v->compat_policy, in qobject_input_policy_reject()
|
/openbmc/qemu/include/qapi/ |
H A D | compat-policy.h | 19 extern CompatPolicy compat_policy;
|
H A D | visitor-impl.h | 128 struct CompatPolicy compat_policy; member
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_compat.c | 100 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 D | qmp-cmds-control.c | 217 if (compat_policy.deprecated_output == COMPAT_POLICY_OUTPUT_HIDE) { in qmp_query_qmp_schema()
|
/openbmc/qemu/system/ |
H A D | vl.c | 3555 QAPI_CLONE_MEMBERS(CompatPolicy, &compat_policy, opts_policy); in qemu_init()
|