Home
last modified time | relevance | path

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

123

/openbmc/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()
/openbmc/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()
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 Dled.c76 buf = memdup_user_nul(buffer, count); in led_proc_write()
/openbmc/linux/drivers/s390/cio/
H A Dcio_inject.c98 buffer = memdup_user_nul(buf, lbuf); in crw_inject_write()
/openbmc/linux/security/lockdown/
H A Dlockdown.c122 state = memdup_user_nul(buf, n); in lockdown_write()
/openbmc/linux/drivers/firmware/xilinx/
H A Dzynqmp-debug.c165 kern_buff = memdup_user_nul(ptr, len); in zynqmp_pm_debugfs_api_write()
/openbmc/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()
/openbmc/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()
/openbmc/linux/security/tomoyo/
H A Dsecurityfs_if.c49 data = memdup_user_nul(buf, count); in tomoyo_write_self()
/openbmc/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()
/openbmc/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()
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 Dvmcp.c163 cmd = memdup_user_nul(buff, count); in vmcp_write()
/openbmc/linux/security/integrity/evm/
H A Devm_secfs.c210 xattr->name = memdup_user_nul(buf, count); in evm_write_xattrs()
/openbmc/linux/kernel/
H A Dfail_function.c248 buf = memdup_user_nul(buffer, count); in fei_write()
/openbmc/linux/drivers/net/netdevsim/
H A Dhealth.c206 break_msg = memdup_user_nul(data, count); in nsim_dev_health_break_write()
/openbmc/linux/mm/
H A Dutil.c275 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 Dstring.h17 extern void *memdup_user_nul(const void __user *, size_t);
/openbmc/linux/drivers/gpu/drm/msm/dp/
H A Ddp_debug.c147 input_buffer = memdup_user_nul(ubuf, len); in dp_test_active_write()
/openbmc/linux/kernel/trace/
H A Dtrace_events_inject.c296 buf = memdup_user_nul(ubuf, cnt); in event_inject_write()
/openbmc/linux/security/safesetid/
H A Dsecurityfs.c153 p = buf = memdup_user_nul(ubuf, len); in handle_policy_update()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dreconfig.c369 kbuf = memdup_user_nul(buf, count); in ofdt_write()
/openbmc/linux/arch/xtensa/platforms/iss/
H A Dsimdisk.c233 char *tmp = memdup_user_nul(buf, count); in proc_write_simdisk()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c139 source = memdup_user_nul(ubuf, len); in crc_control_write()
/openbmc/linux/fs/
H A Dfsopen.c443 param.blob = memdup_user_nul(_value, aux); in SYSCALL_DEFINE5()
/openbmc/linux/lib/
H A Dbitmap.c464 buf = memdup_user_nul(ubuf, ulen); in bitmap_parse_user()
855 buf = memdup_user_nul(ubuf, ulen); in bitmap_parselist_user()

123