Lines Matching refs:scontext_len

92 				    u32 *scontext_len);
1210 char **scontext, u32 *scontext_len) in context_struct_to_string() argument
1216 *scontext_len = 0; in context_struct_to_string()
1219 *scontext_len = context->len; in context_struct_to_string()
1229 *scontext_len += strlen(sym_name(p, SYM_USERS, context->user - 1)) + 1; in context_struct_to_string()
1230 *scontext_len += strlen(sym_name(p, SYM_ROLES, context->role - 1)) + 1; in context_struct_to_string()
1231 *scontext_len += strlen(sym_name(p, SYM_TYPES, context->type - 1)) + 1; in context_struct_to_string()
1232 *scontext_len += mls_compute_context_len(p, context); in context_struct_to_string()
1238 scontextp = kmalloc(*scontext_len, GFP_ATOMIC); in context_struct_to_string()
1269 u32 *scontext_len, int force, in security_sid_to_context_core() argument
1279 *scontext_len = 0; in security_sid_to_context_core()
1285 *scontext_len = strlen(initial_sid_to_string[sid]) + 1; in security_sid_to_context_core()
1289 *scontext_len, GFP_ATOMIC); in security_sid_to_context_core()
1319 scontext_len); in security_sid_to_context_core()
1338 u32 sid, char **scontext, u32 *scontext_len) in security_sid_to_context() argument
1341 scontext_len, 0, 0); in security_sid_to_context()
1345 char **scontext, u32 *scontext_len) in security_sid_to_context_force() argument
1348 scontext_len, 1, 0); in security_sid_to_context_force()
1365 char **scontext, u32 *scontext_len) in security_sid_to_context_inval() argument
1368 scontext_len, 1, 1); in security_sid_to_context_inval()
1453 const char *scontext, u32 scontext_len, in security_context_to_sid_core() argument
1464 if (!scontext_len) in security_context_to_sid_core()
1468 scontext2 = kmemdup_nul(scontext, scontext_len, gfp_flags); in security_context_to_sid_core()
1527 const char *scontext, u32 scontext_len, u32 *sid, in security_context_to_sid() argument
1530 return security_context_to_sid_core(state, scontext, scontext_len, in security_context_to_sid()
1560 const char *scontext, u32 scontext_len, in security_context_to_sid_default() argument
1563 return security_context_to_sid_core(state, scontext, scontext_len, in security_context_to_sid_default()
1568 const char *scontext, u32 scontext_len, in security_context_to_sid_force() argument
1571 return security_context_to_sid_core(state, scontext, scontext_len, in security_context_to_sid_force()