Lines Matching refs:oldc
1439 char *scontextp, *p, oldc; in string_to_context_struct() local
1484 oldc = *p; in string_to_context_struct()
1493 rc = mls_context_to_sid(pol, oldc, p, ctx, sidtabp, def_sid); in string_to_context_struct()
2024 struct context *oldc, struct context *newc, in services_convert_context() argument
2035 if (oldc->str) { in services_convert_context()
2036 s = kstrdup(oldc->str, gfp_flags); in services_convert_context()
2049 memcpy(s, oldc->str, oldc->len); in services_convert_context()
2052 newc->len = oldc->len; in services_convert_context()
2059 oldc->str, -rc); in services_convert_context()
2063 oldc->str); in services_convert_context()
2071 sym_name(args->oldp, SYM_USERS, oldc->user - 1)); in services_convert_context()
2078 sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); in services_convert_context()
2085 sym_name(args->oldp, SYM_TYPES, oldc->type - 1)); in services_convert_context()
2092 rc = mls_convert_context(args->oldp, args->newp, oldc, newc); in services_convert_context()
2119 args->oldp, oldc); in services_convert_context()
2127 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in services_convert_context()