Lines Matching refs:tbuf
388 struct msqid64_ds tbuf; in copy_msqid_from_user() local
390 if (copy_from_user (&tbuf, buf, sizeof (tbuf))) in copy_msqid_from_user()
393 out->qbytes = tbuf.msg_qbytes; in copy_msqid_from_user()
394 out->uid = tbuf.msg_perm.uid; in copy_msqid_from_user()
395 out->gid = tbuf.msg_perm.gid; in copy_msqid_from_user()
396 out->mode = tbuf.msg_perm.mode; in copy_msqid_from_user()
472 struct msqid64_ds tbuf; in sys_msgctl() local
479 memset(&tbuf,0,sizeof(tbuf)); in sys_msgctl()
497 kernel_to_ipc64_perm(&msq->q_perm, &tbuf.msg_perm); in sys_msgctl()
498 tbuf.msg_stime = msq->q_stime; in sys_msgctl()
499 tbuf.msg_rtime = msq->q_rtime; in sys_msgctl()
500 tbuf.msg_ctime = msq->q_ctime; in sys_msgctl()
501 tbuf.msg_cbytes = msq->q_cbytes; in sys_msgctl()
502 tbuf.msg_qnum = msq->q_qnum; in sys_msgctl()
503 tbuf.msg_qbytes = msq->q_qbytes; in sys_msgctl()
504 tbuf.msg_lspid = msq->q_lspid; in sys_msgctl()
505 tbuf.msg_lrpid = msq->q_lrpid; in sys_msgctl()
507 if (copy_msqid_to_user(buf, &tbuf, version)) in sys_msgctl()