Lines Matching refs:oldc
1400 char *scontextp, *p, oldc; in string_to_context_struct() local
1445 oldc = *p; in string_to_context_struct()
1454 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid); in string_to_context_struct()
1981 static int convert_context(struct context *oldc, struct context *newc, void *p) in convert_context() argument
1994 if (oldc->str) { in convert_context()
1995 s = kstrdup(oldc->str, GFP_KERNEL); in convert_context()
2009 memcpy(s, oldc->str, oldc->len); in convert_context()
2012 newc->len = oldc->len; in convert_context()
2013 newc->hash = oldc->hash; in convert_context()
2020 oldc->str, -rc); in convert_context()
2024 oldc->str); in convert_context()
2034 SYM_USERS, oldc->user - 1)); in convert_context()
2042 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in convert_context()
2051 SYM_TYPES, oldc->type - 1)); in convert_context()
2058 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in convert_context()
2085 rc = convert_context_handle_invalid_context(args->state, oldc); in convert_context()
2097 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context()