Lines Matching refs:target_md

4132     struct target_msqid_ds *target_md;  in target_to_host_msqid_ds()  local
4134 if (!lock_user_struct(VERIFY_READ, target_md, target_addr, 1)) in target_to_host_msqid_ds()
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()
4146 unlock_user_struct(target_md, target_addr, 0); in target_to_host_msqid_ds()
4153 struct target_msqid_ds *target_md; in host_to_target_msqid_ds() local
4155 if (!lock_user_struct(VERIFY_WRITE, target_md, target_addr, 0)) in host_to_target_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()
4167 unlock_user_struct(target_md, target_addr, 1); in host_to_target_msqid_ds()