Lines Matching defs:temp

1333 	char temp[80];
1339 sprintf(temp, "%d", smk_cipso_doi_value);
1340 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
1357 char temp[80];
1363 if (count >= sizeof(temp) || count == 0)
1366 if (copy_from_user(temp, buf, count) != 0)
1369 temp[count] = '\0';
1371 if (sscanf(temp, "%d", &i) != 1)
1399 char temp[80];
1405 sprintf(temp, "%d", smack_cipso_direct);
1406 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
1424 char temp[80];
1430 if (count >= sizeof(temp) || count == 0)
1433 if (copy_from_user(temp, buf, count) != 0)
1436 temp[count] = '\0';
1438 if (sscanf(temp, "%d", &i) != 1)
1477 char temp[80];
1483 sprintf(temp, "%d", smack_cipso_mapped);
1484 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
1502 char temp[80];
1508 if (count >= sizeof(temp) || count == 0)
1511 if (copy_from_user(temp, buf, count) != 0)
1514 temp[count] = '\0';
1516 if (sscanf(temp, "%d", &i) != 1)
1732 char temp[32];
1738 sprintf(temp, "%d\n", log_policy);
1739 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
1755 char temp[32];
1761 if (count >= sizeof(temp) || count == 0)
1764 if (copy_from_user(temp, buf, count) != 0)
1767 temp[count] = '\0';
1769 if (sscanf(temp, "%d", &i) != 1)
2282 char temp[32];
2288 sprintf(temp, "%d\n", smack_ptrace_rule);
2289 rc = simple_read_from_buffer(buf, count, ppos, temp, strlen(temp));
2303 char temp[32];
2309 if (*ppos != 0 || count >= sizeof(temp) || count == 0)
2312 if (copy_from_user(temp, buf, count) != 0)
2315 temp[count] = '\0';
2317 if (sscanf(temp, "%d", &i) != 1)