/openbmc/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()
|
/openbmc/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() 620 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_memrw_write() 693 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_rdeeprom_write() 776 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_hscfg_write()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | led.c | 76 buf = memdup_user_nul(buffer, count); in led_proc_write()
|
/openbmc/linux/drivers/s390/cio/ |
H A D | cio_inject.c | 98 buffer = memdup_user_nul(buf, lbuf); in crw_inject_write()
|
/openbmc/linux/security/lockdown/ |
H A D | lockdown.c | 122 state = memdup_user_nul(buf, n); in lockdown_write()
|
/openbmc/linux/drivers/firmware/xilinx/ |
H A D | zynqmp-debug.c | 165 kern_buff = memdup_user_nul(ptr, len); in zynqmp_pm_debugfs_api_write()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/security/tomoyo/ |
H A D | securityfs_if.c | 49 data = memdup_user_nul(buf, count); in tomoyo_write_self()
|
/openbmc/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()
|
/openbmc/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() 709 page = memdup_user_nul(buf, count); in sel_write_checkreqprot() 763 req = memdup_user_nul(buf, count); in sel_write_validatetrans() 1266 page = memdup_user_nul(buf, count); in sel_write_bool() 1321 page = memdup_user_nul(buf, count); in sel_commit_bools_write() 1474 page = memdup_user_nul(buf, count); in sel_write_avc_cache_threshold()
|
/openbmc/linux/drivers/s390/char/ |
H A D | vmcp.c | 163 cmd = memdup_user_nul(buff, count); in vmcp_write()
|
/openbmc/linux/security/integrity/evm/ |
H A D | evm_secfs.c | 210 xattr->name = memdup_user_nul(buf, count); in evm_write_xattrs()
|
/openbmc/linux/kernel/ |
H A D | fail_function.c | 248 buf = memdup_user_nul(buffer, count); in fei_write()
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | health.c | 206 break_msg = memdup_user_nul(data, count); in nsim_dev_health_break_write()
|
/openbmc/linux/mm/ |
H A D | util.c | 275 void *memdup_user_nul(const void __user *src, size_t len) in memdup_user_nul() function 296 EXPORT_SYMBOL(memdup_user_nul);
|
/openbmc/linux/include/linux/ |
H A D | string.h | 17 extern void *memdup_user_nul(const void __user *, size_t);
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_debug.c | 147 input_buffer = memdup_user_nul(ubuf, len); in dp_test_active_write()
|
/openbmc/linux/kernel/trace/ |
H A D | trace_events_inject.c | 296 buf = memdup_user_nul(ubuf, cnt); in event_inject_write()
|
/openbmc/linux/security/safesetid/ |
H A D | securityfs.c | 153 p = buf = memdup_user_nul(ubuf, len); in handle_policy_update()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | reconfig.c | 369 kbuf = memdup_user_nul(buf, count); in ofdt_write()
|
/openbmc/linux/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 233 char *tmp = memdup_user_nul(buf, count); in proc_write_simdisk()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_debugfs_crc.c | 139 source = memdup_user_nul(ubuf, len); in crc_control_write()
|
/openbmc/linux/fs/ |
H A D | fsopen.c | 443 param.blob = memdup_user_nul(_value, aux); in SYSCALL_DEFINE5()
|
/openbmc/linux/lib/ |
H A D | bitmap.c | 464 buf = memdup_user_nul(ubuf, ulen); in bitmap_parse_user() 855 buf = memdup_user_nul(ubuf, ulen); in bitmap_parselist_user()
|