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

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/iwlwifi/
H A Diwl-agn-debugfs.h34 ssize_t iwl_ucode_rx_stats_read(struct file *file, char __user *user_buf,
36 ssize_t iwl_ucode_tx_stats_read(struct file *file, char __user *user_buf,
38 ssize_t iwl_ucode_general_stats_read(struct file *file, char __user *user_buf,
40 ssize_t iwl_ucode_bt_stats_read(struct file *file, char __user *user_buf,
43 static ssize_t iwl_ucode_rx_stats_read(struct file *file, char __user *user_buf, argument
48 static ssize_t iwl_ucode_tx_stats_read(struct file *file, char __user *user_buf, argument
53 static ssize_t iwl_ucode_general_stats_read(struct file *file, char __user *user_buf, argument
58 static ssize_t iwl_ucode_bt_stats_read(struct file *file, char __user *user_buf, argument
H A Diwl-3945-debugfs.h34 ssize_t iwl3945_ucode_rx_stats_read(struct file *file, char __user *user_buf,
36 ssize_t iwl3945_ucode_tx_stats_read(struct file *file, char __user *user_buf,
39 char __user *user_buf, size_t count,
43 char __user *user_buf, size_t count,
49 char __user *user_buf, size_t count,
55 char __user *user_buf,
42 iwl3945_ucode_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
48 iwl3945_ucode_tx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
54 iwl3945_ucode_general_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
H A Diwl-debugfs.c70 char __user *user_buf, \
75 const char __user *user_buf, \
110 char __user *user_buf,
143 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
149 const char __user *user_buf,
159 if (copy_from_user(buf, user_buf, buf_size))
169 char __user *user_buf,
203 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
212 char __user *user_buf,
261 ret = simple_read_from_buffer(user_buf, coun
109 iwl_dbgfs_tx_statistics_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
148 iwl_dbgfs_clear_traffic_statistics_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
168 iwl_dbgfs_rx_statistics_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
211 iwl_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
266 iwl_dbgfs_sram_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
291 iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
348 iwl_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
398 iwl_dbgfs_log_event_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
416 iwl_dbgfs_log_event_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
440 iwl_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
512 iwl_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
556 iwl_dbgfs_interrupt_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
623 iwl_dbgfs_interrupt_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
644 iwl_dbgfs_qos_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
665 iwl_dbgfs_led_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
688 iwl_dbgfs_thermal_throttling_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
720 iwl_dbgfs_disable_ht40_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
746 iwl_dbgfs_disable_ht40_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
761 iwl_dbgfs_sleep_level_override_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
803 iwl_dbgfs_sleep_level_override_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
821 iwl_dbgfs_current_sleep_command_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
859 iwl_dbgfs_traffic_log_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
938 iwl_dbgfs_traffic_log_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
959 iwl_dbgfs_tx_queue_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1005 iwl_dbgfs_rx_queue_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1031 iwl_dbgfs_ucode_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1040 iwl_dbgfs_ucode_tx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1049 iwl_dbgfs_ucode_general_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1058 iwl_dbgfs_sensitivity_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1139 iwl_dbgfs_chain_noise_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1197 iwl_dbgfs_power_save_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1220 iwl_dbgfs_clear_ucode_statistics_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1244 iwl_dbgfs_csr_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1266 iwl_dbgfs_ucode_tracing_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1287 iwl_dbgfs_ucode_tracing_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1316 iwl_dbgfs_rxon_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1328 iwl_dbgfs_rxon_filter_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1341 iwl_dbgfs_fh_reg_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1362 iwl_dbgfs_missed_beacon_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1377 iwl_dbgfs_missed_beacon_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1403 iwl_dbgfs_plcp_delta_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1418 iwl_dbgfs_plcp_delta_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1442 iwl_dbgfs_force_reset_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1472 iwl_dbgfs_force_reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1498 iwl_dbgfs_txfifo_flush_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1522 iwl_dbgfs_ucode_bt_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
H A Diwl-3945-debugfs.c54 char __user *user_buf,
322 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
328 char __user *user_buf,
418 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
424 char __user *user_buf,
519 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
53 iwl3945_ucode_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
327 iwl3945_ucode_tx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
423 iwl3945_ucode_general_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
H A Diwl-core.h123 ssize_t (*rx_stats_read)(struct file *file, char __user *user_buf,
125 ssize_t (*tx_stats_read)(struct file *file, char __user *user_buf,
127 ssize_t (*general_stats_read)(struct file *file, char __user *user_buf,
129 ssize_t (*bt_stats_read)(struct file *file, char __user *user_buf,
H A Diwl-agn-debugfs.c55 ssize_t iwl_ucode_rx_stats_read(struct file *file, char __user *user_buf, argument
558 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
564 char __user *user_buf,
781 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
786 ssize_t iwl_ucode_general_stats_read(struct file *file, char __user *user_buf, argument
923 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
929 char __user *user_buf,
1010 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
563 iwl_ucode_tx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
928 iwl_ucode_bt_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/
H A Ddebugfs.c25 static ssize_t cm_write(struct file *file, const char __user * user_buf, argument
37 if (copy_from_user(&table, user_buf,
51 if (copy_from_user(buf + (*ppos), user_buf, count)) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/mac80211/
H A Ddebugfs.c57 static ssize_t tsf_read(struct file *file, char __user *user_buf, argument
68 return simple_read_from_buffer(user_buf, count, ppos, buf, 19);
72 const char __user *user_buf,
81 if (copy_from_user(buf, user_buf, len))
107 static ssize_t reset_write(struct file *file, const char __user *user_buf, argument
125 static ssize_t noack_read(struct file *file, char __user *user_buf, argument
134 return simple_read_from_buffer(user_buf, count, ppos, buf, res);
138 const char __user *user_buf,
146 if (copy_from_user(buf, user_buf, len))
161 static ssize_t uapsd_queues_read(struct file *file, char __user *user_buf, argument
71 tsf_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
137 noack_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
173 uapsd_queues_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
207 uapsd_max_sp_len_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
219 uapsd_max_sp_len_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
253 channel_type_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
285 queues_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/ath9k/
H A Ddebug.c37 static ssize_t read_file_debug(struct file *file, char __user *user_buf, argument
46 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
49 static ssize_t write_file_debug(struct file *file, const char __user *user_buf, argument
59 if (copy_from_user(buf, user_buf, len))
81 static ssize_t read_file_tx_chainmask(struct file *file, char __user *user_buf, argument
90 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
93 static ssize_t write_file_tx_chainmask(struct file *file, const char __user *user_buf, argument
103 if (copy_from_user(buf, user_buf, len))
123 static ssize_t read_file_rx_chainmask(struct file *file, char __user *user_buf, argument
132 return simple_read_from_buffer(user_buf, coun
135 write_file_rx_chainmask(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
165 read_file_dma(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
315 read_file_interrupt(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
399 read_file_rcstat(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
487 read_file_wiphy(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
578 write_file_wiphy(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
639 read_file_xmit(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
708 read_file_recv(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
820 read_file_regidx(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
831 write_file_regidx(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
858 read_file_regval(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
872 write_file_regval(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/misc/iwmc3200top/
H A Ddebugfs.c61 char __user *user_buf, \
66 const char __user *user_buf, \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/debugfs/
H A Dfile.c411 static ssize_t read_file_bool(struct file *file, char __user *user_buf, argument
423 return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
426 static ssize_t write_file_bool(struct file *file, const char __user *user_buf, argument
434 if (copy_from_user(buf, user_buf, buf_size))
490 static ssize_t read_file_blob(struct file *file, char __user *user_buf, argument
494 return simple_read_from_buffer(user_buf, count, ppos, blob->data,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/wireless/
H A Ddebugfs.c69 char __user *user_buf,
95 r = simple_read_from_buffer(user_buf, count, ppos, buf, offset);
68 ht40allow_map_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/block/
H A Ddasd_proc.c37 dasd_get_user_string(const char __user *user_buf, size_t user_len) argument
44 if (copy_from_user(buffer, user_buf, user_len) != 0) {
244 const char __user *user_buf, size_t user_len, loff_t *pos)
251 buffer = dasd_get_user_string(user_buf, user_len);
243 dasd_stats_proc_write(struct file *file, const char __user *user_buf, size_t user_len, loff_t *pos) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/misc/
H A Dlkdtm.c426 const char __user *user_buf, size_t count, loff_t *off)
437 if (copy_from_user(buf, user_buf, count)) {
461 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, argument
474 out = simple_read_from_buffer(user_buf, count, off,
536 static ssize_t direct_entry(struct file *f, const char __user *user_buf, argument
550 if (copy_from_user(buf, user_buf, count)) {
425 do_register_entry(enum cname which, struct file *f, const char __user *user_buf, size_t count, loff_t *off) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/kernel/
H A Ddebug.c70 static ssize_t debug_output(struct file *file, char __user *user_buf,
72 static ssize_t debug_input(struct file *file, const char __user *user_buf,
83 struct file *file, const char __user *user_buf,
88 struct file *file, const char __user *user_buf,
91 struct file *file, const char __user *user_buf,
526 char __user *user_buf, /* user buffer */
551 if (copy_to_user(user_buf + count, p_info->temp_buf
577 debug_input(struct file *file, const char __user *user_buf, size_t length, argument
587 p_info->view, file, user_buf,
1159 debug_get_user_string(const char __user *user_buf, size_ argument
525 debug_output(struct file *file, char __user *user_buf, size_t len, loff_t *offset) argument
1212 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
1271 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
1348 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-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/
H A Dkdebugfs.c30 static ssize_t setup_data_read(struct file *file, char __user *user_buf, argument
58 remain = copy_to_user(user_buf, p, count);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-mxc/
H A Daudmux-v2.c64 static ssize_t audmux_read_file(struct file *file, char __user *user_buf, argument
130 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/prom/
H A Dtree_32.c169 void prom_getstring(int node, char *prop, char *user_buf, int ubuf_size) argument
173 len = prom_getproperty(node, prop, user_buf, ubuf_size);
175 user_buf[0] = 0;
H A Dtree_64.c187 void prom_getstring(int node, const char *prop, char *user_buf, int ubuf_size) argument
191 len = prom_getproperty(node, prop, user_buf, ubuf_size);
194 user_buf[0] = 0;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/ath5k/
H A Ddebug.c199 static ssize_t read_file_beacon(struct file *file, char __user *user_buf, argument
245 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
318 static ssize_t read_file_debug(struct file *file, char __user *user_buf, argument
343 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
377 static ssize_t read_file_antenna(struct file *file, char __user *user_buf, argument
445 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
488 static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf, argument
557 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
599 static ssize_t read_file_ani(struct file *file, char __user *user_buf, argument
699 return simple_read_from_buffer(user_buf, coun
756 read_file_queue(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/cio/
H A Dblacklist.c330 cio_ignore_write(struct file *file, const char __user *user_buf, argument
345 if (strncpy_from_user (buf, user_buf, user_len) < 0) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kvm/
H A Dtiming.c169 const char __user *user_buf,
179 if (get_user(c, user_buf)) {
168 kvmppc_exit_timing_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/ivtv/
H A Divtv-fileops.c543 ssize_t ivtv_v4l2_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos) argument
573 ivtv_write_vbi(itv, (const struct v4l2_sliced_vbi_data *)user_buf, elems);
604 rc = ivtv_yuv_udma_stream_frame(itv, (void __user *)user_buf);
610 user_buf += itv->dma_data_req_size;
647 rc = ivtv_buf_copy_from_user(s, buf, user_buf,
650 rc = ivtv_buf_copy_from_user(s, buf, user_buf, count);
657 user_buf += rc;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/wl12xx/
H A Dwl1271_debugfs.c242 static ssize_t gpio_power_read(struct file *file, char __user *user_buf, argument
253 return simple_read_from_buffer(user_buf, count, ppos, buf, res);
257 const char __user *user_buf,
269 if (copy_from_user(buf, user_buf, len)) {
256 gpio_power_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mfd/
H A Dab3550-core.c878 const char __user *user_buf,
889 if (copy_from_user(buf, user_buf, buf_size))
922 const char __user *user_buf,
933 if (copy_from_user(buf, user_buf, buf_size))
970 const char __user *user_buf,
982 if (copy_from_user(buf, user_buf, buf_size))
877 ab3550_bank_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
921 ab3550_address_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
969 ab3550_val_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument

Completed in 311 milliseconds

12