/linux/drivers/net/wireless/marvell/libertas/ |
H A D | debugfs.c | 65 buf = memdup_user_nul(user_buf, min(count, len - 1)); in lbs_sleepparams_write() 129 buf = memdup_user_nul(user_buf, min(count, len - 1)); in lbs_host_sleep_write() 282 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_threshold_write() 464 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_rdmac_write() 483 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_wrmac_write() 535 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_rdbbp_write() 555 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_wrbbp_write() 607 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_rdrf_write() 626 buf = memdup_user_nul(userbuf, min(count, len - 1)); in lbs_wrrf_write() 867 pdata = memdup_user_nul(buf, cnt); in lbs_debugfs_write()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_debugfs.c | 174 cmd_buf = memdup_user_nul(buf, count); in ice_debugfs_module_write() 260 cmd_buf = memdup_user_nul(buf, count); in ice_debugfs_nr_messages_write() 335 cmd_buf = memdup_user_nul(buf, count); in ice_debugfs_enable_write() 431 cmd_buf = memdup_user_nul(buf, count); in ice_debugfs_log_size_write()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | debugfs.c | 424 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_regrdwr_write() 543 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_debug_mask_write() 614 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_memrw_write() 687 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_rdeeprom_write() 770 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_hscfg_write()
|
/linux/lib/ |
H A D | bitmap-str.c | 31 buf = memdup_user_nul(ubuf, ulen); in bitmap_parse_user() 422 buf = memdup_user_nul(ubuf, ulen); in bitmap_parselist_user()
|
/linux/arch/sparc/kernel/ |
H A D | led.c | 76 buf = memdup_user_nul(buffer, count); in led_proc_write()
|
/linux/drivers/s390/cio/ |
H A D | cio_inject.c | 98 buffer = memdup_user_nul(buf, lbuf); in crw_inject_write()
|
/linux/security/smack/ |
H A D | smackfs.c | 476 data = memdup_user_nul(buf, count); in smk_write_rules_list() 861 data = memdup_user_nul(buf, count); in smk_set_cipso() 1188 data = memdup_user_nul(buf, count); in smk_write_net4addr() 1447 data = memdup_user_nul(buf, count); in smk_write_net6addr() 1855 data = memdup_user_nul(buf, count); in smk_write_ambient() 2029 data = memdup_user_nul(buf, count); in smk_write_onlycap() 2119 data = memdup_user_nul(buf, count); in smk_write_unconfined() 2679 data = memdup_user_nul(buf, count); in smk_write_syslog() 2779 data = memdup_user_nul(buf, count); in smk_write_relabel_self()
|
/linux/security/lockdown/ |
H A D | lockdown.c | 128 state = memdup_user_nul(buf, n); in lockdown_write()
|
/linux/drivers/firmware/xilinx/ |
H A D | zynqmp-debug.c | 165 kern_buff = memdup_user_nul(ptr, len); in zynqmp_pm_debugfs_api_write()
|
/linux/drivers/scsi/bfa/ |
H A D | bfad_debugfs.c | 253 kern_buf = memdup_user_nul(buf, nbytes); in bfad_debugfs_write_regrd() 320 kern_buf = memdup_user_nul(buf, nbytes); in bfad_debugfs_write_regwr()
|
/linux/security/ipe/ |
H A D | fs.c | 147 copy = memdup_user_nul(data, len); in new_policy()
|
/linux/security/tomoyo/ |
H A D | securityfs_if.c | 49 data = memdup_user_nul(buf, count); in tomoyo_write_self()
|
/linux/security/selinux/ |
H A D | selinuxfs.c | 151 page = memdup_user_nul(buf, count); in sel_write_enforce() 286 page = memdup_user_nul(buf, count); in sel_write_disable() 698 page = memdup_user_nul(buf, count); in sel_write_checkreqprot() 752 req = memdup_user_nul(buf, count); in sel_write_validatetrans() 1255 page = memdup_user_nul(buf, count); in sel_write_bool() 1310 page = memdup_user_nul(buf, count); in sel_commit_bools_write() 1442 page = memdup_user_nul(buf, count); in sel_write_avc_cache_threshold()
|
/linux/drivers/net/netdevsim/ |
H A D | health.c | 152 break_msg = memdup_user_nul(data, count); in nsim_dev_health_break_write()
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bnad_debugfs.c | 315 kern_buf = memdup_user_nul(buf, nbytes); in bnad_debugfs_write_regrd() 375 kern_buf = memdup_user_nul(buf, nbytes); in bnad_debugfs_write_regwr()
|
/linux/security/integrity/evm/ |
H A D | evm_secfs.c | 210 xattr->name = memdup_user_nul(buf, count); in evm_write_xattrs()
|
/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_debug.c | 140 input_buffer = memdup_user_nul(ubuf, len); in dp_test_active_write()
|
/linux/drivers/s390/char/ |
H A D | vmcp.c | 163 cmd = memdup_user_nul(buff, count); in vmcp_write()
|
/linux/kernel/ |
H A D | fail_function.c | 248 buf = memdup_user_nul(buffer, count); in fei_write()
|
/linux/mm/ |
H A D | util.c | 304 void *memdup_user_nul(const void __user *src, size_t len) in memdup_user_nul() function 325 EXPORT_SYMBOL(memdup_user_nul);
|
/linux/kernel/trace/ |
H A D | trace_events_inject.c | 296 buf = memdup_user_nul(ubuf, cnt); in event_inject_write()
|
/linux/security/safesetid/ |
H A D | securityfs.c | 153 p = buf = memdup_user_nul(ubuf, len); in handle_policy_update()
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | reconfig.c | 369 kbuf = memdup_user_nul(buf, count); in ofdt_write()
|
/linux/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 233 char *tmp = memdup_user_nul(buf, count); in proc_write_simdisk()
|
/linux/drivers/gpu/drm/ |
H A D | drm_debugfs_crc.c | 139 source = memdup_user_nul(ubuf, len); in crc_control_write()
|