Lines Matching refs:p
130 struct kern_ipc_perm *p = container_of(head, struct kern_ipc_perm, rcu); in msg_rcu_free() local
131 struct msg_queue *msq = container_of(p, struct msg_queue, q_perm); in msg_rcu_free()
519 int cmd, struct msqid64_ds *p) in msgctl_stat() argument
524 memset(p, 0, sizeof(*p)); in msgctl_stat()
562 kernel_to_ipc64_perm(&msq->q_perm, &p->msg_perm); in msgctl_stat()
563 p->msg_stime = msq->q_stime; in msgctl_stat()
564 p->msg_rtime = msq->q_rtime; in msgctl_stat()
565 p->msg_ctime = msq->q_ctime; in msgctl_stat()
567 p->msg_stime_high = msq->q_stime >> 32; in msgctl_stat()
568 p->msg_rtime_high = msq->q_rtime >> 32; in msgctl_stat()
569 p->msg_ctime_high = msq->q_ctime >> 32; in msgctl_stat()
571 p->msg_cbytes = msq->q_cbytes; in msgctl_stat()
572 p->msg_qnum = msq->q_qnum; in msgctl_stat()
573 p->msg_qbytes = msq->q_qbytes; in msgctl_stat()
574 p->msg_lspid = pid_vnr(msq->q_lspid); in msgctl_stat()
575 p->msg_lrpid = pid_vnr(msq->q_lrpid); in msgctl_stat()
682 struct compat_msqid64_ds __user *p = buf; in copy_compat_msqid_from_user() local
683 if (get_compat_ipc64_perm(&out->msg_perm, &p->msg_perm)) in copy_compat_msqid_from_user()
685 if (get_user(out->msg_qbytes, &p->msg_qbytes)) in copy_compat_msqid_from_user()
688 struct compat_msqid_ds __user *p = buf; in copy_compat_msqid_from_user() local
689 if (get_compat_ipc_perm(&out->msg_perm, &p->msg_perm)) in copy_compat_msqid_from_user()
691 if (get_user(out->msg_qbytes, &p->msg_qbytes)) in copy_compat_msqid_from_user()