Lines Matching defs:old
1452 static int do_mq_getsetattr(int mqdes, struct mq_attr *new, struct mq_attr *old)
1475 if (old) {
1476 *old = info->attr;
1477 old->mq_flags = f.file->f_flags & O_NONBLOCK;
1502 struct mq_attr *new = NULL, *old = NULL;
1510 old = &omqstat;
1512 ret = do_mq_getsetattr(mqdes, new, old);
1513 if (ret || !old)
1516 if (copy_to_user(u_omqstat, old, sizeof(struct mq_attr)))
1595 struct mq_attr *new = NULL, *old = NULL;
1603 old = &omqstat;
1605 ret = do_mq_getsetattr(mqdes, new, old);
1606 if (ret || !old)
1609 if (put_compat_mq_attr(old, u_omqstat))