Home
last modified time | relevance | path

Searched refs:rule (Results 1 – 25 of 33) sorted by relevance

12

/qemu/authz/
H A Dlist.c37 QAuthZListFormat format = rule->has_format ? rule->format : in qauthz_list_is_allowed()
156 QAuthZListRule *rule; in qauthz_list_append_rule() local
161 rule->policy = policy; in qauthz_list_append_rule()
163 rule->format = format; in qauthz_list_append_rule()
164 rule->has_format = true; in qauthz_list_append_rule()
167 tmp->value = rule; in qauthz_list_append_rule()
191 QAuthZListRule *rule; in qauthz_list_insert_rule() local
196 rule->policy = policy; in qauthz_list_insert_rule()
198 rule->format = format; in qauthz_list_insert_rule()
202 tmp->value = rule; in qauthz_list_insert_rule()
[all …]
H A Dtrace-events10 …e(void *authz, const char *identity, const char *rule, int format, int policy) "AuthZ list %p chec…
/qemu/block/
H A Dblkdebug.c205 rule = g_malloc0(sizeof(*rule)); in add_rule()
228 g_free(rule); in add_rule()
267 switch (rule->action) { in remove_rule()
276 QLIST_REMOVE(rule, next); in remove_rule()
277 g_free(rule); in remove_rule()
611 if (!rule || !rule->options.inject.error) { in rule_check()
621 remove_rule(rule); in rule_check()
801 remove_rule(rule); in suspend_request()
816 if (rule->state && rule->state != s->state) { in process_rule()
822 switch (rule->action) { in process_rule()
[all …]
/qemu/scripts/
H A Ddevice-crash-test197 def errorRuleTestCaseMatch(rule, t): argument
207 ('accel' not in rule or
210 ('device' not in rule or
219 yield (i, rule)
229 if rule.get('expected'):
230 return (i, rule)
233 def ruleListResultMatch(rule, r): argument
243 ('log' not in rule or
255 return i, rule
589 stats = sorted([(len(wl_stats.get(i, [])), rule) for i, rule in
[all …]
/qemu/docs/devel/
H A Dblkdebug.txt8 The blkdebug block driver is a rule-based error injection engine. It can be
29 Each I/O request is evaluated against the rules. If a rule matches the request
34 each section of the file represents a rule.
36 The following configuration file defines a single rule:
43 This rule fails all aio read requests with ENOSPC (28). Note that the errno
60 rule to match. See the "State transitions" section for information
68 match this rule
120 the attribute in order for the rule to match.
135 state 1 to state 2. Once state 2 has been entered, the set-state rule no
136 longer matches since it requires state 1. But the inject-error rule now
[all …]
H A Dsubmitting-a-pull-request.rst14 A good rule of thumb is not to send a pull request unless somebody asks
H A Dmemory.rst170 device or CPU. In order to do this, as a general rule do not create or
177 If you break this rule, the following situation can happen:
188 There is an exception to the above rule: it is okay to call
H A Dwriting-monitor-commands.rst264 to this rule:
541 The exception to this rule applies when the command is solely intended
H A Dfuzzing.rst167 As a generic rule-of-thumb, the more ``MemoryRegions``/Devices we match, the
H A Drcu.txt167 If this rule is observed, writes will happen in the opposite
H A Datomics.rst350 will pair with a release operation and vice versa. This rule of thumb is
/qemu/tests/unit/
H A Dcheck-block-qdict.c423 QDict *src, *dst, *rule, *vnc, *acl, *listen; in qdict_crumple_test_recursive() local
462 rule = qobject_to(QDict, qlist_pop(rules)); in qdict_crumple_test_recursive()
463 g_assert(rule); in qdict_crumple_test_recursive()
464 g_assert_cmpint(qdict_size(rule), ==, 2); in qdict_crumple_test_recursive()
465 g_assert_cmpstr("fred", ==, qdict_get_str(rule, "match")); in qdict_crumple_test_recursive()
467 qobject_unref(rule); in qdict_crumple_test_recursive()
469 rule = qobject_to(QDict, qlist_pop(rules)); in qdict_crumple_test_recursive()
470 g_assert(rule); in qdict_crumple_test_recursive()
471 g_assert_cmpint(qdict_size(rule), ==, 2); in qdict_crumple_test_recursive()
472 g_assert_cmpstr("bob", ==, qdict_get_str(rule, "match")); in qdict_crumple_test_recursive()
[all …]
/qemu/tests/qemu-iotests/
H A Dnbd-fault-injector.py110 for rule in self.rules:
111 if rule.match(event, io):
112 if rule.when == 0 or bufsize is None:
113 print('Closing connection on rule match %s' % rule.name)
117 if rule.when != -1:
118 return rule.when
H A D277.out3 NBD server: Closing connection on rule match inject-error
6 NBD server: Closing connection on rule match inject-error
/qemu/qapi/
H A Dauthz.json41 # A single authorization rule.
47 # @format: the format of the @match rule (default 'exact')
61 # @policy: Default policy to apply when no rule matches (default:
/qemu/scripts/coccinelle/
H A Derrp-guard.cocci64 // something matched by previous pattern, i.e. the rule will not match
68 // Note, "exists" says that we want apply rule even if it does not
102 // This rule is not chained to rule1 and less restrictive, to cover more
204 // I tried merging this into the following rule the obvious way, but
208 // "out: }" things later after all transformations (the rule will be
/qemu/docs/
H A Dmultiseat.txt130 with a nice generic rule now, which simplifies the guest
137 Patch with this rule has been submitted to upstream udev/systemd, was
/qemu/target/hexagon/idef-parser/
H A DREADME.rst189 rule, representing the structure of the input file shown above:
226 ``argument_decl`` rule, and can be either
372 by the following grammar rule:
415 future. Finally for each rule we propagate information about the location of the
448 parsing rule that generated an error.
457 valid tokens and a parser rule. You should check that tokens are correctly
458 identified and mapped, and that there is a rule matching the token sequence
/qemu/target/arm/tcg/
H A Dm-nocp.decode25 # v8M Arm ARM rule R_QLGM.) This isn't mandatory for v8.0M but we choose
/qemu/docs/system/
H A Dauthz.rst98 rule has an associated policy and a catch all policy applies if no rule
/qemu/include/hw/acpi/
H A Daml-build.h397 AmlUpdateRule rule);
/qemu/tests/qapi-schema/
H A Dqapi-schema-test.json7 # Whitelists to permit QAPI rule violations
/qemu/hw/acpi/
H A Daml-build.c1225 AmlUpdateRule rule) in aml_field() argument
1228 uint8_t flags = rule << 5 | type; in aml_field()
/qemu/docs/interop/
H A Dfirmware.json160 # mch.extended-tseg-mbytes=uint16" option. As a rule of
/qemu/fpu/
H A Dsoftfloat-specialize.c.inc387 | tie-break rule.

12