Home
last modified time | relevance | path

Searched refs:copy_from_user (Results 1 – 6 of 6) sorted by relevance

/include/asm-generic/
Dtermios.h44 if (copy_from_user(termios->c_cc, termio->c_cc, NCC) != 0) in user_termio_to_kernel_termios()
74 return copy_from_user(k, u, sizeof(struct termios2)); in user_termios_to_kernel_termios()
86 return copy_from_user(k, u, sizeof(struct termios)); in user_termios_to_kernel_termios_1()
98 return copy_from_user(k, u, sizeof(struct termios)); in user_termios_to_kernel_termios()
Dtermios-base.h39 if (copy_from_user(termios->c_cc, termio->c_cc, NCC) != 0) in user_termio_to_kernel_termios()
66 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios))
73 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios))
Dflat.h11 return copy_from_user(addr, rp, 4) ? -EFAULT : 0; in flat_get_addr_from_rp()
/include/linux/
Duaccess.h141 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() function
299 if (copy_from_user(dst, src, size)) in copy_struct_from_user()
/include/rdma/
Duverbs_ioctl.h824 else if (copy_from_user(to, u64_to_user_ptr(attr->ptr_attr.data), in _uverbs_copy_from()
846 else if (copy_from_user(to, u64_to_user_ptr(attr->ptr_attr.data), in _uverbs_copy_from_or_zero()
Dib_verbs.h2807 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata()