Lines Matching refs:perm
584 struct cil_perm *perm = NULL;
587 cil_perm_init(&perm);
595 rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)perm, (hashtab_key_t)key, CIL_SYM_PERMS, flavor);
600 perm->value = *num_perms;
606 cil_destroy_perm(perm);
611 void cil_destroy_perm(struct cil_perm *perm)
613 if (perm == NULL) {
617 cil_symtab_datum_destroy(&perm->datum);
618 cil_list_destroy(&perm->classperms, CIL_FALSE);
620 free(perm);