Searched refs:target_cmsg (Results 1 – 1 of 1) sorted by relevance
1757 struct target_cmsghdr *target_cmsg, *target_cmsg_start; in target_to_host_cmsg() local1764 target_cmsg = lock_user(VERIFY_READ, target_cmsg_addr, msg_controllen, 1); in target_to_host_cmsg()1765 target_cmsg_start = target_cmsg; in target_to_host_cmsg()1766 if (!target_cmsg) in target_to_host_cmsg()1769 while (cmsg && target_cmsg) { in target_to_host_cmsg()1771 void *target_data = TARGET_CMSG_DATA(target_cmsg); in target_to_host_cmsg()1773 int len = tswapal(target_cmsg->cmsg_len) in target_to_host_cmsg()1791 tswap32(target_cmsg->cmsg_level), in target_to_host_cmsg()1792 tswap32(target_cmsg->cmsg_type)); in target_to_host_cmsg()1796 if (tswap32(target_cmsg->cmsg_level) == TARGET_SOL_SOCKET) { in target_to_host_cmsg()[all …]