Home
last modified time | relevance | path

Searched refs:out (Results 1 – 6 of 6) sorted by relevance

/ipc/
Dutil.c553 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()
[all …]
Dmsg.c306 struct msqid_ds out; in copy_msqid_to_user() local
308 memset(&out, 0, sizeof(out)); in copy_msqid_to_user()
310 ipc64_perm_to_ipc_perm(&in->msg_perm, &out.msg_perm); in copy_msqid_to_user()
312 out.msg_stime = in->msg_stime; in copy_msqid_to_user()
313 out.msg_rtime = in->msg_rtime; in copy_msqid_to_user()
314 out.msg_ctime = in->msg_ctime; in copy_msqid_to_user()
317 out.msg_cbytes = USHRT_MAX; in copy_msqid_to_user()
319 out.msg_cbytes = in->msg_cbytes; in copy_msqid_to_user()
320 out.msg_lcbytes = in->msg_cbytes; in copy_msqid_to_user()
323 out.msg_qnum = USHRT_MAX; in copy_msqid_to_user()
[all …]
Dshm.c757 struct shmid_ds out; in copy_shmid_to_user() local
759 memset(&out, 0, sizeof(out)); in copy_shmid_to_user()
760 ipc64_perm_to_ipc_perm(&in->shm_perm, &out.shm_perm); in copy_shmid_to_user()
761 out.shm_segsz = in->shm_segsz; in copy_shmid_to_user()
762 out.shm_atime = in->shm_atime; in copy_shmid_to_user()
763 out.shm_dtime = in->shm_dtime; in copy_shmid_to_user()
764 out.shm_ctime = in->shm_ctime; in copy_shmid_to_user()
765 out.shm_cpid = in->shm_cpid; in copy_shmid_to_user()
766 out.shm_lpid = in->shm_lpid; in copy_shmid_to_user()
767 out.shm_nattch = in->shm_nattch; in copy_shmid_to_user()
[all …]
Dsem.c1183 struct semid_ds out; in copy_semid_to_user() local
1185 memset(&out, 0, sizeof(out)); in copy_semid_to_user()
1187 ipc64_perm_to_ipc_perm(&in->sem_perm, &out.sem_perm); in copy_semid_to_user()
1189 out.sem_otime = in->sem_otime; in copy_semid_to_user()
1190 out.sem_ctime = in->sem_ctime; in copy_semid_to_user()
1191 out.sem_nsems = in->sem_nsems; in copy_semid_to_user()
1193 return copy_to_user(buf, &out, sizeof(out)); in copy_semid_to_user()
1553 copy_semid_from_user(struct semid64_ds *out, void __user *buf, int version) in copy_semid_from_user() argument
1557 if (copy_from_user(out, buf, sizeof(*out))) in copy_semid_from_user()
1567 out->sem_perm.uid = tbuf_old.sem_perm.uid; in copy_semid_from_user()
[all …]
Dutil.h176 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out);
177 void ipc64_perm_to_ipc_perm(struct ipc64_perm *in, struct ipc_perm *out);
178 int ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out);
Dmqueue.c657 goto out; in wq_sleep()
676 out: in wq_sleep()
991 goto out; in do_mq_timedsend()
1077 out: in do_mq_timedsend()
1104 goto out; in do_mq_timedreceive()
1179 out: in do_mq_timedreceive()
1260 goto out; in do_mq_notify()
1283 goto out; in do_mq_notify()
1328 out: in do_mq_notify()