Lines Matching refs:SCARG_P32
64 if ((SCARG(uap, oflag) & O_CREAT) && SCARG_P32(uap, attr) != NULL) { in netbsd32_mq_open()
65 error = copyin(SCARG_P32(uap, attr), &attr32, sizeof(attr32)); in netbsd32_mq_open()
72 return mq_handle_open(l, SCARG_P32(uap, name), SCARG(uap, oflag), in netbsd32_mq_open()
121 return copyout(&a32, SCARG_P32(uap,mqstat), sizeof(a32)); in netbsd32_mq_getattr()
138 error = copyin(SCARG_P32(uap, mqstat), &attr32, sizeof(attr32)); in netbsd32_mq_setattr()
149 if (SCARG_P32(uap, omqstat)) in netbsd32_mq_setattr()
166 if (SCARG_P32(uap, omqstat)) { in netbsd32_mq_setattr()
168 error = copyout(&attr32, SCARG_P32(uap, omqstat), in netbsd32_mq_setattr()
187 if (SCARG_P32(uap, notification)) { in netbsd32_mq_notify()
189 error = copyin(SCARG_P32(uap, notification), &sig32, in netbsd32_mq_notify()
202 if (SCARG_P32(uap, notification)) { in netbsd32_mq_notify()
233 return mq_send1(SCARG(uap, mqdes), SCARG_P32(uap, msg_ptr), in netbsd32_mq_send()
250 error = mq_recv1(SCARG(uap, mqdes), SCARG_P32(uap, msg_ptr), in netbsd32_mq_receive()
251 SCARG(uap, msg_len), SCARG_P32(uap, msg_prio), NULL, &mlen); in netbsd32_mq_receive()
274 if (SCARG_P32(uap, abs_timeout)) { in netbsd32___mq_timedsend50()
275 error = copyin(SCARG_P32(uap, abs_timeout), &ts32, in netbsd32___mq_timedsend50()
285 return mq_send1(SCARG(uap, mqdes), SCARG_P32(uap, msg_ptr), in netbsd32___mq_timedsend50()
306 if (SCARG_P32(uap, abs_timeout)) { in netbsd32___mq_timedreceive50()
307 error = copyin(SCARG_P32(uap, abs_timeout), &ts32, in netbsd32___mq_timedreceive50()
317 error = mq_recv1(SCARG(uap, mqdes), SCARG_P32(uap, msg_ptr), in netbsd32___mq_timedreceive50()
318 SCARG(uap, msg_len), SCARG_P32(uap, msg_prio), tsp, &mlen); in netbsd32___mq_timedreceive50()
344 if (SCARG_P32(uap, abs_timeout)) { in compat_50_netbsd32_mq_timedsend()
345 error = copyin(SCARG_P32(uap, abs_timeout), &ts32, in compat_50_netbsd32_mq_timedsend()
355 return mq_send1(SCARG(uap, mqdes), SCARG_P32(uap, msg_ptr), in compat_50_netbsd32_mq_timedsend()
377 if (SCARG_P32(uap, abs_timeout)) { in compat_50_netbsd32_mq_timedreceive()
378 error = copyin(SCARG_P32(uap, abs_timeout), &ts32, in compat_50_netbsd32_mq_timedreceive()
388 error = mq_recv1(SCARG(uap, mqdes), SCARG_P32(uap, msg_ptr), in compat_50_netbsd32_mq_timedreceive()
389 SCARG(uap, msg_len), SCARG_P32(uap, msg_prio), tsp, &mlen); in compat_50_netbsd32_mq_timedreceive()