Symbol: compat_cmsghdr
net/compat.c
107
((void __user *)((char __user *)(cmsg) + sizeof(struct compat_cmsghdr)))
net/compat.c
109
(sizeof(struct compat_cmsghdr) + CMSG_COMPAT_ALIGN(len))
net/compat.c
111
(sizeof(struct compat_cmsghdr) + (len))
net/compat.c
114
(((msg)->msg_controllen) >= sizeof(struct compat_cmsghdr) ? \
net/compat.c
115
(struct compat_cmsghdr __user *)((msg)->msg_control_user) : \
net/compat.c
116
(struct compat_cmsghdr __user *)NULL)
net/compat.c
119
((ucmlen) >= sizeof(struct compat_cmsghdr) && \
net/compat.c
124
static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg,
net/compat.c
125
struct compat_cmsghdr __user *cmsg, int cmsg_len)
net/compat.c
131
return (struct compat_cmsghdr __user *)ptr;
net/compat.c
141
struct compat_cmsghdr __user *ucmsg;
net/compat.c
147
BUILD_BUG_ON(sizeof(struct compat_cmsghdr) !=
net/compat.c
148
CMSG_COMPAT_ALIGN(sizeof(struct compat_cmsghdr)));
net/compat.c
183
struct compat_cmsghdr cmsg;
net/compat.c
228
struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control_user;
net/compat.c
229
struct compat_cmsghdr cmhdr;
net/compat.c
272
if (copy_to_user(CMSG_COMPAT_DATA(cm), data, cmlen - sizeof(struct compat_cmsghdr)))
net/compat.c
284
if (msg->msg_controllen <= sizeof(struct compat_cmsghdr))
net/compat.c
286
return (msg->msg_controllen - sizeof(struct compat_cmsghdr)) / sizeof(int);
net/compat.c
291
struct compat_cmsghdr __user *cm =
net/compat.c
292
(struct compat_cmsghdr __user *)msg->msg_control_user;
net/core/scm.c
474
len = sizeof(struct compat_cmsghdr) + sizeof(int);