Lines Matching refs:userbuf

23 				   char __user *userbuf,		\
27 return mac80211_format_buffer(userbuf, count, ppos, \
84 static ssize_t sta_flags_read(struct file *file, char __user *userbuf, in sta_flags_read() argument
100 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); in sta_flags_read()
105 char __user *userbuf, in sta_num_ps_buf_frames_read() argument
116 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_num_ps_buf_frames_read()
120 static ssize_t sta_last_seq_ctrl_read(struct file *file, char __user *userbuf, in sta_last_seq_ctrl_read() argument
130 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_last_seq_ctrl_read()
136 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_airtime_read(struct file *file, char __user *userbuf, in sta_airtime_read() argument
229 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_airtime_read()
234 static ssize_t sta_airtime_write(struct file *file, const char __user *userbuf, in sta_airtime_write() argument
253 static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf, in sta_agg_status_read() argument
294 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_agg_status_read()
297 static ssize_t sta_agg_status_write(struct file *file, const char __user *userbuf, in sta_agg_status_write() argument
310 if (copy_from_user(buf, userbuf, count)) in sta_agg_status_write()
368 static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, in sta_ht_capa_read() argument
446 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_ht_capa_read()
450 static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf, in sta_vht_capa_read() argument
551 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_vht_capa_read()
555 static ssize_t sta_he_capa_read(struct file *file, char __user *userbuf, in sta_he_capa_read() argument
920 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_he_capa_read()