Searched defs:ioportcon (Results 1 - 8 of 8) sorted by relevance
/external/selinux/libsepol/cil/src/ |
H A D | cil_reset_ast.c | 312 static void cil_reset_ioportcon(struct cil_ioportcon *ioportcon) argument 314 if (ioportcon->context_str == NULL) { 315 cil_reset_context(ioportcon->context);
|
H A D | cil_policy.c | 253 struct cil_ioportcon *ioportcon = (struct cil_ioportcon*)sort->array[i]; local 254 fprintf(file_arr[NETIFCONS], "ioportcon %d-%d ", ioportcon->ioport_low, ioportcon->ioport_high); 255 cil_context_to_policy(file_arr, NETIFCONS, ioportcon->context); 1366 rc = cil_ioportcon_to_policy(file_arr, db->ioportcon);
|
H A D | cil_tree.c | 1407 struct cil_ioportcon *ioportcon = node->data; local 1409 cil_log(CIL_INFO, "IOPORTCON ( %d %d )", ioportcon->ioport_low, ioportcon->ioport_high); 1410 if (ioportcon->context != NULL) { 1411 cil_tree_print_context(ioportcon->context); 1413 cil_log(CIL_INFO, " %s", ioportcon->context_str);
|
H A D | cil.c | 193 CIL_KEY_IOPORTCON = cil_strpool_add("ioportcon"); 249 cil_sort_init(&(*db)->ioportcon); 295 cil_sort_destroy(&(*db)->ioportcon); 2206 void cil_ioportcon_init(struct cil_ioportcon **ioportcon) argument 2208 *ioportcon = cil_malloc(sizeof(**ioportcon)); 2210 (*ioportcon)->context_str = NULL; 2211 (*ioportcon)->context = NULL;
|
H A D | cil_post.c | 386 db->ioportcon->count++; 536 struct cil_sort *sort = db->ioportcon; 1318 struct cil_ioportcon *ioportcon = node->data; local 1319 rc = __evaluate_levelrange_expression(ioportcon->context->range, db); 1624 qsort(db->ioportcon->array, db->ioportcon->count, sizeof(db->ioportcon->array), cil_post_ioportcon_compare);
|
H A D | cil_resolve_ast.c | 1924 struct cil_ioportcon *ioportcon = current->data; local 1928 if (ioportcon->context_str != NULL) { 1929 rc = cil_resolve_name(current, ioportcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); 1933 ioportcon->context = (struct cil_context*)context_datum; 1935 rc = cil_resolve_context(current, ioportcon->context, extra_args);
|
H A D | cil_build_ast.c | 4392 struct cil_ioportcon *ioportcon = NULL; local 4403 cil_ioportcon_init(&ioportcon); 4408 rc = cil_fill_integer(parse_current->next->cl_head, &ioportcon->ioport_low); 4413 rc = cil_fill_integer(parse_current->next->cl_head->next, &ioportcon->ioport_high); 4424 rc = cil_fill_integer(parse_current->next, &ioportcon->ioport_low); 4429 ioportcon->ioport_high = ioportcon->ioport_low; 4433 ioportcon->context_str = parse_current->next->next->data; 4435 cil_context_init(&ioportcon->context); 4437 rc = cil_fill_context(parse_current->next->next->cl_head, ioportcon 4455 cil_destroy_ioportcon(struct cil_ioportcon *ioportcon) argument [all...] |
H A D | cil_internal.h | 275 struct cil_sort *ioportcon; member in struct:cil_db 943 void cil_ioportcon_init(struct cil_ioportcon **ioportcon);
|
Completed in 211 milliseconds