Lines Matching refs:userbuf
24 char __user *userbuf, \
28 return mac80211_format_buffer(userbuf, count, ppos, \
54 static ssize_t sta_flags_read(struct file *file, char __user *userbuf, in sta_flags_read() argument
78 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in sta_flags_read()
83 char __user *userbuf, in sta_num_ps_buf_frames_read() argument
94 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_num_ps_buf_frames_read()
98 static ssize_t sta_last_seq_ctrl_read(struct file *file, char __user *userbuf, in sta_last_seq_ctrl_read() argument
108 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_last_seq_ctrl_read()
112 static ssize_t sta_agg_status_read(struct file *file, char __user *userbuf, in sta_agg_status_read() argument
148 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_agg_status_read()
151 static ssize_t sta_agg_status_write(struct file *file, const char __user *userbuf, in sta_agg_status_write() argument
163 if (copy_from_user(buf, userbuf, count)) in sta_agg_status_write()
210 static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, in sta_ht_capa_read() argument
288 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_ht_capa_read()
292 static ssize_t sta_vht_capa_read(struct file *file, char __user *userbuf, in sta_vht_capa_read() argument
318 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_vht_capa_read()