Home
last modified time | relevance | path

Searched refs:msgp (Results 1 – 20 of 20) sorted by relevance

/freebsd-10-stable/contrib/ntp/libntp/
Dadjtime.c217 register MsgBuf *msgp = &msg; in _adjtime() local
226 msgp->msgb.mtype = CLIENT; in _adjtime()
227 msgp->msgb.tv = *delta; in _adjtime()
229 msgp->msgb.code = DELTA2; in _adjtime()
231 msgp->msgb.code = DELTA1; in _adjtime()
237 if (msgsnd(mqid, &msgp->msgp, MSGSIZE, 0) == -1) in _adjtime()
240 if (msgrcv(mqid, &msgp->msgp, MSGSIZE, SERVER, 0) == -1) in _adjtime()
242 *olddelta = msgp->msgb.tv; in _adjtime()
/freebsd-10-stable/sys/kern/
Dsysv_msg.c760 const void *msgp; member
766 kern_msgsnd(td, msqid, msgp, msgsz, msgflg, mtype) in kern_msgsnd() argument
769 const void *msgp; /* XXX msgp is actually mtext. */
1022 if ((error = copyin(msgp, &msgpool[next * msginfo.msgssz],
1034 msgp = (const char *)msgp + tlen;
1118 DPRINTF(("call to msgsnd(%d, %p, %zu, %d)\n", uap->msqid, uap->msgp,
1121 if ((error = copyin(uap->msgp, &mtype, sizeof(mtype))) != 0) {
1126 (const char *)uap->msgp + sizeof(mtype),
1133 void *msgp; member
1140 kern_msgrcv(td, msqid, msgp, msgsz, msgtyp, msgflg, mtype) in kern_msgrcv() argument
[all …]
Dsystrace_args.c1225 uarg[1] = (intptr_t) p->msgp; /* const void * */ in systrace_args()
1235 uarg[1] = (intptr_t) p->msgp; /* void * */ in systrace_args()
/freebsd-10-stable/contrib/openpam/lib/libpam/
Dpam_vprompt.c65 const struct pam_message *msgp; in pam_vprompt() local
83 msgp = &msg; in pam_vprompt()
85 r = (conv->conv)(1, &msgp, &rsp, conv->appdata_ptr); in pam_vprompt()
/freebsd-10-stable/contrib/openpam/modules/pam_unix/
Dpam_unix.c72 const struct pam_message *msgp; in pam_sm_authenticate() local
96 msgp = &msg; in pam_sm_authenticate()
104 pam_err = (*conv->conv)(1, &msgp, &resp, conv->appdata_ptr); in pam_sm_authenticate()
/freebsd-10-stable/crypto/openssh/openbsd-compat/
Dgetrrsetbyname.c118 _getshort(msgp) in _getshort() argument
119 register const u_char *msgp; in _getshort()
123 GETSHORT(u, msgp);
132 _getlong(msgp) in _getlong() argument
133 register const u_char *msgp; in _getlong()
137 GETLONG(u, msgp);
/freebsd-10-stable/sys/compat/linux/
Dlinux_ipc.c612 const void *msgp; in linux_msgsnd() local
619 msgp = PTRIN(args->msgp); in linux_msgsnd()
620 if ((error = copyin(msgp, &lmtype, sizeof(lmtype))) != 0) in linux_msgsnd()
624 (const char *)msgp + sizeof(lmtype), in linux_msgsnd()
631 void *msgp; in linux_msgrcv() local
638 msgp = PTRIN(args->msgp); in linux_msgrcv()
640 (char *)msgp + sizeof(lmtype), args->msgsz, in linux_msgrcv()
644 return (copyout(&lmtype, msgp, sizeof(lmtype))); in linux_msgrcv()
Dlinux_ipc.h103 struct l_msgbuf *msgp; member
112 struct l_msgbuf *msgp; member
/freebsd-10-stable/sys/i386/ibcs2/
Dibcs2_ipc.c162 void *msgp; member
175 ap.msgp = uap->msgp; in ibcs2_msgrcv()
185 void *msgp; member
197 ap.msgp = uap->msgp; in ibcs2_msgsnd()
/freebsd-10-stable/sys/compat/svr4/
Dsvr4_ipc.c360 void * msgp; member
374 ap.msgp = uap->msgp;
384 void * msgp; member
399 ap.msgp = uap->msgp;
/freebsd-10-stable/contrib/ntp/include/
Dadjtime.h45 struct msgbuf msgp; member
/freebsd-10-stable/sys/i386/linux/
Dlinux_machdep.c123 struct l_msgbuf *msgp; member
164 a.msgp = args->ptr; in linux_ipc()
184 a.msgp = tmp.msgp; in linux_ipc()
187 a.msgp = args->ptr; in linux_ipc()
/freebsd-10-stable/sys/amd64/linux32/
Dlinux32_machdep.c245 l_uintptr_t msgp; member
286 a.msgp = args->ptr; in linux_ipc()
306 a.msgp = PTRIN(tmp.msgp); in linux_ipc()
309 a.msgp = args->ptr; in linux_ipc()
/freebsd-10-stable/contrib/ntp/adjtimed/
Dadjtimed.c219 if (msgrcv(mqid, &msg.msgp, MSGSIZE, CLIENT, 0) == -1) { in main()
235 while (msgsnd(mqid, &msg.msgp, MSGSIZE, 0) == -1) { in main()
/freebsd-10-stable/sys/dev/de/
Dif_de.c3740 const char * const *msgp = tulip_status_bits; in tulip_print_abnormal_interrupt() local
3748 for (sep = " ", mask = 1; mask <= csr; mask <<= 1, msgp++) { in tulip_print_abnormal_interrupt()
3749 if ((csr & mask) && *msgp != NULL) { in tulip_print_abnormal_interrupt()
3750 printf("%s%s", sep, *msgp); in tulip_print_abnormal_interrupt()
/freebsd-10-stable/sys/compat/freebsd32/
Dfreebsd32_proto.h193 char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)]; member
199 char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)]; member
Dfreebsd32_systrace_args.c1132 uarg[1] = (intptr_t) p->msgp; /* void * */ in systrace_args()
1142 uarg[1] = (intptr_t) p->msgp; /* void * */ in systrace_args()
/freebsd-10-stable/sys/amd64/linux/
Dlinux_systrace_args.c617 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */ in systrace_args()
627 uarg[1] = (intptr_t) p->msgp; /* struct l_msgbuf * */ in systrace_args()
Dlinux_proto.h324 …char msgp_l_[PADL_(struct l_msgbuf *)]; struct l_msgbuf * msgp; char msgp_r_[PADR_(struct l_msgbuf… member
330 …char msgp_l_[PADL_(struct l_msgbuf *)]; struct l_msgbuf * msgp; char msgp_r_[PADR_(struct l_msgbuf… member
/freebsd-10-stable/sys/sys/
Dsysproto.h669 char msgp_l_[PADL_(const void *)]; const void * msgp; char msgp_r_[PADR_(const void *)]; member
675 char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)]; member