Lines Matching refs:boollist
37 static struct boolean_t **boollist = NULL; variable
56 boollist[boolcnt] = malloc(sizeof(struct boolean_t)); in load_booleans()
57 boollist[boolcnt]->name = strdup(sepol_bool_get_name(boolean)); in load_booleans()
58 boollist[boolcnt]->active = sepol_bool_get_value(boolean); in load_booleans()
79 char *name = boollist[i]->name; in check_booleans()
80 int active = boollist[i]->active; in check_booleans()
154 b[i].name = strdup(boollist[ctr]->name); in check_booleans()
155 b[i].active = !boollist[ctr]->active; in check_booleans()
171 free(boollist[i]->name); in finish()
172 free(boollist[i]); in finish()
174 free(boollist); in finish()
181 boollist = NULL; in finish()
270 boollist = calloc(cnt, sizeof(*boollist)); in __policy_init()
271 if (!boollist) { in __policy_init()
284 free(boollist); in __policy_init()