Lines Matching refs:oldc
1383 char *scontextp, *p, oldc; in string_to_context_struct() local
1428 oldc = *p; in string_to_context_struct()
1437 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid); in string_to_context_struct()
1928 static int convert_context(struct context *oldc, struct context *newc, void *p) in convert_context() argument
1941 if (oldc->str) { in convert_context()
1942 s = kstrdup(oldc->str, GFP_KERNEL); in convert_context()
1956 memcpy(s, oldc->str, oldc->len); in convert_context()
1959 newc->len = oldc->len; in convert_context()
1966 oldc->str, -rc); in convert_context()
1970 oldc->str); in convert_context()
1980 SYM_USERS, oldc->user - 1)); in convert_context()
1988 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in convert_context()
1997 SYM_TYPES, oldc->type - 1)); in convert_context()
2004 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in convert_context()
2031 rc = convert_context_handle_invalid_context(args->state, oldc); in convert_context()
2039 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context()