Searched refs:buf_size (Results 1 – 11 of 11) sorted by relevance
/kernel/debug/kdb/ |
D | kdb_io.c | 211 int key, buf_size, ret; in kdb_read() local 329 buf_size = sizeof(tmpbuffer) - (p_tmp - tmpbuffer); in kdb_read() 330 count = kallsyms_symbol_complete(p_tmp, buf_size); in kdb_read() 342 ret = kallsyms_symbol_next(p_tmp, i, buf_size); in kdb_read()
|
D | kdb_private.h | 86 extern int kallsyms_symbol_next(char *prefix_name, int flag, int buf_size);
|
D | kdb_support.c | 230 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/printk/ |
D | printk_ringbuffer.c | 1709 unsigned int buf_size, unsigned int *line_count) in copy_data() argument 1715 if ((!buf || !buf_size) && !line_count) in copy_data() 1737 if (!buf || !buf_size) in copy_data() 1740 data_size = min_t(unsigned int, buf_size, len); in copy_data()
|
D | printk.c | 1366 size_t buf_size = r->text_buf_size; in record_print_text() local 1379 if (text_len > buf_size) in record_print_text() 1380 text_len = buf_size; in record_print_text() 1405 if (len + prefix_len + text_len + 1 + 1 > buf_size) { in record_print_text() 1407 if (len + prefix_len + line_len + 1 + 1 > buf_size) in record_print_text() 1410 text_len = buf_size - len - prefix_len - 1 - 1; in record_print_text() 1457 if (buf_size > 0) in record_print_text()
|
/kernel/sched/ |
D | psi.c | 1308 size_t buf_size; in psi_write() local 1318 buf_size = min(nbytes, sizeof(buf)); in psi_write() 1319 if (copy_from_user(buf, user_buf, buf_size)) in psi_write() 1322 buf[buf_size - 1] = '\0'; in psi_write()
|
/kernel/bpf/ |
D | arraymap.c | 608 u32 buf_size; in bpf_iter_init_array_map() local 611 buf_size = round_up(map->value_size, 8) * num_possible_cpus(); in bpf_iter_init_array_map() 612 value_buf = kmalloc(buf_size, GFP_USER | __GFP_NOWARN); in bpf_iter_init_array_map()
|
D | hashtab.c | 1792 u32 buf_size; in bpf_iter_init_hash_map() local 1796 buf_size = round_up(map->value_size, 8) * num_possible_cpus(); in bpf_iter_init_hash_map() 1797 value_buf = kmalloc(buf_size, GFP_USER | __GFP_NOWARN); in bpf_iter_init_hash_map()
|
/kernel/trace/ |
D | blktrace.c | 488 if (!buts->buf_size || !buts->buf_nr) in do_blk_trace_setup() 557 bt->rchan = relay_open("trace", dir, buts->buf_size, in do_blk_trace_setup() 636 .buf_size = cbuts.buf_size, in compat_blk_trace_setup()
|
D | trace.c | 1496 unsigned long buf_size; in set_buf_size() local 1500 buf_size = memparse(str, &str); in set_buf_size() 1506 trace_buf_size = max(4096UL, buf_size); in set_buf_size()
|
/kernel/ |
D | kprobes.c | 2932 size_t buf_size; in write_enabled_file_bool() local 2935 buf_size = min(count, (sizeof(buf)-1)); in write_enabled_file_bool() 2936 if (copy_from_user(buf, user_buf, buf_size)) in write_enabled_file_bool() 2939 buf[buf_size] = '\0'; in write_enabled_file_bool()
|