Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 7 of 7) sorted by relevance

/kernel/debug/kdb/
Dkdb_io.c219 int key, buf_size, ret; in kdb_read() local
339 buf_size = sizeof(tmpbuffer) - (p_tmp - tmpbuffer); in kdb_read()
340 count = kallsyms_symbol_complete(p_tmp, buf_size); in kdb_read()
352 ret = kallsyms_symbol_next(p_tmp, i, buf_size); in kdb_read()
Dkdb_private.h86 extern int kallsyms_symbol_next(char *prefix_name, int flag, int buf_size);
Dkdb_support.c230 int kallsyms_symbol_next(char *prefix_name, int flag, int buf_size) in kallsyms_symbol_next() argument
241 return strscpy(prefix_name, name, buf_size); in kallsyms_symbol_next()
/kernel/sched/
Dpsi.c1195 size_t buf_size; in psi_write() local
1202 buf_size = min(nbytes, sizeof(buf)); in psi_write()
1203 if (copy_from_user(buf, user_buf, buf_size)) in psi_write()
1206 buf[buf_size - 1] = '\0'; in psi_write()
/kernel/trace/
Dblktrace.c482 if (!buts->buf_size || !buts->buf_nr) in do_blk_trace_setup()
526 bt->rchan = relay_open("trace", dir, buts->buf_size, in do_blk_trace_setup()
610 .buf_size = cbuts.buf_size, in compat_blk_trace_setup()
Dtrace.c1298 unsigned long buf_size; in set_buf_size() local
1302 buf_size = memparse(str, &str); in set_buf_size()
1304 if (buf_size == 0) in set_buf_size()
1306 trace_buf_size = buf_size; in set_buf_size()
/kernel/
Dkprobes.c2562 size_t buf_size; in write_enabled_file_bool() local
2565 buf_size = min(count, (sizeof(buf)-1)); in write_enabled_file_bool()
2566 if (copy_from_user(buf, user_buf, buf_size)) in write_enabled_file_bool()
2569 buf[buf_size] = '\0'; in write_enabled_file_bool()