Lines Matching refs:userbuf

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,
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,
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,
192 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
198 static ssize_t sta_airtime_read(struct file *file, char __user *userbuf,
227 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
232 static ssize_t sta_airtime_write(struct file *file, const char __user *userbuf,
251 static ssize_t sta_aql_read(struct file *file, char __user *userbuf,
281 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
286 static ssize_t sta_aql_write(struct file *file, const char __user *userbuf,
296 if (copy_from_user(buf, userbuf, count))
315 static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf,
363 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
368 static ssize_t sta_agg_status_write(struct file *file, const char __user *userbuf,
381 if (copy_from_user(buf, userbuf, count))
447 static ssize_t link_sta_addr_read(struct file *file, char __user *userbuf,
455 return simple_read_from_buffer(userbuf, count, ppos, mac, 3 * ETH_ALEN);
460 static ssize_t link_sta_ht_capa_read(struct file *file, char __user *userbuf,
545 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
551 static ssize_t link_sta_vht_capa_read(struct file *file, char __user *userbuf,
659 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
665 static ssize_t link_sta_he_capa_read(struct file *file, char __user *userbuf,
1032 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
1038 static ssize_t link_sta_eht_capa_read(struct file *file, char __user *userbuf,
1216 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);