Lines Matching defs:oattr
2228 struct mq_attr *oattr)
2241 oattr->mq_maxmsg = mq->mq_maxmsg;
2242 oattr->mq_msgsize = mq->mq_msgsize;
2243 oattr->mq_curmsgs = mq->mq_curmsgs;
2252 oattr->mq_flags = (O_NONBLOCK & oflag);
2260 struct mq_attr attr, oattr;
2269 &oattr);
2270 if (error == 0 && uap->oattr != NULL) {
2271 bzero(oattr.__reserved, sizeof(oattr.__reserved));
2272 error = copyout(&oattr, uap->oattr, sizeof(oattr));
2799 struct mq_attr attr, oattr;
2810 &oattr);
2811 if (error == 0 && uap->oattr != NULL) {
2812 mq_attr_to32(&oattr, &oattr32);
2814 error = copyout(&oattr32, uap->oattr, sizeof(oattr32));