Searched refs:buf_size (Results 1 – 11 of 11) sorted by relevance
/kernel/debug/kdb/ |
D | kdb_io.c | 210 int key, buf_size, ret; in kdb_read() local 328 buf_size = sizeof(tmpbuffer) - (p_tmp - tmpbuffer); in kdb_read() 329 count = kallsyms_symbol_complete(p_tmp, buf_size); in kdb_read() 341 ret = kallsyms_symbol_next(p_tmp, i, buf_size); in kdb_read()
|
D | kdb_support.c | 170 int kallsyms_symbol_next(char *prefix_name, int flag, int buf_size) in kallsyms_symbol_next() argument 181 return strscpy(prefix_name, name, buf_size); in kallsyms_symbol_next()
|
D | kdb_private.h | 86 extern int kallsyms_symbol_next(char *prefix_name, int flag, int buf_size);
|
/kernel/printk/ |
D | printk_ringbuffer.c | 1707 unsigned int buf_size, unsigned int *line_count) in copy_data() argument 1713 if ((!buf || !buf_size) && !line_count) in copy_data() 1735 if (!buf || !buf_size) in copy_data() 1738 data_size = min_t(unsigned int, buf_size, len); in copy_data()
|
D | printk.c | 1335 size_t buf_size = r->text_buf_size; in record_print_text() local 1348 if (text_len > buf_size) in record_print_text() 1349 text_len = buf_size; in record_print_text() 1374 if (len + prefix_len + text_len + 1 + 1 > buf_size) { in record_print_text() 1376 if (len + prefix_len + line_len + 1 + 1 > buf_size) in record_print_text() 1379 text_len = buf_size - len - prefix_len - 1 - 1; in record_print_text() 1426 if (buf_size > 0) in record_print_text()
|
/kernel/sched/ |
D | psi.c | 1432 size_t buf_size; in psi_write() local 1442 buf_size = min(nbytes, sizeof(buf)); in psi_write() 1443 if (copy_from_user(buf, user_buf, buf_size)) in psi_write() 1446 buf[buf_size - 1] = '\0'; in psi_write()
|
/kernel/ |
D | kthread.c | 98 void get_kthread_comm(char *buf, size_t buf_size, struct task_struct *tsk) in get_kthread_comm() argument 103 __get_task_comm(buf, buf_size, tsk); in get_kthread_comm() 107 strscpy_pad(buf, kthread->full_name, buf_size); in get_kthread_comm()
|
/kernel/trace/ |
D | blktrace.c | 524 if (!buts->buf_size || !buts->buf_nr) in do_blk_trace_setup() 591 bt->rchan = relay_open("trace", dir, buts->buf_size, in do_blk_trace_setup() 670 .buf_size = cbuts.buf_size, in compat_blk_trace_setup()
|
D | trace.c | 1500 unsigned long buf_size; in set_buf_size() local 1504 buf_size = memparse(str, &str); in set_buf_size() 1510 trace_buf_size = max(4096UL, buf_size); in set_buf_size()
|
/kernel/bpf/ |
D | arraymap.c | 656 u32 buf_size; in bpf_iter_init_array_map() local 659 buf_size = array->elem_size * num_possible_cpus(); in bpf_iter_init_array_map() 660 value_buf = kmalloc(buf_size, GFP_USER | __GFP_NOWARN); in bpf_iter_init_array_map()
|
D | hashtab.c | 2098 u32 buf_size; in bpf_iter_init_hash_map() local 2102 buf_size = round_up(map->value_size, 8) * num_possible_cpus(); in bpf_iter_init_hash_map() 2103 value_buf = kmalloc(buf_size, GFP_USER | __GFP_NOWARN); in bpf_iter_init_hash_map()
|