Searched refs:old (Results 1 – 2 of 2) sorted by relevance
1452 static int do_mq_getsetattr(int mqdes, struct mq_attr *new, struct mq_attr *old) in do_mq_getsetattr() argument1475 if (old) { in do_mq_getsetattr()1476 *old = info->attr; in do_mq_getsetattr()1477 old->mq_flags = f.file->f_flags & O_NONBLOCK; in do_mq_getsetattr()1502 struct mq_attr *new = NULL, *old = NULL; in SYSCALL_DEFINE3() local1510 old = &omqstat; in SYSCALL_DEFINE3()1512 ret = do_mq_getsetattr(mqdes, new, old); in SYSCALL_DEFINE3()1513 if (ret || !old) in SYSCALL_DEFINE3()1516 if (copy_to_user(u_omqstat, old, sizeof(struct mq_attr))) in SYSCALL_DEFINE3()1595 struct mq_attr *new = NULL, *old = NULL; in COMPAT_SYSCALL_DEFINE3() local[all …]
185 struct pid *old = *pos; in ipc_update_pid() local186 if (old != pid) { in ipc_update_pid()188 put_pid(old); in ipc_update_pid()