compat_cmsghdr 93 net/compat.c ((void __user *)((char __user *)(cmsg) + sizeof(struct compat_cmsghdr))) compat_cmsghdr 95 net/compat.c (sizeof(struct compat_cmsghdr) + CMSG_COMPAT_ALIGN(len)) compat_cmsghdr 97 net/compat.c (sizeof(struct compat_cmsghdr) + (len)) compat_cmsghdr 100 net/compat.c (((msg)->msg_controllen) >= sizeof(struct compat_cmsghdr) ? \ compat_cmsghdr 101 net/compat.c (struct compat_cmsghdr __user *)((msg)->msg_control) : \ compat_cmsghdr 102 net/compat.c (struct compat_cmsghdr __user *)NULL) compat_cmsghdr 105 net/compat.c ((ucmlen) >= sizeof(struct compat_cmsghdr) && \ compat_cmsghdr 110 net/compat.c static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg, compat_cmsghdr 111 net/compat.c struct compat_cmsghdr __user *cmsg, int cmsg_len) compat_cmsghdr 117 net/compat.c return (struct compat_cmsghdr __user *)ptr; compat_cmsghdr 127 net/compat.c struct compat_cmsghdr __user *ucmsg; compat_cmsghdr 133 net/compat.c BUILD_BUG_ON(sizeof(struct compat_cmsghdr) != compat_cmsghdr 134 net/compat.c CMSG_COMPAT_ALIGN(sizeof(struct compat_cmsghdr))); compat_cmsghdr 212 net/compat.c struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control; compat_cmsghdr 213 net/compat.c struct compat_cmsghdr cmhdr; compat_cmsghdr 256 net/compat.c if (copy_to_user(CMSG_COMPAT_DATA(cm), data, cmlen - sizeof(struct compat_cmsghdr))) compat_cmsghdr 268 net/compat.c struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control; compat_cmsghdr 269 net/compat.c int fdmax = (kmsg->msg_controllen - sizeof(struct compat_cmsghdr)) / sizeof(int);