Lines Matching refs:ocon
2899 int ocon; in ocontexts_to_cil() local
2901 static int (**ocon_funcs)(struct policydb *pdb, struct ocontext *ocon); in ocontexts_to_cil()
2902 static int (*ocon_selinux_funcs[OCON_NUM])(struct policydb *pdb, struct ocontext *ocon) = { in ocontexts_to_cil()
2913 static int (*ocon_xen_funcs[OCON_NUM])(struct policydb *pdb, struct ocontext *ocon) = { in ocontexts_to_cil()
2936 for (ocon = 0; ocon < OCON_NUM; ocon++) { in ocontexts_to_cil()
2937 if (ocon_funcs[ocon] != NULL) { in ocontexts_to_cil()
2938 rc = ocon_funcs[ocon](pdb, pdb->ocontexts[ocon]); in ocontexts_to_cil()
2953 struct ocontext *ocon; in genfscon_to_cil() local
2956 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in genfscon_to_cil()
2957 cil_printf("(genfscon %s %s ", genfs->fstype, ocon->u.name); in genfscon_to_cil()
2958 context_to_cil(pdb, &ocon->context[0]); in genfscon_to_cil()