Lines Matching defs:tcon
867 char *scon = NULL, *tcon = NULL;
884 tcon = kzalloc(size + 1, GFP_KERNEL);
885 if (!tcon)
889 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3)
896 length = security_context_str_to_sid(tcon, &tsid, GFP_KERNEL);
908 kfree(tcon);
915 char *scon = NULL, *tcon = NULL;
936 tcon = kzalloc(size + 1, GFP_KERNEL);
937 if (!tcon)
946 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf);
984 length = security_context_str_to_sid(tcon, &tsid, GFP_KERNEL);
1009 kfree(tcon);
1016 char *scon = NULL, *tcon = NULL;
1035 tcon = kzalloc(size + 1, GFP_KERNEL);
1036 if (!tcon)
1040 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3)
1047 length = security_context_str_to_sid(tcon, &tsid, GFP_KERNEL);
1067 kfree(tcon);
1136 char *scon = NULL, *tcon = NULL;
1155 tcon = kzalloc(size + 1, GFP_KERNEL);
1156 if (!tcon)
1160 if (sscanf(buf, "%s %s %hu", scon, tcon, &tclass) != 3)
1167 length = security_context_str_to_sid(tcon, &tsid, GFP_KERNEL);
1190 kfree(tcon);