• Home
  • Raw
  • Download

Lines Matching refs:out

553 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out)  in kernel_to_ipc64_perm()  argument
555 out->key = in->key; in kernel_to_ipc64_perm()
556 out->uid = from_kuid_munged(current_user_ns(), in->uid); in kernel_to_ipc64_perm()
557 out->gid = from_kgid_munged(current_user_ns(), in->gid); in kernel_to_ipc64_perm()
558 out->cuid = from_kuid_munged(current_user_ns(), in->cuid); in kernel_to_ipc64_perm()
559 out->cgid = from_kgid_munged(current_user_ns(), in->cgid); in kernel_to_ipc64_perm()
560 out->mode = in->mode; in kernel_to_ipc64_perm()
561 out->seq = in->seq; in kernel_to_ipc64_perm()
572 void ipc64_perm_to_ipc_perm(struct ipc64_perm *in, struct ipc_perm *out) in ipc64_perm_to_ipc_perm() argument
574 out->key = in->key; in ipc64_perm_to_ipc_perm()
575 SET_UID(out->uid, in->uid); in ipc64_perm_to_ipc_perm()
576 SET_GID(out->gid, in->gid); in ipc64_perm_to_ipc_perm()
577 SET_UID(out->cuid, in->cuid); in ipc64_perm_to_ipc_perm()
578 SET_GID(out->cgid, in->cgid); in ipc64_perm_to_ipc_perm()
579 out->mode = in->mode; in ipc64_perm_to_ipc_perm()
580 out->seq = in->seq; in ipc64_perm_to_ipc_perm()
595 struct kern_ipc_perm *out; in ipc_obtain_object_idr() local
598 out = idr_find(&ids->ipcs_idr, idx); in ipc_obtain_object_idr()
599 if (!out) in ipc_obtain_object_idr()
602 return out; in ipc_obtain_object_idr()
618 struct kern_ipc_perm *out = ipc_obtain_object_idr(ids, id); in ipc_obtain_object_check() local
620 if (IS_ERR(out)) in ipc_obtain_object_check()
621 goto out; in ipc_obtain_object_check()
623 if (ipc_checkid(out, id)) in ipc_obtain_object_check()
625 out: in ipc_obtain_object_check()
626 return out; in ipc_obtain_object_check()
653 int ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out) in ipc_update_perm() argument
660 out->uid = uid; in ipc_update_perm()
661 out->gid = gid; in ipc_update_perm()
662 out->mode = (out->mode & ~S_IRWXUGO) in ipc_update_perm()
769 goto out; in sysvipc_find_ipc()
779 out: in sysvipc_find_ipc()