Lines Matching refs:userbuf

33 static ssize_t lbs_dev_info(struct file *file, char __user *userbuf,  in lbs_dev_info()  argument
49 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_dev_info()
92 static ssize_t lbs_sleepparams_read(struct file *file, char __user *userbuf, in lbs_sleepparams_read() argument
113 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_sleepparams_read()
162 static ssize_t lbs_host_sleep_read(struct file *file, char __user *userbuf, in lbs_host_sleep_read() argument
175 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_host_sleep_read()
218 struct file *file, char __user *userbuf, in lbs_threshold_read() argument
258 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_threshold_read()
271 const char __user *userbuf, size_t count, in lbs_threshold_write() argument
282 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_threshold_write()
338 static ssize_t lbs_lowrssi_read(struct file *file, char __user *userbuf, in lbs_lowrssi_read() argument
342 file, userbuf, count, ppos); in lbs_lowrssi_read()
346 static ssize_t lbs_lowrssi_write(struct file *file, const char __user *userbuf, in lbs_lowrssi_write() argument
350 file, userbuf, count, ppos); in lbs_lowrssi_write()
354 static ssize_t lbs_lowsnr_read(struct file *file, char __user *userbuf, in lbs_lowsnr_read() argument
358 file, userbuf, count, ppos); in lbs_lowsnr_read()
362 static ssize_t lbs_lowsnr_write(struct file *file, const char __user *userbuf, in lbs_lowsnr_write() argument
366 file, userbuf, count, ppos); in lbs_lowsnr_write()
370 static ssize_t lbs_failcount_read(struct file *file, char __user *userbuf, in lbs_failcount_read() argument
374 file, userbuf, count, ppos); in lbs_failcount_read()
378 static ssize_t lbs_failcount_write(struct file *file, const char __user *userbuf, in lbs_failcount_write() argument
382 file, userbuf, count, ppos); in lbs_failcount_write()
386 static ssize_t lbs_highrssi_read(struct file *file, char __user *userbuf, in lbs_highrssi_read() argument
390 file, userbuf, count, ppos); in lbs_highrssi_read()
394 static ssize_t lbs_highrssi_write(struct file *file, const char __user *userbuf, in lbs_highrssi_write() argument
398 file, userbuf, count, ppos); in lbs_highrssi_write()
402 static ssize_t lbs_highsnr_read(struct file *file, char __user *userbuf, in lbs_highsnr_read() argument
406 file, userbuf, count, ppos); in lbs_highsnr_read()
410 static ssize_t lbs_highsnr_write(struct file *file, const char __user *userbuf, in lbs_highsnr_write() argument
414 file, userbuf, count, ppos); in lbs_highsnr_write()
417 static ssize_t lbs_bcnmiss_read(struct file *file, char __user *userbuf, in lbs_bcnmiss_read() argument
421 file, userbuf, count, ppos); in lbs_bcnmiss_read()
425 static ssize_t lbs_bcnmiss_write(struct file *file, const char __user *userbuf, in lbs_bcnmiss_write() argument
429 file, userbuf, count, ppos); in lbs_bcnmiss_write()
433 static ssize_t lbs_rdmac_read(struct file *file, char __user *userbuf, in lbs_rdmac_read() argument
451 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_rdmac_read()
458 const char __user *userbuf, in lbs_rdmac_write() argument
464 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_rdmac_write()
474 const char __user *userbuf, in lbs_wrmac_write() argument
483 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_wrmac_write()
503 static ssize_t lbs_rdbbp_read(struct file *file, char __user *userbuf, in lbs_rdbbp_read() argument
521 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_rdbbp_read()
529 const char __user *userbuf, in lbs_rdbbp_write() argument
535 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_rdbbp_write()
546 const char __user *userbuf, in lbs_wrbbp_write() argument
555 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_wrbbp_write()
575 static ssize_t lbs_rdrf_read(struct file *file, char __user *userbuf, in lbs_rdrf_read() argument
593 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_rdrf_read()
601 const char __user *userbuf, in lbs_rdrf_write() argument
607 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_rdrf_write()
617 const char __user *userbuf, in lbs_wrrf_write() argument
626 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_wrrf_write()
806 static ssize_t lbs_debugfs_read(struct file *file, char __user *userbuf, in lbs_debugfs_read() argument
837 res = simple_read_from_buffer(userbuf, count, ppos, p, pos); in lbs_debugfs_read()