Home
last modified time | relevance | path

Searched refs:strncpy_from_user (Results 26 – 47 of 47) sorted by relevance

12

/openbmc/linux/arch/x86/kernel/cpu/mtrr/
H A Dif.c107 length = strncpy_from_user(line, buf, len); in mtrr_write()
/openbmc/linux/arch/m68k/include/asm/
H A Duaccess.h441 extern long strncpy_from_user(char *dst, const char __user *src, long count);
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c580 length = strncpy_from_user(msg, (void __user *)((unsigned long)arg->send), in vmw_msg_ioctl()
1061 desc_len = strncpy_from_user(pdesc->description, u64_to_user_ptr(arg->description), in vmw_mksstat_add_ioctl()
/openbmc/linux/arch/s390/include/asm/
H A Duaccess.h273 long __must_check strncpy_from_user(char *dst, const char __user *src, long count);
/openbmc/linux/arch/arm/include/asm/
H A Duaccess.h582 extern long strncpy_from_user(char *dest, const char __user *src, long count);
/openbmc/linux/arch/powerpc/include/asm/
H A Duaccess.h373 extern long strncpy_from_user(char *dst, const char __user *src, long count);
/openbmc/linux/arch/x86/include/asm/
H A Duaccess.h489 strncpy_from_user(char *dst, const char __user *src, long count);
/openbmc/linux/kernel/
H A Dreboot.c759 ret = strncpy_from_user(&buffer[0], arg, sizeof(buffer) - 1); in SYSCALL_DEFINE4()
H A Dsys.c2496 if (strncpy_from_user(comm, (char __user *)arg2, in SYSCALL_DEFINE5()
H A Dauditsc.c1191 len_tmp = strncpy_from_user(&buf_head[len_buf], p, in audit_log_execve_info()
/openbmc/linux/lib/
H A DMakefile268 obj-$(CONFIG_GENERIC_STRNCPY_FROM_USER) += strncpy_from_user.o
/openbmc/linux/mm/
H A Dkmemleak.c1932 if (strncpy_from_user(buf, user_buf, buf_size) < 0) in kmemleak_write()
/openbmc/linux/drivers/staging/media/av7110/
H A Dav7110_hw.c1131 if (strncpy_from_user(textbuf, dc->data, 240) < 0) { in av7110_osd_cmd()
/openbmc/linux/security/keys/
H A Dkeyctl.c51 ret = strncpy_from_user(type, _type, len); in key_get_type_from_user()
/openbmc/linux/kernel/trace/
H A Dtrace_uprobe.c156 ret = strncpy_from_user(dst, src, maxlen); in fetch_store_string()
H A Dbpf_trace.c2551 err = strncpy_from_user(p, (const char __user *) usymbol, KSYM_NAME_LEN); in copy_user_syms()
/openbmc/linux/drivers/dma/xilinx/
H A Dxilinx_dpdma.c418 ret = strncpy_from_user(kern_buff, buf, size); in xilinx_dpdma_debugfs_write()
/openbmc/linux/fs/
H A Dnamei.c151 len = strncpy_from_user(kname, filename, EMBEDDED_NAME_MAX); in getname_flags()
178 len = strncpy_from_user(kname, filename, PATH_MAX); in getname_flags()
/openbmc/linux/kernel/module/
H A Dmain.c709 if (strncpy_from_user(name, name_user, MODULE_NAME_LEN-1) < 0) in SYSCALL_DEFINE2()
/openbmc/linux/drivers/tty/vt/
H A Dvt.c4646 else if (strncpy_from_user(name, op->data, MAX_FONT_NAME - 1) < 0) in con_font_default()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c3672 if (strncpy_from_user(buf, user_tp_name, sizeof(buf) - 1) < 0) in bpf_raw_tp_link_attach()
/openbmc/linux/Documentation/trace/
H A Dftrace.rst2559 0) | strncpy_from_user() {

12