Home
last modified time | relevance | path

Searched refs:target_cmsghdr (Results 1 – 2 of 2) sorted by relevance

/qemu/linux-user/
H A Dsyscall_defs.h372 struct target_cmsghdr { struct
378 #define TARGET_CMSG_DATA(cmsg) ((unsigned char *) ((struct target_cmsghdr *) (cmsg) + 1)) argument
383 #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()
H A Dsyscall.c1727 struct target_cmsghdr *target_cmsg, *target_cmsg_start; in target_to_host_cmsg()
1731 if (msg_controllen < sizeof (struct target_cmsghdr)) in target_to_host_cmsg()
1744 - sizeof(struct target_cmsghdr); in target_to_host_cmsg()
1821 struct target_cmsghdr *target_cmsg, *target_cmsg_start; in host_to_target_cmsg()
1825 if (msg_controllen < sizeof (struct target_cmsghdr)) in host_to_target_cmsg()
1846 if (msg_controllen < sizeof(struct target_cmsghdr)) { in host_to_target_cmsg()
1878 tgt_len = msg_controllen - sizeof(struct target_cmsghdr); in host_to_target_cmsg()