Home
last modified time | relevance | path

Searched refs:ctl_len (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/arch/sparc64/solaris/
Dtimod.c344 int timod_putmsg(unsigned int fd, char *ctl_buf, int ctl_len, in timod_putmsg() argument
477 if (ctl_len > BUF_SIZE) { in timod_putmsg()
483 if (copy_from_user(buf, ctl_buf, ctl_len)) { in timod_putmsg()
491 int len = ctl_len; in timod_putmsg()
516 it = timod_mkctl(ctl_len); in timod_putmsg()
525 int len = ctl_len; in timod_putmsg()
535 memcpy(con, buf, ctl_len); in timod_putmsg()
620 int timod_getmsg(unsigned int fd, char *ctl_buf, int ctl_maxlen, s32 *ctl_len, in timod_getmsg() argument
638 …SOLDD(("%u %p %d %p %p %d %p %d\n", fd, ctl_buf, ctl_maxlen, ctl_len, data_buf, data_maxlen, data_… in timod_getmsg()
709 if(put_user(l, ctl_len)) in timod_getmsg()
[all …]
Dioctl.c40 extern int timod_putmsg(unsigned int fd, char *ctl_buf, int ctl_len,
42 extern int timod_getmsg(unsigned int fd, char *ctl_buf, int ctl_maxlen, int *ctl_len,
/linux-2.4.37.9/net/
Dsocket.c1356 int err, ctl_len, iov_size, total_len; in sys_sendmsg() local
1390 ctl_len = msg_sys.msg_controllen; in sys_sendmsg()
1391 if (ctl_len) in sys_sendmsg()
1393 if (ctl_len > sizeof(ctl)) in sys_sendmsg()
1395 ctl_buf = sock_kmalloc(sock->sk, ctl_len, GFP_KERNEL); in sys_sendmsg()
1400 if (copy_from_user(ctl_buf, msg_sys.msg_control, ctl_len)) in sys_sendmsg()
1412 sock_kfree_s(sock->sk, ctl_buf, ctl_len); in sys_sendmsg()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c2826 int err, ctl_len, iov_size, total_len; in sys32_sendmsg() local
2860 ctl_len = msg_sys.msg_controllen; in sys32_sendmsg()
2861 if (ctl_len) in sys32_sendmsg()
2863 if (ctl_len > sizeof(ctl)) in sys32_sendmsg()
2865 ctl_buf = sock_kmalloc(sock->sk, ctl_len, GFP_KERNEL); in sys32_sendmsg()
2869 else if (ctl_len < sizeof(struct cmsghdr)) in sys32_sendmsg()
2876 if (cmsghdr_from_user32_to_kern(&msg_sys, ctl_buf, ctl_len)) in sys32_sendmsg()
2888 sock_kfree_s(sock->sk, ctl_buf, ctl_len); in sys32_sendmsg()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c1753 size_t ctl_len; in sys32_sendmsg() local
1788 ctl_len = sizeof(ctl); in sys32_sendmsg()
1789 err = get_cmsghdr32(&msg_sys, ctl_buf, sock->sk, &ctl_len); in sys32_sendmsg()
1801 sock_kfree_s(sock->sk, ctl_buf, ctl_len); in sys32_sendmsg()