ucmsg             104 net/compat.c   #define CMSG_COMPAT_OK(ucmlen, ucmsg, mhdr) \
ucmsg             108 net/compat.c   	  ((char *)(ucmsg) - (char *)(mhdr)->msg_control)))
ucmsg             127 net/compat.c   	struct compat_cmsghdr __user *ucmsg;
ucmsg             138 net/compat.c   	ucmsg = CMSG_COMPAT_FIRSTHDR(kmsg);
ucmsg             139 net/compat.c   	while (ucmsg != NULL) {
ucmsg             140 net/compat.c   		if (get_user(ucmlen, &ucmsg->cmsg_len))
ucmsg             144 net/compat.c   		if (!CMSG_COMPAT_OK(ucmlen, ucmsg, kmsg))
ucmsg             147 net/compat.c   		tmp = ((ucmlen - sizeof(*ucmsg)) + sizeof(struct cmsghdr));
ucmsg             150 net/compat.c   		ucmsg = cmsg_compat_nxthdr(kmsg, ucmsg, ucmlen);
ucmsg             167 net/compat.c   	ucmsg = CMSG_COMPAT_FIRSTHDR(kmsg);
ucmsg             168 net/compat.c   	while (ucmsg != NULL) {
ucmsg             169 net/compat.c   		if (__get_user(ucmlen, &ucmsg->cmsg_len))
ucmsg             171 net/compat.c   		if (!CMSG_COMPAT_OK(ucmlen, ucmsg, kmsg))
ucmsg             173 net/compat.c   		tmp = ((ucmlen - sizeof(*ucmsg)) + sizeof(struct cmsghdr));
ucmsg             178 net/compat.c   		if (__get_user(kcmsg->cmsg_level, &ucmsg->cmsg_level) ||
ucmsg             179 net/compat.c   		    __get_user(kcmsg->cmsg_type, &ucmsg->cmsg_type) ||
ucmsg             181 net/compat.c   				   CMSG_COMPAT_DATA(ucmsg),
ucmsg             182 net/compat.c   				   (ucmlen - sizeof(*ucmsg))))
ucmsg             187 net/compat.c   		ucmsg = cmsg_compat_nxthdr(kmsg, ucmsg, ucmlen);