Lines Matching refs:levdatum

1002 	level_datum_t *levdatum = (level_datum_t *) datum;  in clone_level()  local
1005 if (levdatum->level == level) { in clone_level()
1006 levdatum->defined = 1; in clone_level()
1007 if (!levdatum->isalias) in clone_level()
1016 levdatum->level = newlevel; in clone_level()
1024 level_datum_t *levdatum; in define_level() local
1042 levdatum = (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_level()
1044 if (!levdatum) { in define_level()
1049 if (ebitmap_length(&levdatum->level->cat)) { in define_level()
1057 levdatum->defined = 1; in define_level()
1106 if (ebitmap_set_bit(&levdatum->level->cat, i, TRUE)) { in define_level()
1117 (policydbp->p_levels.table, clone_level, levdatum->level)) { in define_level()
4002 static int parse_categories(char *id, level_datum_t * levdatum, ebitmap_t * cats) in parse_categories() argument
4044 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in parse_categories()
4045 uint32_t level_value = levdatum->level->sens - 1; in parse_categories()
4062 static int parse_semantic_categories(char *id, level_datum_t * levdatum __attribute__ ((unused)), in parse_semantic_categories() argument
4121 level_datum_t *levdatum; in define_user() local
4161 levdatum = (level_datum_t *) in define_user()
4164 if (!levdatum) { in define_user()
4172 usrdatum->dfltlevel.sens = levdatum->level->sens; in define_user()
4175 if (parse_semantic_categories(id, levdatum, in define_user()
4186 levdatum = (level_datum_t *) in define_user()
4189 if (!levdatum) { in define_user()
4197 usrdatum->range.level[l].sens = levdatum->level->sens; in define_user()
4200 if (parse_semantic_categories(id, levdatum, in define_user()
4230 level_datum_t *levdatum; in parse_security_context() local
4344 levdatum = (level_datum_t *) in parse_security_context()
4347 if (!levdatum) { in parse_security_context()
4353 c->range.level[l].sens = levdatum->level->sens; in parse_security_context()
4357 if (parse_categories(id, levdatum, in parse_security_context()
5301 level_datum_t *levdatum = 0; in define_range_trans() local
5374 levdatum = hashtab_search(policydbp->p_levels.table, id); in define_range_trans()
5375 if (!levdatum) { in define_range_trans()
5383 rule->trange.level[l].sens = levdatum->level->sens; in define_range_trans()
5386 if (parse_semantic_categories(id, levdatum, in define_range_trans()