Home
last modified time | relevance | path

Searched refs:msg_sys (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/net/
Dsocket.c1355 struct msghdr msg_sys; in sys_sendmsg() local
1359 if (copy_from_user(&msg_sys,msg,sizeof(struct msghdr))) in sys_sendmsg()
1368 if (msg_sys.msg_iovlen > UIO_MAXIOV) in sys_sendmsg()
1373 iov_size = msg_sys.msg_iovlen * sizeof(struct iovec); in sys_sendmsg()
1374 if (msg_sys.msg_iovlen > UIO_FASTIOV) { in sys_sendmsg()
1381 err = verify_iovec(&msg_sys, iov, address, VERIFY_READ); in sys_sendmsg()
1388 if (msg_sys.msg_controllen > INT_MAX) in sys_sendmsg()
1390 ctl_len = msg_sys.msg_controllen; in sys_sendmsg()
1400 if (copy_from_user(ctl_buf, msg_sys.msg_control, ctl_len)) in sys_sendmsg()
1402 msg_sys.msg_control = ctl_buf; in sys_sendmsg()
[all …]
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c1751 struct msghdr msg_sys; in sys32_sendmsg() local
1756 if (get_msghdr32(&msg_sys, msg)) in sys32_sendmsg()
1765 if (msg_sys.msg_iovlen > UIO_MAXIOV) in sys32_sendmsg()
1770 iov_size = msg_sys.msg_iovlen * sizeof(struct iovec32); in sys32_sendmsg()
1771 if (msg_sys.msg_iovlen > UIO_FASTIOV) { in sys32_sendmsg()
1778 err = verify_iovec32(&msg_sys, iov, address, VERIFY_READ); in sys32_sendmsg()
1785 if (msg_sys.msg_controllen > INT_MAX) in sys32_sendmsg()
1787 if (msg_sys.msg_controllen) { in sys32_sendmsg()
1789 err = get_cmsghdr32(&msg_sys, ctl_buf, sock->sk, &ctl_len); in sys32_sendmsg()
1792 ctl_buf = msg_sys.msg_control; in sys32_sendmsg()
[all …]
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c2825 struct msghdr msg_sys; in sys32_sendmsg() local
2829 if (msghdr_from_user32_to_kern(&msg_sys, msg)) in sys32_sendmsg()
2838 if (msg_sys.msg_iovlen > UIO_MAXIOV) in sys32_sendmsg()
2843 iov_size = msg_sys.msg_iovlen * sizeof(struct iovec32); in sys32_sendmsg()
2844 if (msg_sys.msg_iovlen > UIO_FASTIOV) { in sys32_sendmsg()
2851 err = verify_iovec32(&msg_sys, iov, address, VERIFY_READ); in sys32_sendmsg()
2858 if (msg_sys.msg_controllen > INT_MAX) in sys32_sendmsg()
2860 ctl_len = msg_sys.msg_controllen; in sys32_sendmsg()
2876 if (cmsghdr_from_user32_to_kern(&msg_sys, ctl_buf, ctl_len)) in sys32_sendmsg()
2880 msg_sys.msg_flags = flags; in sys32_sendmsg()
[all …]