Lines Matching refs:ocon
2787 int ocon;
2789 static int (**ocon_funcs)(struct policydb *pdb, struct ocontext *ocon);
2790 static int (*ocon_selinux_funcs[OCON_NUM])(struct policydb *pdb, struct ocontext *ocon) = {
2799 static int (*ocon_xen_funcs[OCON_NUM])(struct policydb *pdb, struct ocontext *ocon) = {
2822 for (ocon = 0; ocon < OCON_NUM; ocon++) {
2823 if (ocon_funcs[ocon] != NULL) {
2824 rc = ocon_funcs[ocon](pdb, pdb->ocontexts[ocon]);
2839 struct ocontext *ocon;
2842 for (ocon = genfs->head; ocon != NULL; ocon = ocon->next) {
2843 cil_printf("(genfscon %s %s ", genfs->fstype, ocon->u.name);
2844 context_to_cil(pdb, &ocon->context[0]);