Lines Matching refs:msg_controllen
2354 __kernel_size_t32 msg_controllen; member
2377 #define CMSG32_FIRSTHDR(msg) __CMSG32_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen)
2381 ((mhdr)->msg_controllen - \
2401 return __cmsg32_nxthdr(__msg->msg_control, __msg->msg_controllen, in cmsg32_nxthdr()
2447 err |= get_user(kmsg->msg_controllen, &umsg->msg_controllen); in msghdr_from_user32_to_kern()
2558 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user32_to_kern()
2576 if(cm == NULL || kmsg->msg_controllen < sizeof(*cm)) { in put_cmsg32()
2581 if(kmsg->msg_controllen < cmlen) { in put_cmsg32()
2583 cmlen = kmsg->msg_controllen; in put_cmsg32()
2595 kmsg->msg_controllen -= cmlen; in put_cmsg32()
2601 int fdmax = (kmsg->msg_controllen - sizeof(struct cmsghdr32)) / sizeof(int); in scm_detach_fds32()
2637 kmsg->msg_controllen -= cmlen; in scm_detach_fds32()
2686 space_avail = kmsg->msg_controllen + bufsz; in cmsg32_recvmsg_fixup()
2747 kmsg->msg_controllen = space_avail - bufsz; in cmsg32_recvmsg_fixup()
2757 kmsg->msg_controllen += bufsz; in cmsg32_recvmsg_fixup()
2780 if(kern_msg.msg_controllen) { in sys32_sendmsg()
2832 cmsg_len = kern_msg.msg_controllen; in sys32_recvmsg()
2878 err |= __put_user(uclen, &user_msg->msg_controllen); in sys32_recvmsg()