Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dconditional.c893 cond_av_list_t *cur_av; in cond_av_list_search() local
895 for (cur_av = cond_list; cur_av != NULL; cur_av = cur_av->next) { in cond_av_list_search()
897 if (cur_av->node->key.source_type == key->source_type && in cond_av_list_search()
898 cur_av->node->key.target_type == key->target_type && in cond_av_list_search()
899 cur_av->node->key.target_class == key->target_class) in cond_av_list_search()
901 return &cur_av->node->datum; in cond_av_list_search()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c959 cond_av_list_t *cur_av; in cil_cond_av_list_search() local
961 for (cur_av = cond_list; cur_av != NULL; cur_av = cur_av->next) { in cil_cond_av_list_search()
962 if (cur_av->node->key.source_type == key->source_type && in cil_cond_av_list_search()
963 cur_av->node->key.target_type == key->target_type && in cil_cond_av_list_search()
964 cur_av->node->key.target_class == key->target_class && in cil_cond_av_list_search()
965 (cur_av->node->key.specified & key->specified)) in cil_cond_av_list_search()
967 return &cur_av->node->datum; in cil_cond_av_list_search()