cmsghdr 347 fs/dlm/lowcomms.c struct cmsghdr *cmsg; cmsghdr 785 fs/dlm/lowcomms.c struct cmsghdr *cmsg; cmsghdr 88 include/linux/socket.h #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) cmsghdr 89 include/linux/socket.h #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) cmsghdr 90 include/linux/socket.h #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) cmsghdr 92 include/linux/socket.h #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? \ cmsghdr 93 include/linux/socket.h (struct cmsghdr *)(ctl) : \ cmsghdr 94 include/linux/socket.h (struct cmsghdr *)NULL) cmsghdr 96 include/linux/socket.h #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ cmsghdr 129 include/linux/socket.h __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, cmsghdr 132 include/linux/socket.h struct cmsghdr * __ptr; cmsghdr 134 include/linux/socket.h __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); cmsghdr 136 include/linux/socket.h return (struct cmsghdr *)0; cmsghdr 141 include/linux/socket.h __KINLINE struct cmsghdr * cmsg_nxthdr (struct msghdr *__msg, struct cmsghdr *__cmsg) cmsghdr 142 net/compat.c struct cmsghdr *kcmsg, *kcmsg_base; cmsghdr 148 net/compat.c kcmsg_base = kcmsg = (struct cmsghdr *)stackbuf; cmsghdr 159 net/compat.c CMSG_ALIGN(sizeof(struct cmsghdr))); cmsghdr 186 net/compat.c CMSG_ALIGN(sizeof(struct cmsghdr))); cmsghdr 199 net/compat.c kcmsg = (struct cmsghdr *)((char *)kcmsg + tmp); cmsghdr 211 net/compat.c if (kcmsg_base != (struct cmsghdr *)stackbuf) cmsghdr 64 net/core/scm.c num = (cmsg->cmsg_len - CMSG_ALIGN(sizeof(struct cmsghdr)))/sizeof(int); cmsghdr 117 net/core/scm.c struct cmsghdr *cmsg; cmsghdr 172 net/core/scm.c struct cmsghdr __user *cm cmsghdr 173 net/core/scm.c = (__force struct cmsghdr __user *)msg->msg_control; cmsghdr 174 net/core/scm.c struct cmsghdr cmhdr; cmsghdr 196 net/core/scm.c if (copy_to_user(CMSG_DATA(cm), data, cmlen - sizeof(struct cmsghdr))) cmsghdr 210 net/core/scm.c struct cmsghdr __user *cm cmsghdr 211 net/core/scm.c = (__force struct cmsghdr __user*)msg->msg_control; cmsghdr 224 net/core/scm.c if (msg->msg_controllen > sizeof(struct cmsghdr)) cmsghdr 225 net/core/scm.c fdmax = ((msg->msg_controllen - sizeof(struct cmsghdr)) cmsghdr 168 net/ipv4/ip_sockglue.c struct cmsghdr *cmsg; cmsghdr 177 net/ipv4/ip_sockglue.c err = cmsg->cmsg_len - CMSG_ALIGN(sizeof(struct cmsghdr)); cmsghdr 503 net/ipv6/datagram.c struct cmsghdr *cmsg; cmsghdr 35 net/rxrpc/ar-output.c struct cmsghdr *cmsg; cmsghdr 47 net/rxrpc/ar-output.c len = cmsg->cmsg_len - CMSG_ALIGN(sizeof(struct cmsghdr)); cmsghdr 6055 net/sctp/socket.c struct cmsghdr *cmsg; cmsghdr 1890 net/socket.c unsigned char ctl[sizeof(struct cmsghdr) + 20] cmsghdr 169 net/sunrpc/svcsock.c struct cmsghdr hdr; cmsghdr 172 net/sunrpc/svcsock.c struct cmsghdr *cmh = &buffer.hdr; cmsghdr 430 net/sunrpc/svcsock.c struct cmsghdr hdr; cmsghdr 433 net/sunrpc/svcsock.c struct cmsghdr *cmh = &buffer.hdr;