Lines Matching refs:ocontext_t
225 static ocontext_t *cil_add_ocontext(ocontext_t **head, ocontext_t **tail) in cil_add_ocontext()
227 ocontext_t *new = cil_malloc(sizeof(ocontext_t)); in cil_add_ocontext()
228 memset(new, 0, sizeof(ocontext_t)); in cil_add_ocontext()
3128 ocontext_t *tail = NULL; in cil_sidorder_to_policydb()
3143 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_ISID], &tail); in cil_sidorder_to_policydb()
3243 ocontext_t *tail = NULL; in cil_ibpkeycon_to_policydb()
3248 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_IBPKEY], &tail); in cil_ibpkeycon_to_policydb()
3277 ocontext_t *tail = NULL; in cil_portcon_to_policydb()
3281 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_PORT], &tail); in cil_portcon_to_policydb()
3321 ocontext_t *tail = NULL; in cil_netifcon_to_policydb()
3324 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_NETIF], &tail); in cil_netifcon_to_policydb()
3351 ocontext_t *tail = NULL; in cil_ibendportcon_to_policydb()
3354 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_IBENDPORT], &tail); in cil_ibendportcon_to_policydb()
3375 ocontext_t *tail = NULL; in cil_nodecon_to_policydb()
3376 ocontext_t *tail6 = NULL; in cil_nodecon_to_policydb()
3379 ocontext_t *new_ocon = NULL; in cil_nodecon_to_policydb()
3412 ocontext_t *tail = NULL; in cil_fsuse_to_policydb()
3415 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_FSUSE], &tail); in cil_fsuse_to_policydb()
3438 ocontext_t *ocon_tail = NULL; in cil_genfscon_to_policydb()
3442 ocontext_t *new_ocon = cil_malloc(sizeof(ocontext_t)); in cil_genfscon_to_policydb()
3443 memset(new_ocon, 0, sizeof(ocontext_t)); in cil_genfscon_to_policydb()
3481 ocontext_t *tail = NULL; in cil_pirqcon_to_policydb()
3484 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_PIRQ], &tail); in cil_pirqcon_to_policydb()
3505 ocontext_t *tail = NULL; in cil_iomemcon_to_policydb()
3508 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_IOMEM], &tail); in cil_iomemcon_to_policydb()
3530 ocontext_t *tail = NULL; in cil_ioportcon_to_policydb()
3533 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_IOPORT], &tail); in cil_ioportcon_to_policydb()
3555 ocontext_t *tail = NULL; in cil_pcidevicecon_to_policydb()
3558 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_PCIDEVICE], &tail); in cil_pcidevicecon_to_policydb()
3579 ocontext_t *tail = NULL; in cil_devicetreecon_to_policydb()
3582 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_DEVICETREE], &tail); in cil_devicetreecon_to_policydb()