Home
last modified time | relevance | path

Searched refs:user_buf (Results 1 – 13 of 13) sorted by relevance

/arch/mips/mm/
A Dsc-debugfs.c13 static ssize_t sc_prefetch_read(struct file *file, char __user *user_buf, in sc_prefetch_read() argument
23 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in sc_prefetch_read()
27 const char __user *user_buf, in sc_prefetch_write() argument
33 err = kstrtobool_from_user(user_buf, count, &enabled); in sc_prefetch_write()
/arch/x86/mm/
A Dpkeys.c130 static ssize_t init_pkru_read_file(struct file *file, char __user *user_buf, in init_pkru_read_file() argument
137 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in init_pkru_read_file()
141 const char __user *user_buf, size_t count, loff_t *ppos) in init_pkru_write_file() argument
148 if (copy_from_user(buf, user_buf, len)) in init_pkru_write_file()
A Dtlb.c1771 static ssize_t tlbflush_read_file(struct file *file, char __user *user_buf, in tlbflush_read_file() argument
1778 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in tlbflush_read_file()
1782 const char __user *user_buf, size_t count, loff_t *ppos) in tlbflush_write_file() argument
1789 if (copy_from_user(buf, user_buf, len)) in tlbflush_write_file()
/arch/powerpc/kernel/
A Ddawr.c63 const char __user *user_buf, in dawr_write_file_bool() argument
75 rc = debugfs_write_file_bool(file, user_buf, count, ppos); in dawr_write_file_bool()
A Deeh.c1676 const char __user *user_buf, in eeh_debug_lookup_pdev() argument
1725 const char __user *user_buf, in eeh_force_recover_write() argument
1734 ret = simple_write_to_buffer(buf, sizeof(buf), ppos, user_buf, count); in eeh_force_recover_write()
1780 char __user *user_buf, in eeh_debugfs_dev_usage() argument
1785 return simple_read_from_buffer(user_buf, count, ppos, in eeh_debugfs_dev_usage()
1790 const char __user *user_buf, in eeh_dev_check_write() argument
1797 pdev = eeh_debug_lookup_pdev(filp, user_buf, count, ppos); in eeh_dev_check_write()
1824 const char __user *user_buf, in eeh_dev_break_write() argument
1830 pdev = eeh_debug_lookup_pdev(filp, user_buf, count, ppos); in eeh_dev_break_write()
1850 const char __user *user_buf, in eeh_dev_can_recover() argument
[all …]
/arch/s390/kernel/
A Ddebug.c84 struct file *file, const char __user *user_buf,
90 struct file *file, const char __user *user_buf,
93 struct file *file, const char __user *user_buf,
549 char __user *user_buf, /* user buffer */ in debug_output() argument
608 p_info->view, file, user_buf, in debug_input()
1465 struct file *file, const char __user *user_buf, in debug_input_pages_fn() argument
1477 str = debug_get_user_string(user_buf, user_len); in debug_input_pages_fn()
1519 struct file *file, const char __user *user_buf, in debug_input_level_fn() argument
1531 str = debug_get_user_string(user_buf, user_len); in debug_input_level_fn()
1589 struct file *file, const char __user *user_buf, in debug_input_flush_fn() argument
[all …]
/arch/sparc/prom/
A Dtree_64.c188 void prom_getstring(phandle node, const char *prop, char *user_buf, in prom_getstring() argument
193 len = prom_getproperty(node, prop, user_buf, ubuf_size); in prom_getstring()
196 user_buf[0] = 0; in prom_getstring()
A Dtree_32.c170 void prom_getstring(phandle node, char *prop, char *user_buf, int ubuf_size) in prom_getstring() argument
174 len = prom_getproperty(node, prop, user_buf, ubuf_size); in prom_getstring()
176 user_buf[0] = 0; in prom_getstring()
/arch/x86/kernel/
A Dkdebugfs.c29 static ssize_t setup_data_read(struct file *file, char __user *user_buf, in setup_data_read() argument
57 remain = copy_to_user(user_buf, p, count); in setup_data_read()
A Dtboot.c358 static ssize_t tboot_log_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) in tboot_log_read() argument
390 if (copy_to_user(user_buf, kbuf, count)) in tboot_log_read()
/arch/powerpc/kvm/
A Dtiming.c162 const char __user *user_buf, in kvmppc_exit_timing_write() argument
172 if (get_user(c, user_buf)) { in kvmppc_exit_timing_write()
/arch/s390/include/asm/
A Ddebug.h81 const char __user *user_buf,
/arch/powerpc/platforms/powernv/
A Deeh-powernv.c66 const char __user *user_buf, in pnv_eeh_ei_write() argument
80 ret = simple_write_to_buffer(buf, sizeof(buf), ppos, user_buf, count); in pnv_eeh_ei_write()

Completed in 27 milliseconds