Lines Matching refs:msg_controllen
71 __get_user(kmsg->msg_controllen, &umsg->msg_controllen) || in get_compat_msghdr()
121 (((msg)->msg_controllen) >= sizeof(struct compat_cmsghdr) ? \
128 ((mhdr)->msg_controllen - \
136 msg->msg_controllen) in cmsg_compat_nxthdr()
212 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user_compat_to_kern()
231 if (cm == NULL || kmsg->msg_controllen < sizeof(*cm)) { in put_cmsg_compat()
259 if (kmsg->msg_controllen < cmlen) { in put_cmsg_compat()
261 cmlen = kmsg->msg_controllen; in put_cmsg_compat()
272 if (kmsg->msg_controllen < cmlen) in put_cmsg_compat()
273 cmlen = kmsg->msg_controllen; in put_cmsg_compat()
275 kmsg->msg_controllen -= cmlen; in put_cmsg_compat()
282 int fdmax = (kmsg->msg_controllen - sizeof(struct compat_cmsghdr)) / sizeof(int); in scm_detach_fds_compat()
321 kmsg->msg_controllen -= cmlen; in scm_detach_fds_compat()