Searched refs:target_cmsg (Results 1 – 1 of 1) sorted by relevance
1766 struct target_cmsghdr *target_cmsg, *target_cmsg_start; in target_to_host_cmsg() local1773 target_cmsg = lock_user(VERIFY_READ, target_cmsg_addr, msg_controllen, 1); in target_to_host_cmsg()1774 target_cmsg_start = target_cmsg; in target_to_host_cmsg()1775 if (!target_cmsg) in target_to_host_cmsg()1778 while (cmsg && target_cmsg) { in target_to_host_cmsg()1780 void *target_data = TARGET_CMSG_DATA(target_cmsg); in target_to_host_cmsg()1782 int len = tswapal(target_cmsg->cmsg_len) in target_to_host_cmsg()1800 tswap32(target_cmsg->cmsg_level), in target_to_host_cmsg()1801 tswap32(target_cmsg->cmsg_type)); in target_to_host_cmsg()1805 if (tswap32(target_cmsg->cmsg_level) == TARGET_SOL_SOCKET) { in target_to_host_cmsg()[all …]