Lines Matching refs:oldc
1424 char *scontextp, *p, oldc;
1469 oldc = *p;
1478 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid);
1980 * @oldc: original context
1984 * Convert the values in the security context structure @oldc from the values
1990 struct context *oldc, struct context *newc,
2001 if (oldc->str) {
2002 s = kstrdup(oldc->str, gfp_flags);
2011 * IMPORTANT: We need to copy the contents of oldc->str
2015 memcpy(s, oldc->str, oldc->len);
2018 newc->len = oldc->len;
2025 oldc->str, -rc);
2029 oldc->str);
2037 sym_name(args->oldp, SYM_USERS, oldc->user - 1));
2044 sym_name(args->oldp, SYM_ROLES, oldc->role - 1));
2051 sym_name(args->oldp, SYM_TYPES, oldc->type - 1));
2058 rc = mls_convert_context(args->oldp, args->newp, oldc, newc);
2084 rc = convert_context_handle_invalid_context(args->oldp, oldc);
2092 rc = context_struct_to_string(args->oldp, oldc, &s, &len);