Lines Matching refs:tswapal
963 target_rusage->ru_utime.tv_sec = tswapal(rusage->ru_utime.tv_sec); in host_to_target_rusage()
964 target_rusage->ru_utime.tv_usec = tswapal(rusage->ru_utime.tv_usec); in host_to_target_rusage()
965 target_rusage->ru_stime.tv_sec = tswapal(rusage->ru_stime.tv_sec); in host_to_target_rusage()
966 target_rusage->ru_stime.tv_usec = tswapal(rusage->ru_stime.tv_usec); in host_to_target_rusage()
967 target_rusage->ru_maxrss = tswapal(rusage->ru_maxrss); in host_to_target_rusage()
968 target_rusage->ru_ixrss = tswapal(rusage->ru_ixrss); in host_to_target_rusage()
969 target_rusage->ru_idrss = tswapal(rusage->ru_idrss); in host_to_target_rusage()
970 target_rusage->ru_isrss = tswapal(rusage->ru_isrss); in host_to_target_rusage()
971 target_rusage->ru_minflt = tswapal(rusage->ru_minflt); in host_to_target_rusage()
972 target_rusage->ru_majflt = tswapal(rusage->ru_majflt); in host_to_target_rusage()
973 target_rusage->ru_nswap = tswapal(rusage->ru_nswap); in host_to_target_rusage()
974 target_rusage->ru_inblock = tswapal(rusage->ru_inblock); in host_to_target_rusage()
975 target_rusage->ru_oublock = tswapal(rusage->ru_oublock); in host_to_target_rusage()
976 target_rusage->ru_msgsnd = tswapal(rusage->ru_msgsnd); in host_to_target_rusage()
977 target_rusage->ru_msgrcv = tswapal(rusage->ru_msgrcv); in host_to_target_rusage()
978 target_rusage->ru_nsignals = tswapal(rusage->ru_nsignals); in host_to_target_rusage()
979 target_rusage->ru_nvcsw = tswapal(rusage->ru_nvcsw); in host_to_target_rusage()
980 target_rusage->ru_nivcsw = tswapal(rusage->ru_nivcsw); in host_to_target_rusage()
992 target_rlim_swap = tswapal(target_rlim); in target_to_host_rlim()
1014 result = tswapal(target_rlim_swap); in host_to_target_rlim()
1361 nsel = tswapal(sel->n); in do_old_select()
1362 inp = tswapal(sel->inp); in do_old_select()
1363 outp = tswapal(sel->outp); in do_old_select()
1364 exp = tswapal(sel->exp); in do_old_select()
1365 tvp = tswapal(sel->tvp); in do_old_select()
1441 arg_sigset = tswapal(arg7[0]); in do_pselect6()
1442 arg_sigsize = tswapal(arg7[1]); in do_pselect6()
1730 msg_controllen = tswapal(target_msgh->msg_controllen); in target_to_host_cmsg()
1733 target_cmsg_addr = tswapal(target_msgh->msg_control); in target_to_host_cmsg()
1743 int len = tswapal(target_cmsg->cmsg_len) in target_to_host_cmsg()
1824 msg_controllen = tswapal(target_msgh->msg_controllen); in host_to_target_cmsg()
1827 target_cmsg_addr = tswapal(target_msgh->msg_control); in host_to_target_cmsg()
2030 target_cmsg->cmsg_len = tswapal(TARGET_CMSG_LEN(tgt_len)); in host_to_target_cmsg()
2043 target_msgh->msg_controllen = tswapal(space); in host_to_target_cmsg()
2114 ip_mreq.imr_ifindex = tswapal(target_smreqn->imr_ifindex); in do_setsockopt()
2338 tswapal(tfprog->filter), 0)) { in do_setsockopt()
2999 abi_ulong base = tswapal(target_vec[i].iov_base); in lock_iovec()
3000 abi_long len = tswapal(target_vec[i].iov_len); in lock_iovec()
3038 if (tswapal(target_vec[i].iov_len) > 0) { in lock_iovec()
3039 unlock_user(vec[i].iov_base, tswapal(target_vec[i].iov_base), 0); in lock_iovec()
3059 abi_ulong base = tswapal(target_vec[i].iov_base); in unlock_iovec()
3060 abi_long len = tswapal(target_vec[i].iov_len); in unlock_iovec()
3229 tswapal(msgp->msg_name), in do_sendrecvmsg_locked()
3245 msg.msg_controllen = 2 * tswapal(msgp->msg_controllen); in do_sendrecvmsg_locked()
3251 count = tswapal(msgp->msg_iovlen); in do_sendrecvmsg_locked()
3252 target_vec = tswapal(msgp->msg_iov); in do_sendrecvmsg_locked()
3308 ret = host_to_target_sockaddr(tswapal(msgp->msg_name), in do_sendrecvmsg_locked()
3806 host_sd->sem_nsems = tswapal(target_sd->sem_nsems); in target_to_host_semid_ds()
3807 host_sd->sem_otime = tswapal(target_sd->sem_otime); in target_to_host_semid_ds()
3808 host_sd->sem_ctime = tswapal(target_sd->sem_ctime); in target_to_host_semid_ds()
3822 target_sd->sem_nsems = tswapal(host_sd->sem_nsems); in host_to_target_semid_ds()
3823 target_sd->sem_otime = tswapal(host_sd->sem_otime); in host_to_target_semid_ds()
3824 target_sd->sem_ctime = tswapal(host_sd->sem_ctime); in host_to_target_semid_ds()
3964 target_su.buf = tswapal(target_su.buf); in do_semctl()
4138 host_md->msg_stime = tswapal(target_md->msg_stime); in target_to_host_msqid_ds()
4139 host_md->msg_rtime = tswapal(target_md->msg_rtime); in target_to_host_msqid_ds()
4140 host_md->msg_ctime = tswapal(target_md->msg_ctime); in target_to_host_msqid_ds()
4141 host_md->__msg_cbytes = tswapal(target_md->__msg_cbytes); in target_to_host_msqid_ds()
4142 host_md->msg_qnum = tswapal(target_md->msg_qnum); in target_to_host_msqid_ds()
4143 host_md->msg_qbytes = tswapal(target_md->msg_qbytes); in target_to_host_msqid_ds()
4144 host_md->msg_lspid = tswapal(target_md->msg_lspid); in target_to_host_msqid_ds()
4145 host_md->msg_lrpid = tswapal(target_md->msg_lrpid); in target_to_host_msqid_ds()
4159 target_md->msg_stime = tswapal(host_md->msg_stime); in host_to_target_msqid_ds()
4160 target_md->msg_rtime = tswapal(host_md->msg_rtime); in host_to_target_msqid_ds()
4161 target_md->msg_ctime = tswapal(host_md->msg_ctime); in host_to_target_msqid_ds()
4162 target_md->__msg_cbytes = tswapal(host_md->__msg_cbytes); in host_to_target_msqid_ds()
4163 target_md->msg_qnum = tswapal(host_md->msg_qnum); in host_to_target_msqid_ds()
4164 target_md->msg_qbytes = tswapal(host_md->msg_qbytes); in host_to_target_msqid_ds()
4165 target_md->msg_lspid = tswapal(host_md->msg_lspid); in host_to_target_msqid_ds()
4166 target_md->msg_lrpid = tswapal(host_md->msg_lrpid); in host_to_target_msqid_ds()
4255 host_mb->mtype = (abi_long) tswapal(target_mb->mtype); in do_msgsnd()
4335 target_mb->mtype = tswapal(host_mb->mtype); in do_msgrcv()
4542 ret = do_msgrcv(first, tswapal(tmp->msgp), second, tswapal(tmp->msgtyp), third); in do_ipc()
5298 tswapal(*target_rt_dev_ptr)); in do_ioctl_rt()
5979 ldt_info.base_addr = tswapal(target_ldt_info->base_addr); in write_ldt()
6094 ldt_info.base_addr = tswapal(target_ldt_info->base_addr); in do_set_thread_area()
6205 target_ldt_info->base_addr = tswapal(base_addr); in do_get_thread_area()
7548 (void *)(uintptr_t)tswapal(target_sevp->sigev_value.sival_ptr); in target_to_host_sigevent()
8741 tde->d_ino = tswapal(hde->d_ino); in do_getdents()
8742 tde->d_off = tswapal(hde->d_off); in do_getdents()
9581 tbuf.actime = tswapal(target_tbuf->actime); in _syscall2()
9582 tbuf.modtime = tswapal(target_tbuf->modtime); in _syscall2()
9770 tmsp->tms_utime = tswapal(host_to_target_clock_t(tms.tms_utime)); in _syscall2()
9771 tmsp->tms_stime = tswapal(host_to_target_clock_t(tms.tms_stime)); in _syscall2()
9772 tmsp->tms_cutime = tswapal(host_to_target_clock_t(tms.tms_cutime)); in _syscall2()
9773 tmsp->tms_cstime = tswapal(host_to_target_clock_t(tms.tms_cstime)); in _syscall2()
10137 abi_ulong mask = tswapal(arg1); in _syscall2()
10508 v1 = tswapal(v[0]); in _syscall2()
10509 v2 = tswapal(v[1]); in _syscall2()
10510 v3 = tswapal(v[2]); in _syscall2()
10511 v4 = tswapal(v[3]); in _syscall2()
10512 v5 = tswapal(v[4]); in _syscall2()
10513 v6 = tswapal(v[5]); in _syscall2()