Lines Matching refs:userbuf
25 char __user *userbuf, \
29 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
189 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aqm_read()
195 static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf, in sta_agg_status_read() argument
236 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_agg_status_read()
239 static ssize_t sta_agg_status_write(struct file *file, const char __user *userbuf, in sta_agg_status_write() argument
252 if (copy_from_user(buf, userbuf, count)) in sta_agg_status_write()
310 static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, in sta_ht_capa_read() argument
388 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_ht_capa_read()
392 static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf, in sta_vht_capa_read() argument
492 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_vht_capa_read()