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, in sta_flags_read() argument
102 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); in sta_flags_read()
107 char __user *userbuf, in sta_num_ps_buf_frames_read() argument
118 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_num_ps_buf_frames_read()
122 static ssize_t sta_last_seq_ctrl_read(struct file *file, char __user *userbuf, in sta_last_seq_ctrl_read() argument
132 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_last_seq_ctrl_read()
138 static ssize_t sta_aqm_read(struct file *file, char __user *userbuf, in sta_aqm_read() argument
191 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aqm_read()
197 static ssize_t sta_airtime_read(struct file *file, char __user *userbuf, in sta_airtime_read() argument
226 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_airtime_read()
231 static ssize_t sta_airtime_write(struct file *file, const char __user *userbuf, in sta_airtime_write() argument
250 static ssize_t sta_aql_read(struct file *file, char __user *userbuf, in sta_aql_read() argument
280 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aql_read()
285 static ssize_t sta_aql_write(struct file *file, const char __user *userbuf, in sta_aql_write() argument
295 if (copy_from_user(buf, userbuf, count)) in sta_aql_write()
314 static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf, in sta_agg_status_read() argument
362 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_agg_status_read()
367 static ssize_t sta_agg_status_write(struct file *file, const char __user *userbuf, in sta_agg_status_write() argument
380 if (copy_from_user(buf, userbuf, count)) in sta_agg_status_write()
438 static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, in sta_ht_capa_read() argument
523 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_ht_capa_read()
529 static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf, in sta_vht_capa_read() argument
637 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_vht_capa_read()
643 static ssize_t sta_he_capa_read(struct file *file, char __user *userbuf, in sta_he_capa_read() argument
1009 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_he_capa_read()