Searched refs:target_cmsg (Results 1 – 1 of 1) sorted by relevance
1780 struct target_cmsghdr *target_cmsg, *target_cmsg_start; in target_to_host_cmsg() local1787 target_cmsg = lock_user(VERIFY_READ, target_cmsg_addr, msg_controllen, 1); in target_to_host_cmsg()1788 target_cmsg_start = target_cmsg; in target_to_host_cmsg()1789 if (!target_cmsg) in target_to_host_cmsg()1792 while (cmsg && target_cmsg) { in target_to_host_cmsg()1794 void *target_data = TARGET_CMSG_DATA(target_cmsg); in target_to_host_cmsg()1796 int len = tswapal(target_cmsg->cmsg_len) in target_to_host_cmsg()1814 tswap32(target_cmsg->cmsg_level), in target_to_host_cmsg()1815 tswap32(target_cmsg->cmsg_type)); in target_to_host_cmsg()1819 if (tswap32(target_cmsg->cmsg_level) == TARGET_SOL_SOCKET) { in target_to_host_cmsg()[all …]