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()
3216 ocontext_t *tail = NULL; in cil_sidorder_to_policydb()
3231 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_ISID], &tail); in cil_sidorder_to_policydb()
3340 ocontext_t *tail = NULL; in cil_ibpkeycon_to_policydb()
3345 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_IBPKEY], &tail); in cil_ibpkeycon_to_policydb()
3374 ocontext_t *tail = NULL; in cil_portcon_to_policydb()
3378 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_PORT], &tail); in cil_portcon_to_policydb()
3418 ocontext_t *tail = NULL; in cil_netifcon_to_policydb()
3421 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_NETIF], &tail); in cil_netifcon_to_policydb()
3448 ocontext_t *tail = NULL; in cil_ibendportcon_to_policydb()
3451 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_IBENDPORT], &tail); in cil_ibendportcon_to_policydb()
3472 ocontext_t *tail = NULL; in cil_nodecon_to_policydb()
3473 ocontext_t *tail6 = NULL; in cil_nodecon_to_policydb()
3476 ocontext_t *new_ocon = NULL; in cil_nodecon_to_policydb()
3509 ocontext_t *tail = NULL; in cil_fsuse_to_policydb()
3512 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_FSUSE], &tail); in cil_fsuse_to_policydb()
3535 ocontext_t *ocon_tail = NULL; in cil_genfscon_to_policydb()
3539 ocontext_t *new_ocon = cil_malloc(sizeof(ocontext_t)); in cil_genfscon_to_policydb()
3540 memset(new_ocon, 0, sizeof(ocontext_t)); in cil_genfscon_to_policydb()
3615 ocontext_t *tail = NULL; in cil_pirqcon_to_policydb()
3618 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_PIRQ], &tail); in cil_pirqcon_to_policydb()
3639 ocontext_t *tail = NULL; in cil_iomemcon_to_policydb()
3642 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_IOMEM], &tail); in cil_iomemcon_to_policydb()
3664 ocontext_t *tail = NULL; in cil_ioportcon_to_policydb()
3667 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_IOPORT], &tail); in cil_ioportcon_to_policydb()
3689 ocontext_t *tail = NULL; in cil_pcidevicecon_to_policydb()
3692 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_PCIDEVICE], &tail); in cil_pcidevicecon_to_policydb()
3713 ocontext_t *tail = NULL; in cil_devicetreecon_to_policydb()
3716 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_DEVICETREE], &tail); in cil_devicetreecon_to_policydb()