Home
last modified time | relevance | path

Searched refs:avtab_key_t (Results 1 – 10 of 10) sorted by relevance

/external/libsepol/include/sepol/policydb/
Davtab.h62 } avtab_key_t; typedef
71 avtab_key_t key;
89 extern int avtab_insert(avtab_t * h, avtab_key_t * k, avtab_datum_t * d);
91 extern avtab_datum_t *avtab_search(avtab_t * h, avtab_key_t * k);
96 int (*apply) (avtab_key_t * k,
103 int (*insert) (avtab_t * a, avtab_key_t * k,
108 extern avtab_ptr_t avtab_insert_nonunique(avtab_t * h, avtab_key_t * key,
112 avtab_key_t * key,
116 extern avtab_ptr_t avtab_search_node(avtab_t * h, avtab_key_t * key);
Dconditional.h112 extern avtab_datum_t *cond_av_list_search(avtab_key_t * key,
133 extern void cond_compute_av(avtab_t * ctab, avtab_key_t * key,
/external/libsepol/src/
Davtab.c59 avtab_insert_node(avtab_t * h, int hvalue, avtab_ptr_t prev, avtab_key_t * key, in avtab_insert_node()
81 int avtab_insert(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert()
122 avtab_insert_nonunique(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert_nonunique()
154 avtab_datum_t *avtab_search(avtab_t * h, avtab_key_t * key) in avtab_search()
189 avtab_ptr_t avtab_search_node(avtab_t * h, avtab_key_t * key) in avtab_search_node()
272 int (*apply) (avtab_key_t * k, in avtab_map()
370 int (*insertf) (avtab_t * a, avtab_key_t * k, in avtab_read_item()
375 avtab_key_t key; in avtab_read_item()
381 memset(&key, 0, sizeof(avtab_key_t)); in avtab_read_item()
484 static int avtab_insertf(avtab_t * a, avtab_key_t * k, avtab_datum_t * d, in avtab_insertf()
Dhierarchy.c104 avtab_key_t *key, in find_parent_template()
157 static int check_avtab_hierarchy_callback(avtab_key_t * k, avtab_datum_t * d, in check_avtab_hierarchy_callback()
160 avtab_key_t key; in check_avtab_hierarchy_callback()
Dassertion.c36 avtab_key_t avkey; in check_assertion_helper()
Dconditional.c626 __attribute__ ((unused)), avtab_key_t * k, in cond_insertf()
878 void cond_compute_av(avtab_t * ctab, avtab_key_t * key, in cond_compute_av()
906 avtab_datum_t *cond_av_list_search(avtab_key_t * key, in cond_av_list_search()
Dexpand.c1546 avtab_t * avtab, avtab_key_t * key, in find_avtab_node()
1601 avtab_key_t avkey; in expand_terule_helper()
1710 avtab_key_t avkey; in expand_avrule_helper()
3040 static int expand_avtab_insert(avtab_t * a, avtab_key_t * k, avtab_datum_t * d) in expand_avtab_insert()
3087 static int expand_avtab_node(avtab_key_t * k, avtab_datum_t * d, void *args) in expand_avtab_node()
3098 avtab_key_t newkey; in expand_avtab_node()
3171 avtab_key_t * k, avtab_datum_t * d) in expand_cond_insert()
3220 avtab_key_t *k = &node->key; in expand_cond_av_node()
3228 avtab_key_t newkey; in expand_cond_av_node()
Dservices.c315 avtab_key_t avkey; in context_struct_compute_av()
605 avtab_key_t avkey; in sepol_compute_sid()
/external/checkpolicy/test/
Ddispol.c46 int render_access_mask(uint32_t mask, avtab_key_t * key, policydb_t * p, in render_access_mask()
64 int render_key(avtab_key_t * key, policydb_t * p, FILE * fp) in render_key()
88 int render_av_rule(avtab_key_t * key, avtab_datum_t * datum, uint32_t what, in render_av_rule()
/external/checkpolicy/
Dcheckpolicy.c160 static int insert_type_rule(avtab_key_t * k, avtab_datum_t * d, in insert_type_rule()
196 static int create_type_rules(avtab_key_t * k, avtab_datum_t * d, void *args) in create_type_rules()