Searched defs:pcidevicecon (Results 1 - 8 of 8) sorted by relevance
/external/selinux/libsepol/cil/src/ |
H A D | cil_reset_ast.c | 319 static void cil_reset_pcidevicecon(struct cil_pcidevicecon *pcidevicecon) argument 321 if (pcidevicecon->context_str == NULL) { 322 cil_reset_context(pcidevicecon->context);
|
H A D | cil_policy.c | 267 struct cil_pcidevicecon *pcidevicecon = (struct cil_pcidevicecon*)sort->array[i]; local 268 fprintf(file_arr[NETIFCONS], "pcidevicecon %d ", pcidevicecon->dev); 269 cil_context_to_policy(file_arr, NETIFCONS, pcidevicecon->context); 1372 rc = cil_pcidevicecon_to_policy(file_arr, db->pcidevicecon);
|
H A D | cil_tree.c | 1420 struct cil_pcidevicecon *pcidevicecon = node->data; local 1422 cil_log(CIL_INFO, "PCIDEVICECON %d", pcidevicecon->dev); 1423 if (pcidevicecon->context != NULL) { 1424 cil_tree_print_context(pcidevicecon->context); 1426 cil_log(CIL_INFO, " %s", pcidevicecon->context_str);
|
H A D | cil.c | 194 CIL_KEY_PCIDEVICECON = cil_strpool_add("pcidevicecon"); 250 cil_sort_init(&(*db)->pcidevicecon); 296 cil_sort_destroy(&(*db)->pcidevicecon); 2214 void cil_pcidevicecon_init(struct cil_pcidevicecon **pcidevicecon) argument 2216 *pcidevicecon = cil_malloc(sizeof(**pcidevicecon)); 2218 (*pcidevicecon)->dev = 0; 2219 (*pcidevicecon)->context_str = NULL; 2220 (*pcidevicecon)->context = NULL;
|
H A D | cil_post.c | 389 db->pcidevicecon->count++; 547 struct cil_sort *sort = db->pcidevicecon; 1326 struct cil_pcidevicecon *pcidevicecon = node->data; local 1327 rc = __evaluate_levelrange_expression(pcidevicecon->context->range, db); 1625 qsort(db->pcidevicecon->array, db->pcidevicecon->count, sizeof(db->pcidevicecon->array), cil_post_pcidevicecon_compare);
|
H A D | cil_resolve_ast.c | 1949 struct cil_pcidevicecon *pcidevicecon = current->data; local 1953 if (pcidevicecon->context_str != NULL) { 1954 rc = cil_resolve_name(current, pcidevicecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); 1958 pcidevicecon->context = (struct cil_context*)context_datum; 1960 rc = cil_resolve_context(current, pcidevicecon->context, extra_args);
|
H A D | cil_build_ast.c | 4478 struct cil_pcidevicecon *pcidevicecon = NULL; local 4489 cil_pcidevicecon_init(&pcidevicecon); 4491 rc = cil_fill_integer(parse_current->next, &pcidevicecon->dev); 4497 pcidevicecon->context_str = parse_current->next->next->data; 4499 cil_context_init(&pcidevicecon->context); 4501 rc = cil_fill_context(parse_current->next->next->cl_head, pcidevicecon->context); 4507 ast_node->data = pcidevicecon; 4513 cil_log(CIL_ERR, "Bad pcidevicecon declaration at line %d of %s\n", 4515 cil_destroy_pcidevicecon(pcidevicecon); 4519 void cil_destroy_pcidevicecon(struct cil_pcidevicecon *pcidevicecon) argument [all...] |
H A D | cil_internal.h | 276 struct cil_sort *pcidevicecon; member in struct:cil_db 944 void cil_pcidevicecon_init(struct cil_pcidevicecon **pcidevicecon);
|
Completed in 394 milliseconds