Searched defs:pirqcon (Results 1 - 8 of 8) sorted by relevance
/external/selinux/libsepol/cil/src/ |
H A D | cil_reset_ast.c | 298 static void cil_reset_pirqcon(struct cil_pirqcon *pirqcon) argument 300 if (pirqcon->context_str == NULL) { 301 cil_reset_context(pirqcon->context);
|
H A D | cil_policy.c | 226 struct cil_pirqcon *pirqcon = (struct cil_pirqcon*)sort->array[i]; local 227 fprintf(file_arr[NETIFCONS], "pirqcon %d ", pirqcon->pirq); 228 cil_context_to_policy(file_arr, NETIFCONS, pirqcon->context); 1354 rc = cil_pirqcon_to_policy(file_arr, db->pirqcon);
|
H A D | cil_tree.c | 1381 struct cil_pirqcon *pirqcon = node->data; local 1383 cil_log(CIL_INFO, "PIRQCON %d", pirqcon->pirq); 1384 if (pirqcon->context != NULL) { 1385 cil_tree_print_context(pirqcon->context); 1387 cil_log(CIL_INFO, " %s", pirqcon->context_str);
|
H A D | cil.c | 191 CIL_KEY_PIRQCON = cil_strpool_add("pirqcon"); 247 cil_sort_init(&(*db)->pirqcon); 293 cil_sort_destroy(&(*db)->pirqcon); 2187 void cil_pirqcon_init(struct cil_pirqcon **pirqcon) argument 2189 *pirqcon = cil_malloc(sizeof(**pirqcon)); 2191 (*pirqcon)->pirq = 0; 2192 (*pirqcon)->context_str = NULL; 2193 (*pirqcon)->context = NULL;
|
H A D | cil_post.c | 380 db->pirqcon->count++; 514 struct cil_sort *sort = db->pirqcon; 1302 struct cil_pirqcon *pirqcon = node->data; local 1303 rc = __evaluate_levelrange_expression(pirqcon->context->range, db); 1622 qsort(db->pirqcon->array, db->pirqcon->count, sizeof(db->pirqcon->array), cil_post_pirqcon_compare);
|
H A D | cil_resolve_ast.c | 1874 struct cil_pirqcon *pirqcon = current->data; local 1878 if (pirqcon->context_str != NULL) { 1879 rc = cil_resolve_name(current, pirqcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); 1883 pirqcon->context = (struct cil_context*)context_datum; 1885 rc = cil_resolve_context(current, pirqcon->context, extra_args);
|
H A D | cil_build_ast.c | 4242 struct cil_pirqcon *pirqcon = NULL; local 4253 cil_pirqcon_init(&pirqcon); 4255 rc = cil_fill_integer(parse_current->next, &pirqcon->pirq); 4261 pirqcon->context_str = parse_current->next->next->data; 4263 cil_context_init(&pirqcon->context); 4265 rc = cil_fill_context(parse_current->next->next->cl_head, pirqcon->context); 4271 ast_node->data = pirqcon; 4277 cil_log(CIL_ERR, "Bad pirqcon declaration at line %d of %s\n", 4279 cil_destroy_pirqcon(pirqcon); 4283 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon) argument [all...] |
H A D | cil_internal.h | 273 struct cil_sort *pirqcon; member in struct:cil_db 941 void cil_pirqcon_init(struct cil_pirqcon **pirqcon);
|
Completed in 202 milliseconds