Lines Matching refs:context
617 context_destroy(&c->context[0]); in ocontext_destroy()
618 context_destroy(&c->context[1]); in ocontext_destroy()
740 if (!c->context[0].user) { in policydb_load_isids()
746 if (sidtab_insert(s, c->sid[0], &c->context[0])) { in policydb_load_isids()
782 int policydb_context_isvalid(struct policydb *p, struct context *c) in policydb_context_isvalid()
889 static int context_read_and_validate(struct context *c, in context_read_and_validate()
1888 rc = context_read_and_validate(&c->context[0], p, fp); in policydb_read()
1907 rc = context_read_and_validate(&c->context[0], p, fp); in policydb_read()
1910 rc = context_read_and_validate(&c->context[1], p, fp); in policydb_read()
1921 rc = context_read_and_validate(&c->context[0], p, fp); in policydb_read()
1931 rc = context_read_and_validate(&c->context[0], p, fp); in policydb_read()
1952 rc = context_read_and_validate(&c->context[0], p, fp); in policydb_read()
1966 if (context_read_and_validate(&c->context[0], p, fp)) in policydb_read()
2050 if (context_read_and_validate(&newc->context[0], p, fp)) in policydb_read()