Lines Matching refs:context_struct_to_string
92 static int context_struct_to_string(struct context *context, char **scontext,
497 if (context_struct_to_string(scontext, in security_dump_masked_av()
501 if (context_struct_to_string(tcontext, in security_dump_masked_av()
761 if (context_struct_to_string(ocontext, &o, &olen)) in security_validtrans_handle_fail()
763 if (context_struct_to_string(ncontext, &n, &nlen)) in security_validtrans_handle_fail()
765 if (context_struct_to_string(tcontext, &t, &tlen)) in security_validtrans_handle_fail()
910 if (!context_struct_to_string(old_context, in security_bounded_transition()
912 !context_struct_to_string(new_context, in security_bounded_transition()
1185 static int context_struct_to_string(struct context *context, char **scontext, u32 *scontext_len) in context_struct_to_string() function
1284 rc = context_struct_to_string(context, scontext, scontext_len); in security_sid_to_context_core()
1522 if (context_struct_to_string(scontext, &s, &slen)) in compute_sid_handle_invalid_context()
1524 if (context_struct_to_string(tcontext, &t, &tlen)) in compute_sid_handle_invalid_context()
1526 if (context_struct_to_string(newcontext, &n, &nlen)) in compute_sid_handle_invalid_context()
1832 if (!context_struct_to_string(context, &s, &len)) { in convert_context_handle_invalid_context()
1978 rc = context_struct_to_string(&oldc, &s, &len); in convert_context()
2778 if (!context_struct_to_string(&newcon, &s, &len)) { in security_sid_mls_copy()