Lines Matching refs:usrlvl
1367 struct cil_userlevel *usrlvl = NULL; in cil_gen_userlevel() local
1379 cil_userlevel_init(&usrlvl); in cil_gen_userlevel()
1381 usrlvl->user_str = parse_current->next->data; in cil_gen_userlevel()
1384 usrlvl->level_str = parse_current->next->next->data; in cil_gen_userlevel()
1386 cil_level_init(&usrlvl->level); in cil_gen_userlevel()
1388 rc = cil_fill_level(parse_current->next->next->cl_head, usrlvl->level); in cil_gen_userlevel()
1394 ast_node->data = usrlvl; in cil_gen_userlevel()
1402 cil_destroy_userlevel(usrlvl); in cil_gen_userlevel()
1406 void cil_destroy_userlevel(struct cil_userlevel *usrlvl) in cil_destroy_userlevel() argument
1408 if (usrlvl == NULL) { in cil_destroy_userlevel()
1412 if (usrlvl->level_str == NULL && usrlvl->level != NULL) { in cil_destroy_userlevel()
1413 cil_destroy_level(usrlvl->level); in cil_destroy_userlevel()
1416 free(usrlvl); in cil_destroy_userlevel()