Searched refs:userbuf (Results 1 - 25 of 31) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/kernel/
H A Dcrash_dump.c19 * space or user address space (see @userbuf)
22 * @userbuf: if set, @buf is in user address space, use copy_to_user(),
34 size_t csize, unsigned long offset, int userbuf)
41 if (userbuf) {
33 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/
H A Dcrash_dump.c17 * space or user address space (see @userbuf)
20 * @userbuf: if set, @buf is in user address space, use copy_to_user(),
27 size_t csize, unsigned long offset, int userbuf)
36 if (userbuf) {
26 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/
H A Dcrash_dump.c18 * space or user address space (see @userbuf)
21 * @userbuf: if set, @buf is in user address space, use copy_to_user(),
28 size_t csize, unsigned long offset, int userbuf)
37 if (userbuf) {
27 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dinventory.h21 extern int dump_inventory_to_user (void __user *userbuf, int size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Dinventory.h21 extern int dump_inventory_to_user (void __user *userbuf, int size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/mac80211/
H A Ddebugfs_sta.c22 char __user *userbuf, \
29 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \
38 char __user *userbuf, \
49 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \
85 static ssize_t sta_flags_read(struct file *file, char __user *userbuf, argument
100 return simple_read_from_buffer(userbuf, count, ppos, buf, res);
105 char __user *userbuf,
112 return simple_read_from_buffer(userbuf, count, ppos, buf, res);
116 static ssize_t sta_last_ack_rssi_read(struct file *file, char __user *userbuf, argument
125 return simple_read_from_buffer(userbuf, coun
104 sta_num_ps_buf_frames_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
129 sta_last_ack_ms_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
141 sta_inactive_ms_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
152 sta_last_seq_ctrl_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
167 sta_wme_rx_queue_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
181 sta_wme_tx_queue_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
H A Ddebugfs_key.c19 char __user *userbuf, \
25 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \
46 char __user *userbuf,
65 return simple_read_from_buffer(userbuf, count, ppos, alg, strlen(alg));
69 static ssize_t key_tx_spec_read(struct file *file, char __user *userbuf, argument
91 return simple_read_from_buffer(userbuf, count, ppos, buf, len);
95 static ssize_t key_rx_spec_read(struct file *file, char __user *userbuf, argument
125 return simple_read_from_buffer(userbuf, count, ppos, buf, len);
129 static ssize_t key_replays_read(struct file *file, char __user *userbuf, argument
139 return simple_read_from_buffer(userbuf, coun
45 key_algorithm_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
143 key_key_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
H A Ddebugfs.c38 static ssize_t modes_read(struct file *file, char __user *userbuf, argument
50 return simple_read_from_buffer(userbuf, count, ppos, buf, p-buf);
59 static ssize_t name## _read(struct file *file, char __user *userbuf, \
67 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \
134 char __user *userbuf,
154 return simple_read_from_buffer(userbuf, count, ppos, buf, res);
164 char __user *userbuf, \
168 userbuf, \
248 char __user *userbuf,
259 return simple_read_from_buffer(userbuf, coun
133 format_devstat_counter(struct ieee80211_local *local, char __user *userbuf, size_t count, loff_t *ppos, int (*printvalue)(struct ieee80211_low_level_stats *stats, char *buf, int buflen)) argument
247 stats_wme_rx_queue_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
267 stats_wme_tx_queue_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
H A Ddebugfs_netdev.c26 char __user *userbuf,
36 ret = simple_read_from_buffer(userbuf, count, ppos, buf, ret);
74 char __user *userbuf, \
78 userbuf, count, ppos, \
24 ieee80211_if_read( struct ieee80211_sub_if_data *sdata, char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*format)(const struct ieee80211_sub_if_data *, char *, int)) argument
H A Drc80211_simple.c338 char __user *userbuf,
345 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf));
354 char __user *userbuf,
361 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf));
337 sta_tx_avg_rate_sum_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
353 sta_tx_avg_rate_num_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/
H A Dcrash_dump.c20 * space or user address space (see @userbuf)
23 * @userbuf: if set, @buf is in user address space, use copy_to_user(),
34 size_t csize, unsigned long offset, int userbuf)
43 if (!userbuf) {
33 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/kernel/
H A Dirixinv.c33 int dump_inventory_to_user (void __user *userbuf, int size) argument
36 inventory_t __user *user = userbuf;
39 if (!access_ok(VERIFY_WRITE, userbuf, size))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/kernel/
H A Dperf.c496 uint64_t userbuf[MAX_RDR_WORDS]; local
506 if (!perf_rdr_read_ubuf(16, userbuf))
510 tmp64 = (userbuf[21] << 22) & 0x00000000ffc00000;
511 tmp64 |= (userbuf[22] >> 42) & 0x00000000003fffff;
513 tmp64 |= (userbuf[22] >> 10) & 0x0000000080000000;
517 tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff;
519 tmp64 |= (userbuf[22] << 23) & 0x0000000080000000;
523 tmp64 = (userbuf[22] << 24) & 0x00000000ff000000;
524 tmp64 |= (userbuf[23] >> 40) & 0x0000000000ffffff;
526 tmp64 |= (userbuf[2
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dcrash_dump.c87 * space or user address space (see @userbuf)
90 * @userbuf: if set, @buf is in user address space, use copy_to_user(),
97 size_t csize, unsigned long offset, int userbuf)
106 if (userbuf) {
96 copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/mbx/
H A Dmbxdebugfs.c29 static ssize_t sysconf_read_file(struct file *file, char __user *userbuf, argument
40 return simple_read_from_buffer(userbuf, count, ppos,
45 static ssize_t gsctl_read_file(struct file *file, char __user *userbuf, argument
69 return simple_read_from_buffer(userbuf, count, ppos,
73 static ssize_t display_read_file(struct file *file, char __user *userbuf, argument
109 return simple_read_from_buffer(userbuf, count, ppos,
113 static ssize_t clock_read_file(struct file *file, char __user *userbuf, argument
132 return simple_read_from_buffer(userbuf, count, ppos,
136 static ssize_t sdram_read_file(struct file *file, char __user *userbuf, argument
154 return simple_read_from_buffer(userbuf, coun
158 misc_read_file(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/ivtv/
H A Divtv-udma.h26 void __user *userbuf, int size_in_bytes);
H A Divtv-udma.c88 void __user *userbuf, int size_in_bytes)
103 ivtv_udma_get_page_info(&user_dma, (unsigned long)userbuf, size_in_bytes);
87 ivtv_udma_setup(struct ivtv *itv, unsigned long ivtv_dest_addr, void __user *userbuf, int size_in_bytes) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/libertas/
H A Ddebugfs.c37 static ssize_t libertas_dev_info(struct file *file, char __user *userbuf, argument
51 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
58 static ssize_t libertas_getscantable(struct file *file, char __user *userbuf, argument
94 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
142 static ssize_t libertas_sleepparams_read(struct file *file, char __user *userbuf, argument
166 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
173 static ssize_t libertas_extscan(struct file *file, const char __user *userbuf, argument
183 if (copy_from_user(buf, userbuf, buf_size)) {
340 const char __user *userbuf,
356 if (copy_from_user(buf, userbuf, buf_siz
339 libertas_setuserscan(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
411 libertas_lowrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
526 libertas_lowrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
607 libertas_lowsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
679 libertas_lowsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
760 libertas_failcount_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
831 libertas_failcount_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
911 libertas_bcnmiss_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
982 libertas_bcnmiss_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
1061 libertas_highrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
1133 libertas_highrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
1211 libertas_highsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
1283 libertas_highsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
1363 libertas_rdmac_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
1389 libertas_rdmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
1410 libertas_wrmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
1446 libertas_rdbbp_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
1473 libertas_rdbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
1494 libertas_wrbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
1530 libertas_rdrf_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
1557 libertas_rdrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
1578 libertas_wrrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
1787 wlan_debugfs_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/sysfs/
H A Dbin.c36 read(struct file * file, char __user * userbuf, size_t count, loff_t * off) argument
59 if (copy_to_user(userbuf, buffer, count))
81 static ssize_t write(struct file * file, const char __user * userbuf, argument
98 if (copy_from_user(buffer, userbuf, count))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/bcm43xx/
H A Dbcm43xx_debugfs.c63 static ssize_t devinfo_read_file(struct file *file, char __user *userbuf, argument
127 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
132 static ssize_t drvinfo_read_file(struct file *file, char __user *userbuf, argument
147 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
152 static ssize_t spromdump_read_file(struct file *file, char __user *userbuf, argument
177 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
182 static ssize_t tsf_read_file(struct file *file, char __user *userbuf, argument
209 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos);
254 static ssize_t txstat_read_file(struct file *file, char __user *userbuf, argument
307 res = simple_read_from_buffer(userbuf, coun
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dau1550_ac97.c887 translate_from_user(struct dmabuf *db, char* dmabuf, char* userbuf, argument
900 if (copy_from_user(dmabuf, userbuf, dmacount))
909 if (copy_from_user(usersample, userbuf,
929 userbuf += db->user_bytes_per_sample;
943 translate_to_user(struct dmabuf *db, char* userbuf, char* dmabuf, argument
955 if (copy_to_user(userbuf, dmabuf, dmacount))
973 if (copy_to_user(userbuf, usersample,
978 userbuf += db->user_bytes_per_sample;
991 copy_dmabuf_user(struct dmabuf *db, char* userbuf, int count, int to_user) argument
1000 if ((cnt = translate_to_user(db, userbuf,
[all...]
H A Dau1550_i2s.c850 translate_from_user(struct dmabuf *db, char* dmabuf, char* userbuf, argument
863 if (copy_from_user(dmabuf, userbuf, dmacount))
872 if (copy_from_user(usersample, userbuf,
892 userbuf += db->user_bytes_per_sample;
906 translate_to_user(struct dmabuf *db, char* userbuf, char* dmabuf, argument
918 if (copy_to_user(userbuf, dmabuf, dmacount))
936 if (copy_to_user(userbuf, usersample,
941 userbuf += db->user_bytes_per_sample;
954 copy_dmabuf_user(struct dmabuf *db, char* userbuf, int count, int to_user) argument
963 if ((cnt = translate_to_user(db, userbuf,
[all...]
H A Dvia82cxxx_audio.c2208 char __user *userbuf, size_t count,
2212 const char __user *orig_userbuf = userbuf;
2284 if (copy_to_user (userbuf,
2293 userbuf += size;
2338 return (userbuf != orig_userbuf) ? (userbuf - orig_userbuf) : ret;
2380 const char __user *userbuf, size_t count,
2384 const char __user *orig_userbuf = userbuf;
2453 userbuf, size)) {
2460 userbuf
2207 via_dsp_do_read(struct via_info *card, char __user *userbuf, size_t count, int nonblock) argument
2379 via_dsp_do_write(struct via_info *card, const char __user *userbuf, size_t count, int nonblock) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/dlm/
H A Ddebug_fs.c308 static ssize_t waiters_read(struct file *file, char __user *userbuf, argument
329 rv = simple_read_from_buffer(userbuf, count, ppos, debug_buf, pos);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/
H A Dbr_ioctl.c100 * userbuf -- where to copy result
105 static int get_fdb_entries(struct net_bridge *br, void __user *userbuf, argument
124 if (copy_to_user(userbuf, buf, num*sizeof(struct __fdb_entry)))

Completed in 159 milliseconds

12