Lines Matching refs:ubuf
74 mwifiex_info_read(struct file *file, char __user *ubuf,
148 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
178 mwifiex_getlog_read(struct file *file, char __user *ubuf,
235 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
254 mwifiex_histogram_read(struct file *file, char __user *ubuf,
324 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page,
333 mwifiex_histogram_write(struct file *file, const char __user *ubuf,
393 mwifiex_debug_read(struct file *file, char __user *ubuf,
411 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
430 const char __user *ubuf, size_t count, loff_t *ppos)
436 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
464 mwifiex_regrdwr_read(struct file *file, char __user *ubuf,
491 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
506 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
518 mwifiex_debug_mask_read(struct file *file, char __user *ubuf,
533 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
544 mwifiex_debug_mask_write(struct file *file, const char __user *ubuf,
552 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
572 mwifiex_verext_write(struct file *file, const char __user *ubuf,
582 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
599 mwifiex_verext_read(struct file *file, char __user *ubuf,
611 return simple_read_from_buffer(ubuf, count, ppos, buf, ret);
619 mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count,
629 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
666 mwifiex_memrw_read(struct file *file, char __user *ubuf,
679 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
696 const char __user *ubuf, size_t count, loff_t *ppos)
702 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
729 mwifiex_rdeeprom_read(struct file *file, char __user *ubuf,
762 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
772 mwifiex_hscfg_write(struct file *file, const char __user *ubuf,
782 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
831 mwifiex_hscfg_read(struct file *file, char __user *ubuf,
849 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
856 mwifiex_timeshare_coex_read(struct file *file, char __user *ubuf,
874 return simple_read_from_buffer(ubuf, count, ppos, buf, len);
878 mwifiex_timeshare_coex_write(struct file *file, const char __user *ubuf,
891 if (copy_from_user(&kbuf, ubuf, min_t(size_t, sizeof(kbuf) - 1, count)))
907 const char __user *ubuf, size_t count, loff_t *ppos)
914 rc = kstrtobool_from_user(ubuf, count, &result);