Home
last modified time | relevance | path

Searched refs:cur_av (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/src/
Dconditional.c907 cond_av_list_t *cur_av; in cond_av_list_search() local
909 for (cur_av = cond_list; cur_av != NULL; cur_av = cur_av->next) { in cond_av_list_search()
911 if (cur_av->node->key.source_type == key->source_type && in cond_av_list_search()
912 cur_av->node->key.target_type == key->target_type && in cond_av_list_search()
913 cur_av->node->key.target_class == key->target_class) in cond_av_list_search()
915 return &cur_av->node->datum; in cond_av_list_search()
/external/selinux/libsepol/cil/src/
Dcil_binary.c963 cond_av_list_t *cur_av; in cil_cond_av_list_search() local
965 for (cur_av = cond_list; cur_av != NULL; cur_av = cur_av->next) { in cil_cond_av_list_search()
966 if (cur_av->node->key.source_type == key->source_type && in cil_cond_av_list_search()
967 cur_av->node->key.target_type == key->target_type && in cil_cond_av_list_search()
968 cur_av->node->key.target_class == key->target_class && in cil_cond_av_list_search()
969 (cur_av->node->key.specified & key->specified)) in cil_cond_av_list_search()
971 return &cur_av->node->datum; in cil_cond_av_list_search()