Lines Matching refs:oldc
1394 char *scontextp, *p, oldc; in string_to_context_struct() local
1439 oldc = *p; in string_to_context_struct()
1448 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid); in string_to_context_struct()
1975 static int convert_context(struct context *oldc, struct context *newc, void *p) in convert_context() argument
1988 if (oldc->str) { in convert_context()
1989 s = kstrdup(oldc->str, GFP_KERNEL); in convert_context()
2003 memcpy(s, oldc->str, oldc->len); in convert_context()
2006 newc->len = oldc->len; in convert_context()
2007 newc->hash = oldc->hash; in convert_context()
2014 oldc->str, -rc); in convert_context()
2018 oldc->str); in convert_context()
2028 SYM_USERS, oldc->user - 1)); in convert_context()
2036 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in convert_context()
2045 SYM_TYPES, oldc->type - 1)); in convert_context()
2052 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in convert_context()
2079 rc = convert_context_handle_invalid_context(args->state, oldc); in convert_context()
2091 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context()