Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/ntp/libntp/
H A 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-13.1/contrib/openpam/lib/libpam/
H A 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-13.1/sys/kern/
H A Dsysv_msg.c1034 msgp = (const char *)msgp + tlen; in kern_msgsnd()
1124 (const char *)uap->msgp + sizeof(mtype), in sys_msgsnd()
1131 void *msgp; member
1382 msgp = (char *)msgp + tlen; in kern_msgrcv()
1408 (char *)uap->msgp + sizeof(mtype), uap->msgsz, in sys_msgrcv()
1794 const void *msgp; in freebsd32_msgsnd() local
1799 msgp = PTRIN(uap->msgp); in freebsd32_msgsnd()
1804 (const char *)msgp + sizeof(mtype32), in freebsd32_msgsnd()
1811 void *msgp; in freebsd32_msgrcv() local
1816 msgp = PTRIN(uap->msgp); in freebsd32_msgrcv()
[all …]
H A Dsystrace_args.c1107 uarg[1] = (intptr_t)p->msgp; /* const void * */ in systrace_args()
1117 uarg[1] = (intptr_t)p->msgp; /* void * */ in systrace_args()
/freebsd-13.1/contrib/openpam/modules/pam_unix/
H A 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-13.1/crypto/openssh/openbsd-compat/
H A 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-13.1/sys/compat/linux/
H A Dlinux_ipc.c653 const void *msgp; in linux_msgsnd() local
660 msgp = PTRIN(args->msgp); in linux_msgsnd()
661 if ((error = copyin(msgp, &lmtype, sizeof(lmtype))) != 0) in linux_msgsnd()
665 (const char *)msgp + sizeof(lmtype), in linux_msgsnd()
672 void *msgp; in linux_msgrcv() local
679 msgp = PTRIN(args->msgp); in linux_msgrcv()
681 (char *)msgp + sizeof(lmtype), args->msgsz, in linux_msgrcv()
685 return (copyout(&lmtype, msgp, sizeof(lmtype))); in linux_msgrcv()
/freebsd-13.1/contrib/ntp/include/
H A Dadjtime.h45 struct msgbuf msgp; member
/freebsd-13.1/sys/i386/linux/
H A Dlinux_machdep.c124 struct l_msgbuf *msgp; member
165 a.msgp = PTRIN(args->ptr); in linux_ipc()
185 a.msgp = PTRIN(tmp.msgp); in linux_ipc()
188 a.msgp = PTRIN(args->ptr); in linux_ipc()
H A Dlinux_systrace_args.c2976 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */ in systrace_args()
2986 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */ in systrace_args()
/freebsd-13.1/sys/amd64/linux32/
H A Dlinux32_machdep.c247 l_uintptr_t msgp; member
288 a.msgp = PTRIN(args->ptr); in linux_ipc()
308 a.msgp = PTRIN(tmp.msgp); in linux_ipc()
311 a.msgp = PTRIN(args->ptr); in linux_ipc()
H A Dlinux32_systrace_args.c2937 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */ in systrace_args()
2947 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */ in systrace_args()
/freebsd-13.1/contrib/ntp/adjtimed/
H A 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-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_linux.cpp346 int ExtractRecvmsgFDs(void *msgp, int *fds, int nfd) { in ExtractRecvmsgFDs() argument
348 msghdr *msg = (msghdr*)msgp; in ExtractRecvmsgFDs()
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1285 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1286 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \
1288 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1289 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \
1291 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument
1292 __sanitizer_syscall_pre_impl_msgrcv((long)(msqid), (long)(msgp), \
1295 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument
1297 __sanitizer_syscall_post_impl_msgrcv(res, (long)(msqid), (long)(msgp), \
2733 void __sanitizer_syscall_pre_impl_msgsnd(long msqid, long msgp, long msgsz,
2735 void __sanitizer_syscall_post_impl_msgsnd(long res, long msqid, long msgp,
[all …]
H A Dnetbsd_syscall_hooks.h1180 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1181 __sanitizer_syscall_pre_impl_msgsnd((long long)(msqid), (long long)(msgp), \
1183 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1185 (long long)(msgp), (long long)(msgsz), \
1187 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument
1188 __sanitizer_syscall_pre_impl_msgrcv((long long)(msqid), (long long)(msgp), \
1191 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument
3745 void __sanitizer_syscall_pre_impl_msgsnd(long long msqid, long long msgp,
3748 long long msgp, long long msgsz,
3750 void __sanitizer_syscall_pre_impl_msgrcv(long long msqid, long long msgp,
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2070 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) {
2071 if (msgp) PRE_READ(msgp, msgsz);
2074 POST_SYSCALL(msgsnd)(long res, long msqid, void *msgp, long msgsz,
2077 PRE_SYSCALL(msgrcv)(long msqid, void *msgp, long msgsz, long msgtyp,
2080 POST_SYSCALL(msgrcv)(long res, long msqid, void *msgp, long msgsz, long msgtyp,
2083 if (msgp) POST_WRITE(msgp, res);
H A Dsanitizer_common_interceptors.inc3132 INTERCEPTOR(int, msgsnd, int msqid, const void *msgp, SIZE_T msgsz,
3135 COMMON_INTERCEPTOR_ENTER(ctx, msgsnd, msqid, msgp, msgsz, msgflg);
3136 if (msgp)
3137 COMMON_INTERCEPTOR_READ_RANGE(ctx, msgp, sizeof(long) + msgsz);
3138 int res = REAL(msgsnd)(msqid, msgp, msgsz, msgflg);
3142 INTERCEPTOR(SSIZE_T, msgrcv, int msqid, void *msgp, SIZE_T msgsz,
3145 COMMON_INTERCEPTOR_ENTER(ctx, msgrcv, msqid, msgp, msgsz, msgtyp, msgflg);
3146 SSIZE_T len = REAL(msgrcv)(msqid, msgp, msgsz, msgtyp, msgflg);
3148 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, msgp, sizeof(long) + len);
/freebsd-13.1/sys/arm64/linux/
H A Dlinux_systrace_args.c1476 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */ in systrace_args()
1487 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */ in systrace_args()
H A Dlinux_proto.h711 …char msgp_l_[PADL_(struct l_msgbuf *)]; struct l_msgbuf * msgp; char msgp_r_[PADR_(struct l_msgbuf… member
718 …char msgp_l_[PADL_(struct l_msgbuf *)]; struct l_msgbuf * msgp; char msgp_r_[PADR_(struct l_msgbuf… member
/freebsd-13.1/sys/compat/freebsd32/
H A Dfreebsd32_proto.h188 char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)]; member
194 char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)]; member
/freebsd-13.1/sys/arm/linux/
H A Dlinux_systrace_args.c1941 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */ in systrace_args()
1951 uarg[1] = (intptr_t)p->msgp; /* struct l_msgbuf * */ in systrace_args()
H A Dlinux_proto.h912 …char msgp_l_[PADL_(struct l_msgbuf *)]; struct l_msgbuf * msgp; char msgp_r_[PADR_(struct l_msgbuf… member
918 …char msgp_l_[PADL_(struct l_msgbuf *)]; struct l_msgbuf * msgp; char msgp_r_[PADR_(struct l_msgbuf… member
/freebsd-13.1/sys/amd64/linux/
H A 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()
H A Dlinux_proto.h330 …char msgp_l_[PADL_(struct l_msgbuf *)]; struct l_msgbuf * msgp; char msgp_r_[PADR_(struct l_msgbuf… member
336 …char msgp_l_[PADL_(struct l_msgbuf *)]; struct l_msgbuf * msgp; char msgp_r_[PADR_(struct l_msgbuf… member

12