Lines Matching defs:tunable
2510 cil_tree_log(parse_current, CIL_ERR, "Bad tunable (treated as a boolean due to preserve-tunables) declaration");
2539 struct cil_tunable *tunable = NULL;
2551 cil_tunable_init(&tunable);
2556 tunable->value = CIL_TRUE;
2558 tunable->value = CIL_FALSE;
2565 rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)tunable, (hashtab_key_t)key, CIL_SYM_TUNABLES, CIL_TUNABLE);
2573 cil_tree_log(parse_current, CIL_ERR, "Bad tunable declaration");
2574 cil_destroy_tunable(tunable);
2579 void cil_destroy_tunable(struct cil_tunable *tunable)
2581 if (tunable == NULL) {
2585 cil_symtab_datum_destroy(&tunable->datum);
2586 free(tunable);