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.c972 cond_av_list_t *cur_av; in cil_cond_av_list_search() local
974 for (cur_av = cond_list; cur_av != NULL; cur_av = cur_av->next) { in cil_cond_av_list_search()
975 if (cur_av->node->key.source_type == key->source_type && in cil_cond_av_list_search()
976 cur_av->node->key.target_type == key->target_type && in cil_cond_av_list_search()
977 cur_av->node->key.target_class == key->target_class && in cil_cond_av_list_search()
978 (cur_av->node->key.specified & key->specified)) in cil_cond_av_list_search()
980 return &cur_av->node->datum; in cil_cond_av_list_search()