Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/wireless/marvell/libertas/
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-6.1.9/drivers/net/wireless/marvell/mwifiex/
Ddebugfs.c419 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_regrdwr_write()
535 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_debug_mask_write()
612 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_memrw_write()
685 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_rdeeprom_write()
765 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_hscfg_write()
/linux-6.1.9/arch/sparc/kernel/
Dled.c76 buf = memdup_user_nul(buffer, count); in led_proc_write()
/linux-6.1.9/security/lockdown/
Dlockdown.c122 state = memdup_user_nul(buf, n); in lockdown_write()
/linux-6.1.9/security/smack/
Dsmackfs.c476 data = memdup_user_nul(buf, count); in smk_write_rules_list()
861 data = memdup_user_nul(buf, count); in smk_set_cipso()
1177 data = memdup_user_nul(buf, count); in smk_write_net4addr()
1436 data = memdup_user_nul(buf, count); in smk_write_net6addr()
1844 data = memdup_user_nul(buf, count); in smk_write_ambient()
2018 data = memdup_user_nul(buf, count); in smk_write_onlycap()
2108 data = memdup_user_nul(buf, count); in smk_write_unconfined()
2668 data = memdup_user_nul(buf, count); in smk_write_syslog()
2768 data = memdup_user_nul(buf, count); in smk_write_relabel_self()
/linux-6.1.9/drivers/firmware/xilinx/
Dzynqmp-debug.c165 kern_buff = memdup_user_nul(ptr, len); in zynqmp_pm_debugfs_api_write()
/linux-6.1.9/security/tomoyo/
Dsecurityfs_if.c49 data = memdup_user_nul(buf, count); in tomoyo_write_self()
/linux-6.1.9/security/selinux/
Dselinuxfs.c155 page = memdup_user_nul(buf, count); in sel_write_enforce()
306 page = memdup_user_nul(buf, count); in sel_write_disable()
748 page = memdup_user_nul(buf, count); in sel_write_checkreqprot()
808 req = memdup_user_nul(buf, count); in sel_write_validatetrans()
1326 page = memdup_user_nul(buf, count); in sel_write_bool()
1382 page = memdup_user_nul(buf, count); in sel_commit_bools_write()
1541 page = memdup_user_nul(buf, count); in sel_write_avc_cache_threshold()
/linux-6.1.9/drivers/s390/char/
Dvmcp.c163 cmd = memdup_user_nul(buff, count); in vmcp_write()
/linux-6.1.9/security/integrity/evm/
Devm_secfs.c210 xattr->name = memdup_user_nul(buf, count); in evm_write_xattrs()
/linux-6.1.9/drivers/net/netdevsim/
Dhealth.c206 break_msg = memdup_user_nul(data, count); in nsim_dev_health_break_write()
/linux-6.1.9/kernel/
Dfail_function.c251 buf = memdup_user_nul(buffer, count); in fei_write()
/linux-6.1.9/include/linux/
Dstring.h15 extern void *memdup_user_nul(const void __user *, size_t);
/linux-6.1.9/kernel/trace/
Dtrace_events_inject.c296 buf = memdup_user_nul(ubuf, cnt); in event_inject_write()
/linux-6.1.9/drivers/gpu/drm/msm/dp/
Ddp_debug.c148 input_buffer = memdup_user_nul(ubuf, len); in dp_test_active_write()
/linux-6.1.9/mm/
Dutil.c252 void *memdup_user_nul(const void __user *src, size_t len) in memdup_user_nul() function
273 EXPORT_SYMBOL(memdup_user_nul);
/linux-6.1.9/arch/xtensa/platforms/iss/
Dsimdisk.c233 char *tmp = memdup_user_nul(buf, count); in proc_write_simdisk()
/linux-6.1.9/security/safesetid/
Dsecurityfs.c153 p = buf = memdup_user_nul(ubuf, len); in handle_policy_update()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dreconfig.c369 kbuf = memdup_user_nul(buf, count); in ofdt_write()
/linux-6.1.9/fs/
Dfsopen.c407 param.blob = memdup_user_nul(_value, aux); in SYSCALL_DEFINE5()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_debugfs_crc.c139 source = memdup_user_nul(ubuf, len); in crc_control_write()
/linux-6.1.9/lib/
Dbitmap.c464 buf = memdup_user_nul(ubuf, ulen); in bitmap_parse_user()
855 buf = memdup_user_nul(ubuf, ulen); in bitmap_parselist_user()
Dstring_helpers.c153 buf = memdup_user_nul(from, count); in parse_int_array_user()
/linux-6.1.9/drivers/media/cec/core/
Dcec-core.c210 buf = memdup_user_nul(ubuf, min_t(size_t, PAGE_SIZE, count)); in cec_error_inj_write()
/linux-6.1.9/security/integrity/ima/
Dima_fs.c328 data = memdup_user_nul(buf, datalen); in ima_write_policy()

12