Home
last modified time | relevance | path

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

/openbmc/linux/net/
H A Dcompat.c142 struct compat_cmsghdr __user *ucmsg; in cmsghdr_from_user_compat_to_kern() local
153 ucmsg = CMSG_COMPAT_FIRSTHDR(kmsg); in cmsghdr_from_user_compat_to_kern()
154 while (ucmsg != NULL) { in cmsghdr_from_user_compat_to_kern()
155 if (get_user(ucmlen, &ucmsg->cmsg_len)) in cmsghdr_from_user_compat_to_kern()
159 if (!CMSG_COMPAT_OK(ucmlen, ucmsg, kmsg)) in cmsghdr_from_user_compat_to_kern()
165 ucmsg = cmsg_compat_nxthdr(kmsg, ucmsg, ucmlen); in cmsghdr_from_user_compat_to_kern()
182 ucmsg = CMSG_COMPAT_FIRSTHDR(kmsg); in cmsghdr_from_user_compat_to_kern()
183 while (ucmsg != NULL) { in cmsghdr_from_user_compat_to_kern()
197 CMSG_COMPAT_DATA(ucmsg), in cmsghdr_from_user_compat_to_kern()
198 (cmsg.cmsg_len - sizeof(*ucmsg)))) in cmsghdr_from_user_compat_to_kern()
[all …]