Lines Matching refs:oldc
1445 char *scontextp, *p, oldc; in string_to_context_struct() local
1490 oldc = *p; in string_to_context_struct()
1499 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid); in string_to_context_struct()
2016 static int convert_context(struct context *oldc, struct context *newc, void *p, in convert_context() argument
2030 if (oldc->str) { in convert_context()
2031 s = kstrdup(oldc->str, gfp_flags); in convert_context()
2045 memcpy(s, oldc->str, oldc->len); in convert_context()
2048 newc->len = oldc->len; in convert_context()
2055 oldc->str, -rc); in convert_context()
2059 oldc->str); in convert_context()
2069 SYM_USERS, oldc->user - 1)); in convert_context()
2077 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in convert_context()
2086 SYM_TYPES, oldc->type - 1)); in convert_context()
2093 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in convert_context()
2122 oldc); in convert_context()
2130 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context()