Lines Matching refs:perm
458 struct cil_perm *perm = NULL;
461 cil_perm_init(&perm);
465 rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)perm, (hashtab_key_t)key, CIL_SYM_PERMS, flavor);
470 perm->value = *num_perms;
476 cil_destroy_perm(perm);
481 void cil_destroy_perm(struct cil_perm *perm)
483 if (perm == NULL) {
487 cil_symtab_datum_destroy(&perm->datum);
488 cil_list_destroy(&perm->classperms, CIL_FALSE);
490 free(perm);