Lines Matching defs:tcon
909 char *scon = NULL, *tcon = NULL;
927 tcon = kzalloc(size + 1, GFP_KERNEL);
928 if (!tcon)
932 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3)
939 length = security_context_str_to_sid(state, tcon, &tsid, GFP_KERNEL);
951 kfree(tcon);
960 char *scon = NULL, *tcon = NULL;
982 tcon = kzalloc(size + 1, GFP_KERNEL);
983 if (!tcon)
992 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf);
1030 length = security_context_str_to_sid(state, tcon, &tsid, GFP_KERNEL);
1055 kfree(tcon);
1064 char *scon = NULL, *tcon = NULL;
1084 tcon = kzalloc(size + 1, GFP_KERNEL);
1085 if (!tcon)
1089 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3)
1096 length = security_context_str_to_sid(state, tcon, &tsid, GFP_KERNEL);
1116 kfree(tcon);
1190 char *scon = NULL, *tcon = NULL;
1210 tcon = kzalloc(size + 1, GFP_KERNEL);
1211 if (!tcon)
1215 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3)
1222 length = security_context_str_to_sid(state, tcon, &tsid, GFP_KERNEL);
1245 kfree(tcon);