Searched refs:target_cmsghdr (Results 1 – 2 of 2) sorted by relevance
372 struct target_cmsghdr { struct378 #define TARGET_CMSG_DATA(cmsg) ((unsigned char *) ((struct target_cmsghdr *) (cmsg) + 1)) argument383 #define TARGET_CMSG_SPACE(len) (sizeof(struct target_cmsghdr) + \385 #define TARGET_CMSG_LEN(len) (sizeof(struct target_cmsghdr) + (len))387 static __inline__ struct target_cmsghdr *389 struct target_cmsghdr *__cmsg, in __target_cmsg_nxthdr()390 struct target_cmsghdr *__cmsg_start) in __target_cmsg_nxthdr()392 struct target_cmsghdr *__ptr; in __target_cmsg_nxthdr()394 __ptr = (struct target_cmsghdr *)((unsigned char *) __cmsg in __target_cmsg_nxthdr()399 return (struct target_cmsghdr *)0; in __target_cmsg_nxthdr()
1757 struct target_cmsghdr *target_cmsg, *target_cmsg_start; in target_to_host_cmsg()1761 if (msg_controllen < sizeof (struct target_cmsghdr)) in target_to_host_cmsg()1774 - sizeof(struct target_cmsghdr); in target_to_host_cmsg()1851 struct target_cmsghdr *target_cmsg, *target_cmsg_start; in host_to_target_cmsg()1855 if (msg_controllen < sizeof (struct target_cmsghdr)) in host_to_target_cmsg()1876 if (msg_controllen < sizeof(struct target_cmsghdr)) { in host_to_target_cmsg()1908 tgt_len = msg_controllen - sizeof(struct target_cmsghdr); in host_to_target_cmsg()