Lines Matching refs:userbuf
23 char __user *userbuf, \
27 return mac80211_format_buffer(userbuf, count, ppos, \
85 static ssize_t sta_flags_read(struct file *file, char __user *userbuf,
101 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf));
106 char __user *userbuf,
117 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
121 static ssize_t sta_last_seq_ctrl_read(struct file *file, char __user *userbuf,
131 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
137 static ssize_t sta_aqm_read(struct file *file, char __user *userbuf,
190 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
196 static ssize_t sta_airtime_read(struct file *file, char __user *userbuf,
225 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
230 static ssize_t sta_airtime_write(struct file *file, const char __user *userbuf,
249 static ssize_t sta_aql_read(struct file *file, char __user *userbuf,
279 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
284 static ssize_t sta_aql_write(struct file *file, const char __user *userbuf,
294 if (copy_from_user(buf, userbuf, count))
313 static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf,
354 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
357 static ssize_t sta_agg_status_write(struct file *file, const char __user *userbuf,
370 if (copy_from_user(buf, userbuf, count))
428 static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf,
506 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
510 static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf,
611 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);
615 static ssize_t sta_he_capa_read(struct file *file, char __user *userbuf,
980 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf);