Home
last modified time | relevance | path

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

/external/valgrind/main/include/vki/
Dvki-linux.h647 struct vki_cmsghdr { struct
658 #define VKI_CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + VKI_CMSG_ALIGN(sizeof(struct vki_cmsghdr)))) argument
660 #define __VKI_CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct vki_cmsghdr) ? \
661 (struct vki_cmsghdr *)(ctl) : \
662 (struct vki_cmsghdr *)NULL)
666 __KINLINE struct vki_cmsghdr * __vki_cmsg_nxthdr(void *__ctl, __vki_kernel_size_t __size, in __vki_cmsg_nxthdr()
667 struct vki_cmsghdr *__cmsg) in __vki_cmsg_nxthdr()
669 struct vki_cmsghdr * __ptr; in __vki_cmsg_nxthdr()
671 __ptr = (struct vki_cmsghdr*)(((unsigned char *) __cmsg) + VKI_CMSG_ALIGN(__cmsg->cmsg_len)); in __vki_cmsg_nxthdr()
673 return (struct vki_cmsghdr *)0; in __vki_cmsg_nxthdr()
[all …]
Dvki-darwin.h191 #define vki_cmsghdr cmsghdr macro
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-generic.c993 struct vki_cmsghdr *cm = VKI_CMSG_FIRSTHDR(msg); in check_cmsg_for_fds()
999 Int fdc = (cm->cmsg_len - VKI_CMSG_ALIGN(sizeof(struct vki_cmsghdr))) in check_cmsg_for_fds()