Searched defs:pcidevicecon (Results 1 - 8 of 8) sorted by relevance

/external/selinux/libsepol/cil/src/
H A Dcil_reset_ast.c344 static void cil_reset_pcidevicecon(struct cil_pcidevicecon *pcidevicecon) argument
346 if (pcidevicecon->context_str == NULL) {
347 cil_reset_context(pcidevicecon->context);
H A Dcil_policy.c267 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);
1367 rc = cil_pcidevicecon_to_policy(file_arr, db->pcidevicecon);
H A Dcil_tree.c1436 struct cil_pcidevicecon *pcidevicecon = node->data; local
1438 cil_log(CIL_INFO, "PCIDEVICECON %d", pcidevicecon->dev);
1439 if (pcidevicecon->context != NULL) {
1440 cil_tree_print_context(pcidevicecon->context);
1442 cil_log(CIL_INFO, " %s", pcidevicecon->context_str);
H A Dcil.c196 CIL_KEY_PCIDEVICECON = cil_strpool_add("pcidevicecon");
259 cil_sort_init(&(*db)->pcidevicecon);
308 cil_sort_destroy(&(*db)->pcidevicecon);
2274 void cil_pcidevicecon_init(struct cil_pcidevicecon **pcidevicecon) argument
2276 *pcidevicecon = cil_malloc(sizeof(**pcidevicecon));
2278 (*pcidevicecon)->dev = 0;
2279 (*pcidevicecon)->context_str = NULL;
2280 (*pcidevicecon)->context = NULL;
H A Dcil_post.c414 db->pcidevicecon->count++;
580 struct cil_sort *sort = db->pcidevicecon;
1640 struct cil_pcidevicecon *pcidevicecon = node->data; local
1641 rc = __evaluate_levelrange_expression(pcidevicecon->context->range, db);
1945 qsort(db->pcidevicecon->array, db->pcidevicecon->count, sizeof(db->pcidevicecon->array), cil_post_pcidevicecon_compare);
H A Dcil_resolve_ast.c2085 struct cil_pcidevicecon *pcidevicecon = current->data; local
2089 if (pcidevicecon->context_str != NULL) {
2090 rc = cil_resolve_name(current, pcidevicecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum);
2094 pcidevicecon->context = (struct cil_context*)context_datum;
2096 rc = cil_resolve_context(current, pcidevicecon->context, extra_args);
H A Dcil_build_ast.c4810 struct cil_pcidevicecon *pcidevicecon = NULL; local
4821 cil_pcidevicecon_init(&pcidevicecon);
4823 rc = cil_fill_integer(parse_current->next, &pcidevicecon->dev);
4829 pcidevicecon->context_str = parse_current->next->next->data;
4831 cil_context_init(&pcidevicecon->context);
4833 rc = cil_fill_context(parse_current->next->next->cl_head, pcidevicecon->context);
4839 ast_node->data = pcidevicecon;
4845 cil_log(CIL_ERR, "Bad pcidevicecon declaration at line %d of %s\n",
4847 cil_destroy_pcidevicecon(pcidevicecon);
4851 void cil_destroy_pcidevicecon(struct cil_pcidevicecon *pcidevicecon) argument
[all...]
H A Dcil_internal.h286 struct cil_sort *pcidevicecon; member in struct:cil_db
989 void cil_pcidevicecon_init(struct cil_pcidevicecon **pcidevicecon);

Completed in 82 milliseconds