Searched refs:AVTAB_ENABLED (Results 1 – 9 of 9) sorted by relevance
322 cur->node->key.specified &= ~AVTAB_ENABLED; in evaluate_cond_node()324 cur->node->key.specified |= AVTAB_ENABLED; in evaluate_cond_node()331 cur->node->key.specified &= ~AVTAB_ENABLED; in evaluate_cond_node()333 cur->node->key.specified |= AVTAB_ENABLED; in evaluate_cond_node()888 if ((uint16_t) (AVTAB_ALLOWED | AVTAB_ENABLED) == in cond_compute_av()889 (node->key.specified & (AVTAB_ALLOWED | AVTAB_ENABLED))) in cond_compute_av()891 if ((uint16_t) (AVTAB_AUDITDENY | AVTAB_ENABLED) == in cond_compute_av()892 (node->key.specified & (AVTAB_AUDITDENY | AVTAB_ENABLED))) in cond_compute_av()899 if ((uint16_t) (AVTAB_AUDITALLOW | AVTAB_ENABLED) == in cond_compute_av()900 (node->key.specified & (AVTAB_AUDITALLOW | AVTAB_ENABLED))) in cond_compute_av()
135 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_insert()179 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_insert_nonunique()211 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_search()246 key->specified & ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_search_node()279 specified &= ~(AVTAB_ENABLED | AVTAB_ENABLED_OLD); in avtab_search_node_next()485 enabled = (val & AVTAB_ENABLED_OLD) ? AVTAB_ENABLED : 0; in avtab_read_item()
1756 node->key.specified |= AVTAB_ENABLED; in expand_terule_helper()1758 node->key.specified &= ~AVTAB_ENABLED; in expand_terule_helper()1836 node->key.specified |= AVTAB_ENABLED; in expand_avrule_helper()1838 node->key.specified &= ~AVTAB_ENABLED; in expand_avrule_helper()3181 if (!node || ((k->specified & AVTAB_ENABLED) != in expand_avtab_insert()3182 (node->key.specified & AVTAB_ENABLED))) { in expand_avtab_insert()3193 switch (k->specified & ~AVTAB_ENABLED) { in expand_avtab_insert()3316 (k->specified & AVTAB_ENABLED) != in expand_cond_insert()3317 (node->key.specified & AVTAB_ENABLED)) { in expand_cond_insert()3337 switch (k->specified & ~AVTAB_ENABLED) { in expand_cond_insert()
129 val = cur->key.specified & ~AVTAB_ENABLED; in avtab_write_item()130 if (cur->key.specified & AVTAB_ENABLED) in avtab_write_item()146 val |= (node->key.specified & ~AVTAB_ENABLED); in avtab_write_item()148 if (node->key.specified & AVTAB_ENABLED) in avtab_write_item()
1365 if (node->key.specified & AVTAB_ENABLED) { in sepol_compute_sid()
144 AVTAB_ENABLED)) in render_av_rule()148 AVTAB_ENABLED)))) { in render_av_rule()154 if (key->specified & AVTAB_ENABLED) in render_av_rule()156 else if (!(key->specified & AVTAB_ENABLED)) in render_av_rule()
103 if ((k->specified & (AVTAB_ALLOWED|AVTAB_ENABLED)) == in create_type_rules_cond()104 (AVTAB_ALLOWED|AVTAB_ENABLED)) in create_type_rules_cond()
72 #define AVTAB_ENABLED 0x8000 /* reserved for used in cond_avtab */ macro
3566 c->node->key.specified &= ~AVTAB_ENABLED; in __cil_set_conditional_state_and_flags()3568 c->node->key.specified |= AVTAB_ENABLED; in __cil_set_conditional_state_and_flags()3574 c->node->key.specified &= ~AVTAB_ENABLED; in __cil_set_conditional_state_and_flags()3576 c->node->key.specified |= AVTAB_ENABLED; in __cil_set_conditional_state_and_flags()