Home
last modified time | relevance | path

Searched refs:memdup_user_nul (Results 1 – 25 of 63) sorted by relevance

123

/linux/drivers/net/wireless/marvell/libertas/
H A Ddebugfs.c65 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 Dice_debugfs.c174 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 Ddebugfs.c424 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 Dbitmap-str.c31 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 Dled.c76 buf = memdup_user_nul(buffer, count); in led_proc_write()
/linux/drivers/s390/cio/
H A Dcio_inject.c98 buffer = memdup_user_nul(buf, lbuf); in crw_inject_write()
/linux/security/smack/
H A Dsmackfs.c476 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 Dlockdown.c128 state = memdup_user_nul(buf, n); in lockdown_write()
/linux/drivers/firmware/xilinx/
H A Dzynqmp-debug.c165 kern_buff = memdup_user_nul(ptr, len); in zynqmp_pm_debugfs_api_write()
/linux/drivers/scsi/bfa/
H A Dbfad_debugfs.c253 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 Dfs.c147 copy = memdup_user_nul(data, len); in new_policy()
/linux/security/tomoyo/
H A Dsecurityfs_if.c49 data = memdup_user_nul(buf, count); in tomoyo_write_self()
/linux/security/selinux/
H A Dselinuxfs.c151 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 Dhealth.c152 break_msg = memdup_user_nul(data, count); in nsim_dev_health_break_write()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_debugfs.c315 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 Devm_secfs.c210 xattr->name = memdup_user_nul(buf, count); in evm_write_xattrs()
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_debug.c140 input_buffer = memdup_user_nul(ubuf, len); in dp_test_active_write()
/linux/drivers/s390/char/
H A Dvmcp.c163 cmd = memdup_user_nul(buff, count); in vmcp_write()
/linux/kernel/
H A Dfail_function.c248 buf = memdup_user_nul(buffer, count); in fei_write()
/linux/mm/
H A Dutil.c304 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 Dtrace_events_inject.c296 buf = memdup_user_nul(ubuf, cnt); in event_inject_write()
/linux/security/safesetid/
H A Dsecurityfs.c153 p = buf = memdup_user_nul(ubuf, len); in handle_policy_update()
/linux/arch/powerpc/platforms/pseries/
H A Dreconfig.c369 kbuf = memdup_user_nul(buf, count); in ofdt_write()
/linux/arch/xtensa/platforms/iss/
H A Dsimdisk.c233 char *tmp = memdup_user_nul(buf, count); in proc_write_simdisk()
/linux/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c139 source = memdup_user_nul(ubuf, len); in crc_control_write()

123