Lines Matching refs:ocon
2921 int ocon; in ocontexts_to_cil() local
2923 static int (**ocon_funcs)(struct policydb *pdb, struct ocontext *ocon); in ocontexts_to_cil()
2924 static int (*ocon_selinux_funcs[OCON_NUM])(struct policydb *pdb, struct ocontext *ocon) = { in ocontexts_to_cil()
2935 static int (*ocon_xen_funcs[OCON_NUM])(struct policydb *pdb, struct ocontext *ocon) = { in ocontexts_to_cil()
2958 for (ocon = 0; ocon < OCON_NUM; ocon++) { in ocontexts_to_cil()
2959 if (ocon_funcs[ocon] != NULL) { in ocontexts_to_cil()
2960 rc = ocon_funcs[ocon](pdb, pdb->ocontexts[ocon]); in ocontexts_to_cil()
2975 struct ocontext *ocon; in genfscon_to_cil() local
2979 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) { in genfscon_to_cil()
2980 sclass = ocon->v.sclass; in genfscon_to_cil()
3001 cil_printf("(genfscon %s \"%s\" %s ", genfs->fstype, ocon->u.name, file_type); in genfscon_to_cil()
3003 cil_printf("(genfscon %s \"%s\" ", genfs->fstype, ocon->u.name); in genfscon_to_cil()
3005 context_to_cil(pdb, &ocon->context[0]); in genfscon_to_cil()