/linux-master/net/mac80211/ |
H A D | debugfs.h | 9 int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count,
|
H A D | debugfs_key.c | 19 char __user *userbuf, \ 23 return mac80211_format_buffer(userbuf, count, ppos, \ 70 char __user *userbuf, 79 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); 83 static ssize_t key_tx_spec_write(struct file *file, const char __user *userbuf, argument 105 ret = kstrtou64_from_user(userbuf, count, 16, &pn); 118 static ssize_t key_tx_spec_read(struct file *file, char __user *userbuf, argument 153 return simple_read_from_buffer(userbuf, count, ppos, buf, len); 157 static ssize_t key_rx_spec_read(struct file *file, char __user *userbuf, argument 221 return simple_read_from_buffer(userbuf, coun 69 key_algorithm_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 225 key_replays_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 258 key_icverrors_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 283 key_mic_failures_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 299 key_key_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
H A D | debugfs_sta.c | 23 char __user *userbuf, \ 27 return mac80211_format_buffer(userbuf, count, ppos, \ 86 static ssize_t sta_flags_read(struct file *file, char __user *userbuf, argument 102 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); 107 char __user *userbuf, 118 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); 122 static ssize_t sta_last_seq_ctrl_read(struct file *file, char __user *userbuf, argument 132 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); 138 static ssize_t sta_aqm_read(struct file *file, char __user *userbuf, argument 192 rv = simple_read_from_buffer(userbuf, coun 106 sta_num_ps_buf_frames_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 198 sta_airtime_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 232 sta_airtime_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 251 sta_aql_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 286 sta_aql_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 356 sta_agg_status_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 437 sta_agg_status_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 459 link_sta_addr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 472 link_sta_ht_capa_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 563 link_sta_vht_capa_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 677 link_sta_he_capa_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 1050 link_sta_eht_capa_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
H A D | debugfs.c | 20 int mac80211_format_buffer(char __user *userbuf, size_t count, argument 31 return simple_read_from_buffer(userbuf, count, ppos, buf, res); 35 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 40 return mac80211_format_buffer(userbuf, count, ppos, \ 591 char __user *userbuf, 606 return simple_read_from_buffer(userbuf, count, ppos, buf, res); 616 char __user *userbuf, \ 620 userbuf, \ 590 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
|
H A D | debugfs_netdev.c | 43 char __user *userbuf, 56 userbuf, count, ppos, 79 const char __user *userbuf, 92 userbuf, count, 115 char __user *userbuf, 128 userbuf, count, ppos, 151 const char __user *userbuf, 164 userbuf, count, 233 char __user *userbuf, \ 237 userbuf, coun 41 ieee80211_if_read_sdata( struct file *file, char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*format)(const struct ieee80211_sub_if_data *sdata, char *, int)) argument 77 ieee80211_if_write_sdata( struct file *file, const char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*write)(struct ieee80211_sub_if_data *sdata, const char *, int)) argument 113 ieee80211_if_read_link( struct file *file, char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*format)(const struct ieee80211_link_data *link, char *, int)) argument 149 ieee80211_if_write_link( struct file *file, const char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*write)(struct ieee80211_link_data *link, const char *, int)) argument [all...] |
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.h | 15 __printf(4, 5) int wl1271_format_buffer(char __user *userbuf, size_t count, 26 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 30 return wl1271_format_buffer(userbuf, count, ppos, \ 55 char __user *userbuf, \ 63 return wl1271_format_buffer(userbuf, count, ppos, fmt "\n", \ 75 char __user *userbuf, \ 90 return wl1271_format_buffer(userbuf, count, ppos, "%s", buf); \
|
H A D | debugfs.c | 31 int wl1271_format_buffer(char __user *userbuf, size_t count, argument 42 return simple_read_from_buffer(userbuf, count, ppos, buf, res); 78 static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf, argument 89 return simple_read_from_buffer(userbuf, count, ppos, buf, res); 841 char __user *userbuf, 845 return wl1271_format_buffer(userbuf, count, ppos, 897 char __user *userbuf, 901 return wl1271_format_buffer(userbuf, count, ppos, 951 char __user *userbuf, 958 return simple_read_from_buffer(userbuf, coun 840 rx_streaming_interval_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 896 rx_streaming_always_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 950 fw_stats_raw_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | debugfs.c | 33 static ssize_t lbs_dev_info(struct file *file, char __user *userbuf, argument 49 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos); 92 static ssize_t lbs_sleepparams_read(struct file *file, char __user *userbuf, argument 113 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); 162 static ssize_t lbs_host_sleep_read(struct file *file, char __user *userbuf, argument 175 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); 218 struct file *file, char __user *userbuf, 258 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); 271 const char __user *userbuf, size_t count, 282 buf = memdup_user_nul(userbuf, mi 217 lbs_threshold_read(uint16_t tlv_type, uint16_t event_mask, struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 269 lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask, struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 338 lbs_lowrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 346 lbs_lowrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 354 lbs_lowsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 362 lbs_lowsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 370 lbs_failcount_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 378 lbs_failcount_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 386 lbs_highrssi_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 394 lbs_highrssi_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 402 lbs_highsnr_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 410 lbs_highsnr_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 417 lbs_bcnmiss_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 425 lbs_bcnmiss_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 433 lbs_rdmac_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 457 lbs_rdmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 473 lbs_wrmac_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 503 lbs_rdbbp_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 528 lbs_rdbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 545 lbs_wrbbp_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 575 lbs_rdrf_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 600 lbs_rdrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 616 lbs_wrrf_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 806 lbs_debugfs_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/arch/parisc/kernel/ |
H A D | perf.c | 551 uint64_t userbuf[MAX_RDR_WORDS]; local 561 if (!perf_rdr_read_ubuf(16, userbuf)) 565 tmp64 = (userbuf[21] << 22) & 0x00000000ffc00000; 566 tmp64 |= (userbuf[22] >> 42) & 0x00000000003fffff; 568 tmp64 |= (userbuf[22] >> 10) & 0x0000000080000000; 572 tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff; 574 tmp64 |= (userbuf[22] << 23) & 0x0000000080000000; 578 tmp64 = (userbuf[22] << 24) & 0x00000000ff000000; 579 tmp64 |= (userbuf[23] >> 40) & 0x0000000000ffffff; 581 tmp64 |= (userbuf[2 [all...] |
/linux-master/fs/efivarfs/ |
H A D | file.c | 16 const char __user *userbuf, size_t count, loff_t *ppos) 29 if (copy_from_user(&attributes, userbuf, sizeof(attributes))) 35 data = memdup_user(userbuf + sizeof(attributes), datasize); 66 static ssize_t efivarfs_file_read(struct file *file, char __user *userbuf, argument 101 size = simple_read_from_buffer(userbuf, count, ppos, 15 efivarfs_file_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
|
/linux-master/drivers/char/ |
H A D | ps3flash.c | 93 static ssize_t ps3flash_read(char __user *userbuf, void *kernelbuf, argument 105 __func__, __LINE__, count, *pos, userbuf, kernelbuf); 134 __func__, __LINE__, n, src, userbuf, kernelbuf); 135 if (userbuf) { 136 if (copy_to_user(userbuf, src, n)) { 140 userbuf += n; 162 static ssize_t ps3flash_write(const char __user *userbuf, argument 174 __func__, __LINE__, count, *pos, userbuf, kernelbuf); 206 __func__, __LINE__, n, userbuf, kernelbuf, dst); 207 if (userbuf) { [all...] |
H A D | powernv-op-panel.c | 43 static ssize_t oppanel_read(struct file *filp, char __user *userbuf, size_t len, argument 46 return simple_read_from_buffer(userbuf, len, f_pos, oppanel_data, 89 static ssize_t oppanel_write(struct file *filp, const char __user *userbuf, argument 101 ret = simple_write_to_buffer(oppanel_data, oppanel_size, f_pos, userbuf,
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-udma.h | 17 void __user *userbuf, int size_in_bytes);
|
H A D | ivtv-udma.c | 93 void __user *userbuf, int size_in_bytes) 108 ivtv_udma_get_page_info(&user_dma, (unsigned long)userbuf, size_in_bytes); 92 ivtv_udma_setup(struct ivtv *itv, unsigned long ivtv_dest_addr, void __user *userbuf, int size_in_bytes) argument
|
/linux-master/drivers/bluetooth/ |
H A D | btmrvl_debugfs.c | 41 static ssize_t btmrvl_hscfgcmd_read(struct file *file, char __user *userbuf, argument 51 return simple_read_from_buffer(userbuf, count, ppos, buf, ret); 82 static ssize_t btmrvl_pscmd_read(struct file *file, char __user *userbuf, argument 91 return simple_read_from_buffer(userbuf, count, ppos, buf, ret); 120 static ssize_t btmrvl_hscmd_read(struct file *file, char __user *userbuf, argument 129 return simple_read_from_buffer(userbuf, count, ppos, buf, ret);
|
/linux-master/net/wireless/ |
H A D | debugfs.c | 15 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 23 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ 150 char __user *userbuf, size_t count, 190 return simple_read_from_buffer(userbuf, count, ppos, buf, work.ret); 230 const char __user *userbuf, size_t count, 259 if (copy_from_user(buf, userbuf, count)) 148 wiphy_locked_debugfs_read(struct wiphy *wiphy, struct file *file, char *buf, size_t bufsize, char __user *userbuf, size_t count, loff_t *ppos, ssize_t (*handler)(struct wiphy *wiphy, struct file *file, char *buf, size_t bufsize, void *data), void *data) argument 228 wiphy_locked_debugfs_write(struct wiphy *wiphy, struct file *file, char *buf, size_t bufsize, const char __user *userbuf, size_t count, ssize_t (*handler)(struct wiphy *wiphy, struct file *file, char *buf, size_t count, void *data), void *data) argument
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_debugfs.c | 42 static ssize_t rproc_coredump_read(struct file *filp, char __user *userbuf, argument 52 return simple_read_from_buffer(userbuf, count, ppos, buf, len); 126 static ssize_t rproc_trace_read(struct file *filp, char __user *userbuf, argument 145 return simple_read_from_buffer(userbuf, count, ppos, va, len); 155 static ssize_t rproc_name_read(struct file *filp, char __user *userbuf, argument 165 return simple_read_from_buffer(userbuf, count, ppos, buf, i); 175 static ssize_t rproc_recovery_read(struct file *filp, char __user *userbuf, argument 181 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf));
|
/linux-master/drivers/mailbox/ |
H A D | mailbox-test.c | 50 const char __user *userbuf, 74 if (copy_from_user(tdev->signal, userbuf, count)) { 97 const char __user *userbuf, 124 ret = copy_from_user(tdev->message, userbuf, count); 171 static ssize_t mbox_test_message_read(struct file *filp, char __user *userbuf, argument 188 ret = simple_read_from_buffer(userbuf, count, ppos, 234 ret = simple_read_from_buffer(userbuf, count, ppos, touser, MBOX_HEXDUMP_MAX_LEN); 49 mbox_test_signal_write(struct file *filp, const char __user *userbuf, size_t count, loff_t *ppos) argument 96 mbox_test_message_write(struct file *filp, const char __user *userbuf, size_t count, loff_t *ppos) argument
|
/linux-master/drivers/net/wireless/ti/wl1251/ |
H A D | debugfs.c | 23 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 31 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ 52 char __user *userbuf, \ 63 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ 197 static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf, argument 208 return simple_read_from_buffer(userbuf, count, ppos, buf, res); 217 static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf, argument 230 return simple_read_from_buffer(userbuf, count, ppos, buf, len);
|
/linux-master/drivers/misc/sgi-gru/ |
H A D | gruprocfs.c | 107 static ssize_t statistics_write(struct file *file, const char __user *userbuf, argument 134 const char __user *userbuf, size_t count, loff_t *data) 147 static ssize_t options_write(struct file *file, const char __user *userbuf, argument 152 ret = kstrtoul_from_user(userbuf, count, 0, &gru_options); 133 mcs_statistics_write(struct file *file, const char __user *userbuf, size_t count, loff_t *data) argument
|
/linux-master/drivers/net/wireless/ath/ath5k/ |
H A D | debug.c | 224 const char __user *userbuf, 231 if (copy_from_user(buf, userbuf, count)) 257 const char __user *userbuf, 325 const char __user *userbuf, 333 if (copy_from_user(buf, userbuf, count)) 430 const char __user *userbuf, 438 if (copy_from_user(buf, userbuf, count)) 603 const char __user *userbuf, 611 if (copy_from_user(buf, userbuf, count)) 753 const char __user *userbuf, 223 write_file_beacon(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 256 write_file_reset(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 324 write_file_debug(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 429 write_file_antenna(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 602 write_file_frameerrors(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 752 write_file_ani(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument 850 write_file_queue(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | debugfs.c | 187 static ssize_t b43legacy_debugfs_read(struct file *file, char __user *userbuf, argument 241 ret = simple_read_from_buffer(userbuf, count, ppos, 256 const char __user *userbuf, 290 if (copy_from_user(buf, userbuf, count)) { 255 b43legacy_debugfs_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument
|
/linux-master/drivers/iommu/ |
H A D | omap-iommu-debug.c | 83 static ssize_t debug_read_regs(struct file *file, char __user *userbuf, argument 103 bytes = simple_read_from_buffer(userbuf, count, ppos, buf, bytes);
|
/linux-master/drivers/opp/ |
H A D | debugfs.c | 36 static ssize_t bw_name_read(struct file *fp, char __user *userbuf, argument 47 return simple_read_from_buffer(userbuf, count, ppos, buf, i);
|
/linux-master/fs/pstore/ |
H A D | inode.c | 130 static ssize_t pstore_file_read(struct file *file, char __user *userbuf, argument 137 return seq_read(file, userbuf, count, ppos); 138 return simple_read_from_buffer(userbuf, count, ppos,
|