Searched refs:user_buf (Results 1 - 14 of 14) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/debugfs/
H A Dfile.c224 static ssize_t read_file_bool(struct file *file, char __user *user_buf, argument
236 return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
239 static ssize_t write_file_bool(struct file *file, const char __user *user_buf, argument
247 if (copy_from_user(buf, user_buf, buf_size))
303 static ssize_t read_file_blob(struct file *file, char __user *user_buf, argument
307 return simple_read_from_buffer(user_buf, count, ppos, blob->data,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/prom/
H A Dtree.c151 prom_getstring(int node, const char *prop, char *user_buf, int ubuf_size) argument
155 len = prom_getproperty(node, prop, user_buf, ubuf_size);
157 user_buf[0] = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/s390/kernel/
H A Ddebug.c69 static ssize_t debug_output(struct file *file, char __user *user_buf,
71 static ssize_t debug_input(struct file *file, const char __user *user_buf,
82 struct file *file, const char __user *user_buf,
87 struct file *file, const char __user *user_buf,
90 struct file *file, const char __user *user_buf,
522 char __user *user_buf, /* user buffer */
547 if (copy_to_user(user_buf + count, p_info->temp_buf
573 debug_input(struct file *file, const char __user *user_buf, size_t length, argument
583 p_info->view, file, user_buf,
1145 debug_get_user_string(const char __user *user_buf, size_ argument
521 debug_output(struct file *file, char __user *user_buf, size_t len, loff_t *offset) argument
1199 debug_input_pages_fn(debug_info_t * id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t * offset) argument
1258 debug_input_level_fn(debug_info_t * id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t * offset) argument
1341 debug_input_flush_fn(debug_info_t * id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t * offset) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/block/
H A Ddasd_proc.c32 dasd_get_user_string(const char __user *user_buf, size_t user_len) argument
39 if (copy_from_user(buffer, user_buf, user_len) != 0) {
244 dasd_statistics_write(struct file *file, const char __user *user_buf, argument
252 buffer = dasd_get_user_string(user_buf, user_len);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/prom/
H A Dtree.c163 void prom_getstring(int node, char *prop, char *user_buf, int ubuf_size) argument
167 len = prom_getproperty(node, prop, user_buf, ubuf_size);
169 user_buf[0] = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/cio/
H A Dblacklist.c330 cio_ignore_write(struct file *file, const char __user *user_buf, argument
342 if (strncpy_from_user (buf, user_buf, user_len) < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/bcm43xx/
H A Dbcm43xx_debugfs.c214 static ssize_t tsf_write_file(struct file *file, const char __user *user_buf, argument
226 if (copy_from_user(buf, user_buf, buf_size)) {
319 static ssize_t restart_write_file(struct file *file, const char __user *user_buf, argument
330 if (copy_from_user(buf, user_buf, buf_size)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/
H A Dsaa6588.c159 static int block_to_user_buf(struct saa6588 *s, unsigned char __user *user_buf) argument
175 if (copy_to_user(user_buf, &s->buffer[s->rd_index], 3))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dlineedit.c84 static char *user_buf; variable
1122 pbuf = user_buf ? user_buf : (char*)"";
1314 free(user_buf);
1317 user_buf = xstrdup(entry->pw_name);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/ivtv/
H A Divtv-fileops.c526 ssize_t ivtv_v4l2_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos) argument
553 return ivtv_write_vbi(itv, user_buf, count);
591 rc = ivtv_buf_copy_from_user(s, buf, user_buf, count);
597 user_buf += rc;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dkprobes.c965 char __user *user_buf, size_t count, loff_t *ppos)
975 return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
979 const char __user *user_buf, size_t count, loff_t *ppos)
985 if (copy_from_user(buf, user_buf, buf_size))
964 read_enabled_file_bool(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
978 write_enabled_file_bool(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-s390/
H A Ddebug.h93 const char __user *user_buf,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Dops_inode.c808 static int gfs2_readlink(struct dentry *dentry, char __user *user_buf, argument
823 if (copy_to_user(user_buf, buf, user_size))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/libertas/
H A Ddebugfs.c101 const char __user *user_buf, size_t count,
111 if (copy_from_user(buf, user_buf, buf_size)) {
100 libertas_sleepparams_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument

Completed in 114 milliseconds