Lines Matching refs:tomoyo_buffer_len
25 static const int tomoyo_buffer_len = 4096 * 2; in tomoyo_print_bprm() local
26 char *buffer = kzalloc(tomoyo_buffer_len, GFP_NOFS); in tomoyo_print_bprm()
38 len = snprintf(buffer, tomoyo_buffer_len - 1, "argv[]={ "); in tomoyo_print_bprm()
56 if (cp >= buffer + tomoyo_buffer_len - 32) { in tomoyo_print_bprm()
106 snprintf(buffer, tomoyo_buffer_len - 1, in tomoyo_print_bprm()
155 static const int tomoyo_buffer_len = 4096; in tomoyo_print_header() local
156 char *buffer = kmalloc(tomoyo_buffer_len, GFP_NOFS); in tomoyo_print_header()
165 pos = snprintf(buffer, tomoyo_buffer_len - 1, in tomoyo_print_header()
197 tomoyo_buffer_len - 1 - pos, in tomoyo_print_header()
206 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, in tomoyo_print_header()
217 tomoyo_buffer_len - 1 - pos, in tomoyo_print_header()
221 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, in tomoyo_print_header()
225 if (pos < tomoyo_buffer_len - 1) in tomoyo_print_header()