Lines Matching refs:ocontext_t
227 static ocontext_t *cil_add_ocontext(ocontext_t **head, ocontext_t **tail) in cil_add_ocontext()
229 ocontext_t *new = cil_malloc(sizeof(ocontext_t)); in cil_add_ocontext()
230 memset(new, 0, sizeof(ocontext_t)); in cil_add_ocontext()
2902 ocontext_t *tail = NULL; in cil_sidorder_to_policydb()
2914 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_ISID], &tail); in cil_sidorder_to_policydb()
3025 ocontext_t *tail = NULL; in cil_portcon_to_policydb()
3029 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_PORT], &tail); in cil_portcon_to_policydb()
3063 ocontext_t *tail = NULL; in cil_netifcon_to_policydb()
3066 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_NETIF], &tail); in cil_netifcon_to_policydb()
3093 ocontext_t *tail = NULL; in cil_nodecon_to_policydb()
3094 ocontext_t *tail6 = NULL; in cil_nodecon_to_policydb()
3097 ocontext_t *new_ocon = NULL; in cil_nodecon_to_policydb()
3130 ocontext_t *tail = NULL; in cil_fsuse_to_policydb()
3133 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_FSUSE], &tail); in cil_fsuse_to_policydb()
3156 ocontext_t *ocon_tail = NULL; in cil_genfscon_to_policydb()
3160 ocontext_t *new_ocon = cil_malloc(sizeof(ocontext_t)); in cil_genfscon_to_policydb()
3161 memset(new_ocon, 0, sizeof(ocontext_t)); in cil_genfscon_to_policydb()
3199 ocontext_t *tail = NULL; in cil_pirqcon_to_policydb()
3202 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_PIRQ], &tail); in cil_pirqcon_to_policydb()
3223 ocontext_t *tail = NULL; in cil_iomemcon_to_policydb()
3226 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_IOMEM], &tail); in cil_iomemcon_to_policydb()
3248 ocontext_t *tail = NULL; in cil_ioportcon_to_policydb()
3251 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_IOPORT], &tail); in cil_ioportcon_to_policydb()
3273 ocontext_t *tail = NULL; in cil_pcidevicecon_to_policydb()
3276 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_PCIDEVICE], &tail); in cil_pcidevicecon_to_policydb()
3297 ocontext_t *tail = NULL; in cil_devicetreecon_to_policydb()
3300 ocontext_t *new_ocon = cil_add_ocontext(&pdb->ocontexts[OCON_XEN_DEVICETREE], &tail); in cil_devicetreecon_to_policydb()