Lines Matching refs:scontextp
1221 char *scontextp; in context_struct_to_string() local
1247 scontextp = kmalloc(*scontext_len, GFP_ATOMIC); in context_struct_to_string()
1248 if (!scontextp) in context_struct_to_string()
1250 *scontext = scontextp; in context_struct_to_string()
1255 scontextp += sprintf(scontextp, "%s:%s:%s", in context_struct_to_string()
1260 mls_sid_to_context(p, context, &scontextp); in context_struct_to_string()
1262 *scontextp = 0; in context_struct_to_string()
1328 char *scontextp; in security_sid_to_context_core() local
1336 scontextp = kmemdup(s, *scontext_len, GFP_ATOMIC); in security_sid_to_context_core()
1337 if (!scontextp) in security_sid_to_context_core()
1339 *scontext = scontextp; in security_sid_to_context_core()
1428 char *scontextp, *p, oldc; in string_to_context_struct() local
1436 scontextp = scontext; in string_to_context_struct()
1439 p = scontextp; in string_to_context_struct()
1448 usrdatum = symtab_search(&pol->p_users, scontextp); in string_to_context_struct()
1455 scontextp = p; in string_to_context_struct()
1464 role = symtab_search(&pol->p_roles, scontextp); in string_to_context_struct()
1470 scontextp = p; in string_to_context_struct()
1476 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()