Lines Matching refs:ubuf

62 mwifiex_info_read(struct file *file, char __user *ubuf,
136 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
166 mwifiex_getlog_read(struct file *file, char __user *ubuf,
223 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
242 mwifiex_histogram_read(struct file *file, char __user *ubuf,
312 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page,
321 mwifiex_histogram_write(struct file *file, const char __user *ubuf,
381 mwifiex_debug_read(struct file *file, char __user *ubuf,
399 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
418 const char __user *ubuf, size_t count, loff_t *ppos)
424 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
455 mwifiex_regrdwr_read(struct file *file, char __user *ubuf,
482 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
497 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
509 mwifiex_debug_mask_read(struct file *file, char __user *ubuf,
524 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
535 mwifiex_debug_mask_write(struct file *file, const char __user *ubuf,
543 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
563 mwifiex_verext_write(struct file *file, const char __user *ubuf,
573 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
590 mwifiex_verext_read(struct file *file, char __user *ubuf,
602 return simple_read_from_buffer(ubuf, count, ppos, buf, ret);
610 mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count,
620 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
657 mwifiex_memrw_read(struct file *file, char __user *ubuf,
670 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
687 const char __user *ubuf, size_t count, loff_t *ppos)
693 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
723 mwifiex_rdeeprom_read(struct file *file, char __user *ubuf,
756 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
766 mwifiex_hscfg_write(struct file *file, const char __user *ubuf,
776 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1)));
825 mwifiex_hscfg_read(struct file *file, char __user *ubuf,
843 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos);
850 mwifiex_timeshare_coex_read(struct file *file, char __user *ubuf,
868 return simple_read_from_buffer(ubuf, count, ppos, buf, len);
872 mwifiex_timeshare_coex_write(struct file *file, const char __user *ubuf,
885 if (copy_from_user(&kbuf, ubuf, min_t(size_t, sizeof(kbuf) - 1, count)))
901 const char __user *ubuf, size_t count, loff_t *ppos)
908 rc = kstrtobool_from_user(ubuf, count, &result);