Searched refs:TMPBUFLEN (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/security/selinux/
H A Dselinuxfs.c130 #define TMPBUFLEN 12 sel_read_enforce() macro
134 char tmpbuf[TMPBUFLEN]; sel_read_enforce()
137 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", selinux_enforcing); sel_read_enforce()
205 char tmpbuf[TMPBUFLEN]; sel_read_handle_unknown()
211 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", handle_unknown); sel_read_handle_unknown()
331 char tmpbuf[TMPBUFLEN]; sel_read_policyvers()
334 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", POLICYDB_VERSION_MAX); sel_read_policyvers()
355 char tmpbuf[TMPBUFLEN]; sel_read_mls()
358 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", sel_read_mls()
604 char tmpbuf[TMPBUFLEN]; sel_read_checkreqprot()
607 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", selinux_checkreqprot); sel_read_checkreqprot()
1291 char tmpbuf[TMPBUFLEN]; sel_read_avc_cache_threshold()
1294 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", avc_cache_threshold); sel_read_avc_cache_threshold()
1541 char res[TMPBUFLEN]; sel_read_class()
1555 char res[TMPBUFLEN]; sel_read_perm()
1569 char tmpbuf[TMPBUFLEN]; sel_read_policycap()
1574 length = scnprintf(tmpbuf, TMPBUFLEN, "%d", value); sel_read_policycap()
/linux-4.1.27/security/integrity/ima/
H A Dima_fs.c29 #define TMPBUFLEN 12 ima_show_htable_value() macro
33 char tmpbuf[TMPBUFLEN]; ima_show_htable_value()
36 len = scnprintf(tmpbuf, TMPBUFLEN, "%li\n", atomic_long_read(val)); ima_show_htable_value()
/linux-4.1.27/kernel/
H A Dsysctl.c1867 #define TMPBUFLEN 22 macro
1889 char *p, tmp[TMPBUFLEN]; proc_get_long()
1895 if (len > TMPBUFLEN - 1) proc_get_long()
1896 len = TMPBUFLEN - 1; proc_get_long()
1917 if (len == TMPBUFLEN - 1) proc_get_long()
1947 char tmp[TMPBUFLEN], *p = tmp; proc_put_long()
1959 #undef TMPBUFLEN macro
/linux-4.1.27/fs/proc/
H A Dbase.c1014 #define TMPBUFLEN 21 proc_loginuid_read() macro
1021 char tmpbuf[TMPBUFLEN]; proc_loginuid_read()
1025 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", proc_loginuid_read()
1102 char tmpbuf[TMPBUFLEN]; proc_sessionid_read()
1106 length = scnprintf(tmpbuf, TMPBUFLEN, "%u", proc_sessionid_read()
/linux-4.1.27/drivers/staging/dgnc/
H A Ddgnc_tty.c432 #define TMPBUFLEN (1024) macro

Completed in 388 milliseconds