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, in sta_flags_read() argument
101 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); in sta_flags_read()
106 char __user *userbuf, in sta_num_ps_buf_frames_read() argument
117 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_num_ps_buf_frames_read()
121 static ssize_t sta_last_seq_ctrl_read(struct file *file, char __user *userbuf, in sta_last_seq_ctrl_read() argument
131 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_last_seq_ctrl_read()
137 static ssize_t sta_aqm_read(struct file *file, char __user *userbuf, in sta_aqm_read() argument
190 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aqm_read()
196 static ssize_t sta_airtime_read(struct file *file, char __user *userbuf, in sta_airtime_read() argument
225 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_airtime_read()
230 static ssize_t sta_airtime_write(struct file *file, const char __user *userbuf, in sta_airtime_write() argument
249 static ssize_t sta_aql_read(struct file *file, char __user *userbuf, in sta_aql_read() argument
279 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aql_read()
284 static ssize_t sta_aql_write(struct file *file, const char __user *userbuf, in sta_aql_write() argument
294 if (copy_from_user(buf, userbuf, count)) in sta_aql_write()
313 static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf, in sta_agg_status_read() argument
354 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_agg_status_read()
357 static ssize_t sta_agg_status_write(struct file *file, const char __user *userbuf, in sta_agg_status_write() argument
370 if (copy_from_user(buf, userbuf, count)) in sta_agg_status_write()
428 static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, in sta_ht_capa_read() argument
506 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_ht_capa_read()
510 static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf, in sta_vht_capa_read() argument
611 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_vht_capa_read()
615 static ssize_t sta_he_capa_read(struct file *file, char __user *userbuf, in sta_he_capa_read() argument
980 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_he_capa_read()