Lines Matching refs:cur
258 avtab_ptr_t cur; member
274 if (avtab_i->cur == nullptr) { in get_avtab_allow_rule()
275 avtab_i->cur = avtab_i->avtab->htable[avtab_i->i]; in get_avtab_allow_rule()
277 for (; avtab_i->cur; avtab_i->cur = (avtab_i->cur)->next) { in get_avtab_allow_rule()
278 if (!((avtab_i->cur)->key.specified & AVTAB_ALLOWED)) continue; in get_avtab_allow_rule()
281 db->p_type_val_to_name[(avtab_i->cur)->key.source_type - 1], in get_avtab_allow_rule()
282 db->p_type_val_to_name[(avtab_i->cur)->key.target_type - 1], in get_avtab_allow_rule()
283 db->p_class_val_to_name[(avtab_i->cur)->key.target_class - 1], in get_avtab_allow_rule()
284 … sepol_av_to_string(db, (avtab_i->cur)->key.target_class, (avtab_i->cur)->datum.data)); in get_avtab_allow_rule()
285 avtab_i->cur = (avtab_i->cur)->next; in get_avtab_allow_rule()
286 if (!(avtab_i->cur)) in get_avtab_allow_rule()
294 avtab_i->cur = nullptr; in get_avtab_allow_rule()