Lines Matching refs:oldc
1432 char *scontextp, *p, oldc; in string_to_context_struct() local
1477 oldc = *p; in string_to_context_struct()
1486 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid); in string_to_context_struct()
1992 static int convert_context(struct context *oldc, struct context *newc, void *p) in convert_context() argument
2005 if (oldc->str) { in convert_context()
2006 s = kstrdup(oldc->str, GFP_KERNEL); in convert_context()
2020 memcpy(s, oldc->str, oldc->len); in convert_context()
2023 newc->len = oldc->len; in convert_context()
2030 oldc->str, -rc); in convert_context()
2034 oldc->str); in convert_context()
2044 SYM_USERS, oldc->user - 1)); in convert_context()
2052 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in convert_context()
2061 SYM_TYPES, oldc->type - 1)); in convert_context()
2068 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in convert_context()
2097 oldc); in convert_context()
2105 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context()