Lines Matching refs:oldc
1447 char *scontextp, *p, oldc; in string_to_context_struct() local
1492 oldc = *p; in string_to_context_struct()
1501 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid); in string_to_context_struct()
2024 static int convert_context(struct context *oldc, struct context *newc, void *p) in convert_context() argument
2037 if (oldc->str) { in convert_context()
2038 s = kstrdup(oldc->str, GFP_KERNEL); in convert_context()
2052 memcpy(s, oldc->str, oldc->len); in convert_context()
2055 newc->len = oldc->len; in convert_context()
2062 oldc->str, -rc); in convert_context()
2066 oldc->str); in convert_context()
2075 SYM_USERS, oldc->user - 1)); in convert_context()
2082 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in convert_context()
2090 SYM_TYPES, oldc->type - 1)); in convert_context()
2097 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in convert_context()
2125 oldc); in convert_context()
2133 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context()