Home
last modified time | relevance | path

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

/include/asm-generic/
Dtermios.h43 if (copy_from_user(termios->c_cc, termio->c_cc, NCC) != 0) in user_termio_to_kernel_termios()
73 return copy_from_user(k, u, sizeof(struct termios2)); in user_termios_to_kernel_termios()
85 return copy_from_user(k, u, sizeof(struct termios)); in user_termios_to_kernel_termios_1()
97 return copy_from_user(k, u, sizeof(struct termios)); in user_termios_to_kernel_termios()
Dtermios-base.h38 if (copy_from_user(termios->c_cc, termio->c_cc, NCC) != 0) in user_termio_to_kernel_termios()
65 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios))
72 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios))
Duaccess.h261 static inline long copy_from_user(void *to, in copy_from_user() function
/include/linux/
Dpoll.h134 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0; in get_fd_set()
Dskbuff.h2475 } else if (!copy_from_user(skb_put(skb, copy), from, copy)) in skb_add_data()
/include/net/
Dsock.h1858 } else if (copy_from_user(to, from, copy)) in skb_do_copy_data_nocache()
1909 } else if (copy_from_user(page_address(page) + off, from, copy)) in skb_copy_to_page()
/include/rdma/
Dib_verbs.h1660 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata()